Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgGetMACHeaderSize

 Previous Next

Returns the MAC header size.

Syntax:

DWORD __stdcall AdpCfgGetMACHeaderSize(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds the return value will be the MAC header size.

Description:

Use AdpCfgGetMACHeaderSize to obtain the MAC header size in bytes. This value is equal to the data offset in the MAC packet, and may be useful in the received packets analysis.

See also:HNAdapterConfig