Home
last modified time | relevance | path

Searched refs:xGlobalSocket (Results 1 – 6 of 6) sorted by relevance

/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_Sockets/
HDFreeRTOS_Sockets_UDP_API_utest.c81 static FreeRTOS_Socket_t xGlobalSocket; variable
119 xGlobalSocket.u.xTCP.eTCPState = eESTABLISHED; in xStubForEventGroupWaitBits()
409 Socket_t xGlobalSocket = ( Socket_t ) ucSocket; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() local
424 memset( xGlobalSocket, 0, sizeof( FreeRTOS_Socket_t ) ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
429 xGlobalSocket->ucProtocol = FREERTOS_IPPROTO_UDP; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
430 xGlobalSocket->xReceiveBlockTime = 0x123; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
431 …listLIST_ITEM_CONTAINER_ExpectAndReturn( &( xGlobalSocket->xBoundSocketListItem ), ( struct xLIST … in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
433 listCURRENT_LIST_LENGTH_ExpectAndReturn( &( xGlobalSocket->u.xUDP.xWaitingPacketsList ), 0 ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
436 xGlobalSocket->u.xUDP.xWaitingPacketsList.xListEnd.pxNext = &xListItem; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
440 …AndReturn( xGlobalSocket->xEventGroup, ( ( EventBits_t ) eSOCKET_RECEIVE ) | ( ( EventBits_t ) eSO… in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader()
[all …]
HDFreeRTOS_Sockets_GenericAPI_utest.c81 static FreeRTOS_Socket_t xGlobalSocket; variable
119 xGlobalSocket.u.xTCP.eTCPState = eESTABLISHED; in xStubForEventGroupWaitBits()
2784 memset( &xGlobalSocket, 0, sizeof( xGlobalSocket ) ); in test_FreeRTOS_connect_Connected()
2786 xGlobalSocket.ucProtocol = FREERTOS_IPPROTO_TCP; in test_FreeRTOS_connect_Connected()
2788 xGlobalSocket.xReceiveBlockTime = 0x123; in test_FreeRTOS_connect_Connected()
2791 vTCPStateChange_Expect( &xGlobalSocket, eCONNECT_SYN ); in test_FreeRTOS_connect_Connected()
2801 xResult = FreeRTOS_connect( &xGlobalSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_Connected()
HDFreeRTOS_Sockets_TCP_API_utest.c81 static FreeRTOS_Socket_t xGlobalSocket; variable
119 xGlobalSocket.u.xTCP.eTCPState = eESTABLISHED; in xStubForEventGroupWaitBits()
HDFreeRTOS_Sockets_privates_utest.c81 static FreeRTOS_Socket_t xGlobalSocket; variable
119 xGlobalSocket.u.xTCP.eTCPState = eESTABLISHED; in xStubForEventGroupWaitBits()
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_Sockets_DiffConfig1/
HDFreeRTOS_Sockets_DiffConfig1_privates_utest.c80 static FreeRTOS_Socket_t xGlobalSocket; variable
118 xGlobalSocket.u.xTCP.eTCPState = eESTABLISHED; in xStubForEventGroupWaitBits()
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_Sockets_DiffConfig/
HDFreeRTOS_Sockets_DiffConfig_privates_utest.c80 static FreeRTOS_Socket_t xGlobalSocket; variable
118 xGlobalSocket.u.xTCP.eTCPState = eESTABLISHED; in xStubForEventGroupWaitBits()