1.2.5.2.36 TCPIP_MAC_PKT_ACK_RES Enumeration

C

typedef enum {
TCPIP_MAC_PKT_ACK_NONE = 0,
TCPIP_MAC_PKT_ACK_TX_OK = 1,
TCPIP_MAC_PKT_ACK_RX_OK = 2,
TCPIP_MAC_PKT_ACK_LINK_DOWN = -1,
TCPIP_MAC_PKT_ACK_NET_DOWN = -2,
TCPIP_MAC_PKT_ACK_BUFFER_ERR = -3,
TCPIP_MAC_PKT_ACK_ARP_TMO = -4,
TCPIP_MAC_PKT_ACK_ARP_NET_ERR = -5,
TCPIP_MAC_PKT_ACK_MAC_REJECT_ERR = -6,
TCPIP_MAC_PKT_ACK_CHKSUM_ERR = -10,
TCPIP_MAC_PKT_ACK_SOURCE_ERR = -11,
TCPIP_MAC_PKT_ACK_DEST_ERR = -12,
TCPIP_MAC_PKT_ACK_TYPE_ERR = -13,
TCPIP_MAC_PKT_ACK_STRUCT_ERR = -14,
TCPIP_MAC_PKT_ACK_PROTO_DEST_ERR = -15,
TCPIP_MAC_PKT_ACK_FRAGMENT_ERR = -16,
TCPIP_MAC_PKT_ACK_PROTO_DEST_CLOSE = -17,
TCPIP_MAC_PKT_ACK_ALLOC_ERR = -18,
TCPIP_MAC_PKT_ACK_IP_REJECT_ERR = -19,
TCPIP_MAC_PKT_ACK_EXTERN = -20,
TCPIP_MAC_PKT_ACK_BRIDGE_DONE = -21,
TCPIP_MAC_PKT_ACK_BRIDGE_DISCARD = -22
} TCPIP_MAC_PKT_ACK_RES;

Description

MAC Packet Acknowledge Result.

This enumeration contains the list of MAC codes used for a packet acknowledgment.

Members

MembersDescription
TCPIP_MAC_PKT_ACK_NONE = 0Packet result unknown, unspecified.
TCPIP_MAC_PKT_ACK_TX_OK = 1TX success code - packet was transmitted successfully.
TCPIP_MAC_PKT_ACK_RX_OK = 2RX success code - packet was received/processed successfully.
TCPIP_MAC_PKT_ACK_LINK_DOWN = -1TX:packet was dropped because the link was down.
TCPIP_MAC_PKT_ACK_NET_DOWN = -2TX:packet was dropped because the network is down.
TCPIP_MAC_PKT_ACK_BUFFER_ERR = -3TX:packet was dropped because the buffer type is not supported.
TCPIP_MAC_PKT_ACK_ARP_TMO = -4TX:packet was dropped because of an ARP timeout.
TCPIP_MAC_PKT_ACK_ARP_NET_ERR = -5TX:packet associated interface is down or non existent.
TCPIP_MAC_PKT_ACK_MAC_REJECT_ERR = -6TX:packet rejected by MAC.
TCPIP_MAC_PKT_ACK_CHKSUM_ERR = -10RX: packet was dropped because the checksum was incorrect.
TCPIP_MAC_PKT_ACK_SOURCE_ERR = -11RX: packet was dropped because of wrong interface source address.
TCPIP_MAC_PKT_ACK_DEST_ERR = -12RX: packet was dropped because of wrong destination address.
TCPIP_MAC_PKT_ACK_TYPE_ERR = -13RX: packet was dropped because the type was unknown.
TCPIP_MAC_PKT_ACK_STRUCT_ERR = -14RX: internal packet structure error.
TCPIP_MAC_PKT_ACK_PROTO_DEST_ERR = -15RX: the packet protocol couldn't find a destination for it.
TCPIP_MAC_PKT_ACK_FRAGMENT_ERR = -16RX: the packet too fragmented.
TCPIP_MAC_PKT_ACK_PROTO_DEST_CLOSE = -17RX: the packet destination is closing.
TCPIP_MAC_PKT_ACK_ALLOC_ERR = -18RX: memory allocation error.
TCPIP_MAC_PKT_ACK_IP_REJECT_ERR = -19RX/TX: Packet was rejected by the IP layer.
TCPIP_MAC_PKT_ACK_EXTERN = -20RX: packet was dropped because it was processed externally.
TCPIP_MAC_PKT_ACK_BRIDGE_DONE = -21RX: packet was directly processed successfuly by the bridge.
TCPIP_MAC_PKT_ACK_BRIDGE_DISCARD = -22RX: packet was dropped by the bridge.

Remarks

16 bits only acknowledge results are supported. Positive codes indicate success. Negative codes indicate a failure of some sort.