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