NT_NET_GET_PKT_IS_IP

Reference Documentation

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

Indicates if the received frame is an IP frame.

Parameters

[in] _hNetBuf_

Packet container reference

Returns

Returns 1 if the packet has an IP header - returns 0 if the packet does not have an IP header

Definition at line 313 of file pktdescr.h.