Virtuozzo Virtualization SDK C API Reference
|
Sets an adapter firewall default policy.
PRL_RESULT PrlVmDevNet_SetFirewallDefaultPolicy( PRL_HANDLE hVmDev, PRL_FIREWALL_DIRECTION nDirection, PRL_FIREWALL_POLICY nPolicy );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
Policy values are defined in the PRL_FIREWALL_POLICY enumeration.