Collapse All
Parallels C API Reference Guide
PrlVmDevNet_SetPktFilterPreventIpSpoof Function
PrlApi.h PHT_VIRTUAL_DEV_NET_ADAPTER

Allows to specify whether a network adapter in a virtual machine should perform the filtration by IP addresses.

Syntax
PRL_RESULT PrlVmDevNet_SetPktFilterPreventIpSpoof(
    PRL_HANDLE hVmDev, 
    PRL_BOOL bPktFilterPreventIpSpoof
);
File
Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
bPktFilterPreventMacSpoof
Specify PRL_TRUE to send packages only from addresses in the adapter NetAdrresses list. Specify PRL_FALSE to switch off filtration.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!