1.2.5.2.51 TCPIP_MAC_SEGMENT_FLAGS Enumeration

C

typedef enum {
TCPIP_MAC_SEG_FLAG_STATIC = 0x0001,
TCPIP_MAC_SEG_FLAG_TX = 0x0002,
TCPIP_MAC_SEG_FLAG_RX_STICKY = 0x0004,
TCPIP_MAC_SEG_FLAG_USER_PAYLOAD = 0x0008,
TCPIP_MAC_SEG_FLAG_ACK_REQUIRED = 0x0010,
TCPIP_MAC_SEG_FLAG_USER = 0x0100
} TCPIP_MAC_SEGMENT_FLAGS;

Description

MAC Segment Flags.

This enumeration contains the definitions of MAC segment flags: segment allocation flags and general purpose flags.

Parameters

ParametersDescription
TCPIP_MAC_SEG_FLAG_STATIC = 0x0001Segment can not be dynamically deallocated. Set when the segment is allocated.
TCPIP_MAC_SEG_FLAG_TX = 0x0002If set, it's a TX segment; otherwise, is a RX packet.
TCPIP_MAC_SEG_FLAG_RX_STICKY = 0x0004A MAC RX dedicated/sticky segment; otherwise, a non-dedicated/float segment.
TCPIP_MAC_SEG_FLAG_USER_PAYLOAD = 0x0008Segment carrying user payload Higher level protocols (TCP, UDP, etc.) may use it.
TCPIP_MAC_SEG_FLAG_ACK_REQUIRED = 0x0010Ack is required and has not been performed.
TCPIP_MAC_SEG_FLAG_USER = 0x0100User available segment flags.

Remarks

16 bits only segment flags are supported.