Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlNetworkShapingEntry_SetRateMPU Function
PHT_NETWORK_SHAPING

Allows to enable and disable packet rate limiting by setting MPU.

Syntax
PRL_RESULT PrlNetworkShapingEntry_SetRateMPU(
    PRL_HANDLE pNetworkShapingEntry, 
    PRL_INT32 nRateMPU
);
File

PrlApiNet.h

Parameters

nRateMPU
An integer value indicating packet MPU. Packets with size lower than MPU will be threated as those of size MPU. May be a number lower than MTU or one of the special values: NRM_DISABLED or NRM_ENABLED (for default value).
hNetworkShapingEntry
A handle of type PHT_NERWORK_SHAPING identifying the shaping entry.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.