Extended TX macros

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.8
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 1136 of file pktdescr.h.

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

Definition at line 1144 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 1152 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 1160 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 1168 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 1176 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 1184 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 1192 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 1200 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 1208 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 1216 of file pktdescr.h.