NT_NET_GET_PKT_IS_UDP

Reference Documentation

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

Indicates if the received frame is a UDP frame.

Parameters

[in] _hNetBuf_

Packet container reference

Returns

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

Definition at line 305 of file pktdescr.h.