NT_NET_GET_PKT_L4_LENGTH

Reference Documentation

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

Get layer 4 header length (valid for L4 = UDP/TCP only)

Parameters

[in] _hNetBuf_

Packet container reference

Returns

Returns layer 4 header length in units of 32 bits

Definition at line 474 of file pktdescr.h.