Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlVmDevNet_SetPktFilterPreventPromisc Function
PHT_VIRTUAL_DEV_NET_ADAPTER

Allows to specify whether a network adapter in a virtual machine should receive packets sent not to VM.

Syntax
PRL_RESULT PrlVmDevNet_SetPktFilterPreventPromisc(
    PRL_HANDLE hVmDev, 
    PRL_BOOL bPktFilterPreventPromisc
);
File

PrlApiVm.h

Parameters

hVmDev
A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter.
bPktFilterPreventPromisc
Specify PRL_TRUE to prevent VM to receive packets that were sent not to VM. 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-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!