Virtuozzo Virtualization SDK C API Reference
|
Sets the firewall rule entries list.
PRL_RESULT PrlVmDevNet_SetFirewallRuleList( PRL_HANDLE hVmDev, PRL_FIREWALL_DIRECTION nDirection, PRL_HANDLE hRuleList );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_OUT_OF_MEMORY - not enough memory to create a port forward entry object.
PRL_ERR_SUCCESS - function completed successfully.