TCPIP_MODULE_SIGNAL_FUNC Type

C

typedef void (* TCPIP_MODULE_SIGNAL_FUNC)(TCPIP_MODULE_SIGNAL_HANDLE sigHandle, TCPIP_STACK_MODULE moduleId, TCPIP_MODULE_SIGNAL signal, uintptr_t signalParam);

Description

TCPIP module signal function.

Pointer to a function that will be called from within the TCP/IP stack when a signal is delivered to a stack module.

Preconditions

None.

Parameters

ParametersDescription
sigHandleSignal handle obtained from a registration call.
moduleIdModule that receives the signal.
signalThe occurring signal.

Returns

None.

Remarks

This function should be kept as short as possible and it should not include blocking or polling code. It is for setting flags/signaling purposes only.