Extended TX macros

Reference Documentation

product_line_custom
Intel® PAC
Napatech SmartNIC
category
Reference Information
Napatech Software Suite: Extended TX macros

Detailed Description

The following can only be used if the TX buffer has an extended NT descriptor

Macros

#define NT_NET_SET_PKT_INJECT_TIMESTAMP_EXT(_hNetBuf_, _offset_)   _NT_NET_SET_PKT_INJECT_TIMESTAMP_EXT(_hNetBuf_, _offset_)
 
#define NT_NET_SET_PKT_ISL_EXT(_hNetBuf_, _bval_)    _NT_NET_SET_PKT_ISL_EXT(_hNetBuf_, _bval_)
 
#define NT_NET_SET_PKT_VLAN_COUNT_EXT(_hNetBuf_, _count_)    _NT_NET_SET_PKT_VLAN_COUNT_EXT(_hNetBuf_, _count_)
 
#define NT_NET_SET_PKT_MPLS_COUNT_EXT(_hNetBuf_, _count_)    _NT_NET_SET_PKT_MPLS_COUNT_EXT(_hNetBuf_, _count_)
 
#define NT_NET_SET_PKT_L2_FRAME_TYPE_EXT(_hNetBuf_, _type_)    _NT_NET_SET_PKT_L2_FRAME_TYPE_EXT(_hNetBuf_, _type_)
 
#define NT_NET_SET_PKT_L3_FRAME_TYPE_EXT(_hNetBuf_, _type_)    _NT_NET_SET_PKT_L3_FRAME_TYPE_EXT(_hNetBuf_, _type_)
 
#define NT_NET_SET_PKT_L4_FRAME_TYPE_EXT(_hNetBuf_, _type_)    _NT_NET_SET_PKT_L4_FRAME_TYPE_EXT(_hNetBuf_, _type_)
 
#define NT_NET_SET_PKT_L3_LENGTH_EXT(_hNetBuf_, _u32len_)    _NT_NET_SET_PKT_L3_LENGTH_EXT(_hNetBuf_, _u32len_)
 
#define NT_NET_SET_PKT_L4_LENGTH_EXT(_hNetBuf_, _u32len_)    _NT_NET_SET_PKT_L4_LENGTH_EXT(_hNetBuf_, _u32len_)
 
#define NT_NET_SET_PKT_CALC_L3_CHECKSUM_EXT(_hNetBuf_, _bval_)    _NT_NET_SET_PKT_CALC_L3_CHECKSUM_EXT(_hNetBuf_, _bval_)
 
#define NT_NET_SET_PKT_CALC_L4_CHECKSUM_EXT(_hNetBuf_, _bval_)    _NT_NET_SET_PKT_CALC_L4_CHECKSUM_EXT(_hNetBuf_, _bval_)
 

Macro Definition Documentation

#define NT_NET_SET_PKT_INJECT_TIMESTAMP_EXT (   _hNetBuf_,
  _offset_ 
)    _NT_NET_SET_PKT_INJECT_TIMESTAMP_EXT(_hNetBuf_, _offset_)

Definition at line 1132 of file pktdescr.h.

#define NT_NET_SET_PKT_ISL_EXT (   _hNetBuf_,
  _bval_ 
)    _NT_NET_SET_PKT_ISL_EXT(_hNetBuf_, _bval_)

Definition at line 1140 of file pktdescr.h.

#define NT_NET_SET_PKT_VLAN_COUNT_EXT (   _hNetBuf_,
  _count_ 
)    _NT_NET_SET_PKT_VLAN_COUNT_EXT(_hNetBuf_, _count_)

Definition at line 1148 of file pktdescr.h.

#define NT_NET_SET_PKT_MPLS_COUNT_EXT (   _hNetBuf_,
  _count_ 
)    _NT_NET_SET_PKT_MPLS_COUNT_EXT(_hNetBuf_, _count_)

Definition at line 1156 of file pktdescr.h.

#define NT_NET_SET_PKT_L2_FRAME_TYPE_EXT (   _hNetBuf_,
  _type_ 
)    _NT_NET_SET_PKT_L2_FRAME_TYPE_EXT(_hNetBuf_, _type_)

Definition at line 1164 of file pktdescr.h.

#define NT_NET_SET_PKT_L3_FRAME_TYPE_EXT (   _hNetBuf_,
  _type_ 
)    _NT_NET_SET_PKT_L3_FRAME_TYPE_EXT(_hNetBuf_, _type_)

Definition at line 1172 of file pktdescr.h.

#define NT_NET_SET_PKT_L4_FRAME_TYPE_EXT (   _hNetBuf_,
  _type_ 
)    _NT_NET_SET_PKT_L4_FRAME_TYPE_EXT(_hNetBuf_, _type_)

Definition at line 1180 of file pktdescr.h.

#define NT_NET_SET_PKT_L3_LENGTH_EXT (   _hNetBuf_,
  _u32len_ 
)    _NT_NET_SET_PKT_L3_LENGTH_EXT(_hNetBuf_, _u32len_)

Definition at line 1188 of file pktdescr.h.

#define NT_NET_SET_PKT_L4_LENGTH_EXT (   _hNetBuf_,
  _u32len_ 
)    _NT_NET_SET_PKT_L4_LENGTH_EXT(_hNetBuf_, _u32len_)

Definition at line 1196 of file pktdescr.h.

#define NT_NET_SET_PKT_CALC_L3_CHECKSUM_EXT (   _hNetBuf_,
  _bval_ 
)    _NT_NET_SET_PKT_CALC_L3_CHECKSUM_EXT(_hNetBuf_, _bval_)

Definition at line 1204 of file pktdescr.h.

#define NT_NET_SET_PKT_CALC_L4_CHECKSUM_EXT (   _hNetBuf_,
  _bval_ 
)    _NT_NET_SET_PKT_CALC_L4_CHECKSUM_EXT(_hNetBuf_, _bval_)

Definition at line 1212 of file pktdescr.h.