NT_NET_GET_PKT_L3_OFFSET

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information
#define NT_NET_GET_PKT_L3_OFFSET ( _hNetBuf_ )

Returns the offset in bytes (0x00 - 0x1FF) from the start of the frame to the start of layer 3. The value 0x00 indicates an invalid offset.

Parameters

[in] _hNetBuf_

Packet container reference

Returns

Returns layer 3 offset as an integer value

Definition at line 676 of file pktdescr.h.