NT_NET_GET_SEGMENT_PKTS

Reference Documentation

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

Returns the number of packets in a segment.

This macro is only supported on NT4GA adapters configured to static segment size emulation mode. On NT4GA adapters configured to dynamic segment size this macro will always return 0.

Parameters

[in] _hNetBuf_

Segment container reference

Definition at line 1182 of file stream_net.h.