1.2.5.2.37 TCPIP_MAC_PKT_AckF Type

C

typedef void (* TCPIP_MAC_PKT_AckF)(TCPIP_MAC_PACKET* pPkt, TCPIP_MAC_PKT_ACK_RES ackRes, int moduleId);

Description

Packet Acknowledgment Function: typedef void (*TCPIP_MAC_PKT_AckF)(TCPIP_MAC_PACKET* pPkt, TCPIP_MAC_PKT_ACK_RES ackRes, int moduleId);

This function is used by the MAC to acknowledge a TCPIP_MAC_PACKET packet when the packet processing is completed.

Parameters

ParametersDescription
pPktPointer to a valid TCPIP_MAC_PACKET packet.
ackResThe result of the packet processing.
moduleIdThe ID of the module calling the acknowledge function.

Returns

None.

Remarks

A TCPIP_MAC_PACKET packet always has an acknowledgment function. This function should clear the TCPIP_MAC_PKT_FLAG_QUEUED flag. The packet's ackRes is updated only if the parameter ackRes != TCPIP_MAC_PKT_ACK_NONE.