Extended NT descriptor IPF macros

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.10
Napatech Software Suite: Extended NT descriptor IPF macros

Macros

#define NT_NET_GET_PKT_IPF_UNMATCHED_STREAMID_EXT(_hNetBuf_)
 Stream ID where unmatched fragments are stored. More...
 
#define NT_NET_GET_PKT_IPF_UNMATCHED_FLAG_EXT(_hNetBuf_)
 Indicates if no entry corresponding to the packet was allocated or found in the datagram lookup table. More...
 
#define NT_NET_GET_PKT_IPF_LAST_FRAGMENT_EXT(_hNetBuf_)
 Indicates if the packet is the last fragment of a layer 3 fragmented datagram. (More fragment bit = 0 && offset != 0) More...
 

Detailed Description

The following are used to help collect IP fragmented data. With theses macros it is possible to de-fragment IP fragmented data in a multi-processing application using 5-tuple hashing. It is only available if "PacketDescriptor" in the ntservice.ini file has been set to "Ext8" or "Ext9" and if NT_NET_GET_PKT_DESCRIPTOR_TYPE returns NT_PACKET_DESCRIPTOR_TYPE_NT_EXTENDED

Note
: These macros do not return valid values if the IPF engine is not turned on see IPFMode Command

Macro Definition Documentation

#define NT_NET_GET_PKT_IPF_UNMATCHED_STREAMID_EXT (   _hNetBuf_)

Stream ID where unmatched fragments are stored.

Parameters
[in]_hNetBuf_Packet container reference
Returns
Returns the stream ID where unmatched fragments are stored

Definition at line 992 of file pktdescr.h.

#define NT_NET_GET_PKT_IPF_UNMATCHED_FLAG_EXT (   _hNetBuf_)

Indicates if no entry corresponding to the packet was allocated or found in the datagram lookup table.

Parameters
[in]_hNetBuf_Packet container reference
Returns
Returns 1 if unmatched - Returns 0 otherwise

Definition at line 1001 of file pktdescr.h.

#define NT_NET_GET_PKT_IPF_LAST_FRAGMENT_EXT (   _hNetBuf_)

Indicates if the packet is the last fragment of a layer 3 fragmented datagram. (More fragment bit = 0 && offset != 0)

Parameters
[in]_hNetBuf_Packet container reference
Returns
Returns 1 if last fragment - Returns 0 otherwise

Definition at line 1010 of file pktdescr.h.