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

Determines if the specified network adapter is configured to filter net packages and send packages only from its own MAC address.

Syntax
PRL_RESULT PrlVmDevNet_IsPktFilterPreventMacSpoof(
    PRL_HANDLE hVmDev, 
    PRL_BOOL_PTR pbPktFilterPreventMacSpoof
);
File
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 its own MAC address. 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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!