_nt_net_build_pkt_netbuf

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information
static NT_INLINE void _nt_net_build_pkt_netbuf ( struct NtNetBuf_s * segNetBuf,
    struct NtNetBuf_s * pktNetBuf
  )    

Inline C function to build a packet based NtNetBuf_t from a segment based NtNetBuf_t.

Parameters

[in] segNetBuf

Segment NtNetBuf_t structure

[out] pktNetBuf

Destination packet NtNetBuf_t structure

Definition at line 1276 of file stream_net.h.

Referenced by GetTimeStamp(), and main().