NT_NET_GET_PKT_IS_TCP

Reference Documentation

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

Indicates if the received frame is a TCP frame.

Parameters

[in] _hNetBuf_

Packet container reference

Returns

Returns 1 if the packet has a TCP header - returns 0 if the packet does not have a TCP header

Definition at line 297 of file pktdescr.h.