Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmDevNet_IsPktFilterPreventIpSpoof Function
PHT_VIRTUAL_DEV_NET_ADAPTER

Determines if the specified network adapter is configured to filter net packages and send packages only from IP addresses in the adapter NetAdrresses list.

Syntax
PRL_RESULT PrlVmDevNet_IsPktFilterPreventIpSpoof(
    PRL_HANDLE hVmDev, 
    PRL_BOOL_PTR pbPktFilterPreventIpSpoof
);
File

PrlApiVm.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
pbPktFilterPreventMacSpoof
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that adapter is allowed to send packages only from IP addresses in the adapter NetAdrresses list. PRL_FALSE indicates otherwise.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.