static qUnsignedInt32 GetRequiredMemorySize( const qVector< UnitHeapParam > & param );
Name | Description | |
---|---|---|
in | param | Specifies the structural information for the unit heap for the payload. |
0
if the unit heap structural information is illegal. Returns the size of the required packet buffer pool based on the unit heap structure information for the passed payload.
The returned pool size is the total of the unit heap for the payload that is allocated based on the passed unit heap structural information for the payload and the unit heap for the packet management object that is automatically allocated in NEX.
If the passed unit heap structural information meets the following conditions, it is considered illegal and 0
is returned.
· Unit size is 0 or exceeds 1364
· Unit size is not a multiple of 4
· The number of memory blocks is 0
· The array size is 0
· Unit size does not have 1364 elements
CONFIDENTIAL