1.2.5.2.56 TCPIP_MAC_SynchReqF Type

C

typedef bool (* TCPIP_MAC_SynchReqF)(void* synchHandle, TCPIP_MAC_SYNCH_REQUEST request);

Description

Synchronization request Function: typedef bool (*TCPIP_MAC_SynchReqF)(void* synchHandle, TCPIP_MAC_SYNCH_REQUEST request);

This function describes the MAC synchronization request function. The MAC driver will call this function whenever it needs to create, delete, lock or unlock a synchronization object.

Members

MembersDescription
synchHandle- Pointer to a valid storage area. - For TCPIP_MAC_SYNCH_REQUEST_OBJ_CREATE it is an address that will store a handle to identify the synchronization object to the OS (OSAL). - For other synchronization object request types the handle has to be valid and identify the synchronization object to the OS (OSAL). - For critical sections it maintains OS passed info.
requestA TCPIP_MAC_SYNCH_REQUEST type.

Returns

  • True - If the call is successful.

  • False - If the call failed.

Remarks

None.