Home
last modified time | relevance | path

Searched refs:usTimeout (Results 1 – 9 of 9) sorted by relevance

/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_TCP_IP/
DFreeRTOS_TCP_IP_utest.c268 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1()
299 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull_BufferFreed()
315 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout()
327 TEST_ASSERT_EQUAL( 100U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout()
344 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout_NoLogPort()
360 TEST_ASSERT_EQUAL( 100U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout_NoLogPort()
379 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateCLOSED_TxStreamNonNull1_NonZeroTimeout()
390 TEST_ASSERT_EQUAL( 100U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateCLOSED_TxStreamNonNull1_NonZeroTimeout()
408 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateeCONNECT_SYN_TxStreamNonNull_UserShutdown()
422 TEST_ASSERT_EQUAL( 500U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateeCONNECT_SYN_TxStreamNonNull_UserShutdown()
[all …]
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_TCP_IP_DiffConfig/
DFreeRTOS_TCP_IP_DiffConfig_utest.c116 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1()
135 xSocket.u.xTCP.usTimeout = 100; in test_vTCPStateChange_ClosedToEstablishedState_SelectWrite_QueuedBitSet()
/FreeRTOS-Plus-TCP-v3.1.0/source/
DFreeRTOS_TCP_IP.c444 pxSocket->u.xTCP.usTimeout = 0U; in vTCPStateChange()
563 pxSocket->u.xTCP.usTimeout = ( uint16_t ) ipMS_TO_MIN_TICKS( ulDelayMs ); in prvTCPNextTimeout()
565 else if( pxSocket->u.xTCP.usTimeout == 0U ) in prvTCPNextTimeout()
586 …pxSocket->u.xTCP.usTimeout = ( uint16_t ) ipMS_TO_MIN_TICKS( ulDelayMs ); /* LCOV_EXCL_BR_LINE ulD… in prvTCPNextTimeout()
595 return ( TickType_t ) pxSocket->u.xTCP.usTimeout; in prvTCPNextTimeout()
DFreeRTOS_Sockets.c2124 pxSocket->u.xTCP.usTimeout = 1U; /* to set/clear bSendFullSize */ in FreeRTOS_setsockopt()
2148 pxSocket->u.xTCP.usTimeout = 1U; /* to set/clear bRxStopped */ in FreeRTOS_setsockopt()
3056 pxSocket->u.xTCP.usTimeout = 1U; in prvTCPConnectStart()
3510 pxSocket->u.xTCP.usTimeout = 1U; /* because bLowWater is cleared. */ in FreeRTOS_recv()
3743 pxSocket->u.xTCP.usTimeout = 1U; in FreeRTOS_send()
3952 pxSocket->u.xTCP.usTimeout = 1U; in FreeRTOS_shutdown()
4011 if( pxSocket->u.xTCP.usTimeout == 0U ) in xTCPTimerCheck()
4016 if( xDelta < ( TickType_t ) pxSocket->u.xTCP.usTimeout ) in xTCPTimerCheck()
4018 …pxSocket->u.xTCP.usTimeout = ( uint16_t ) ( ( ( TickType_t ) pxSocket->u.xTCP.usTimeout ) - xDelta… in xTCPTimerCheck()
4024 pxSocket->u.xTCP.usTimeout = 0U; in xTCPTimerCheck()
[all …]
DFreeRTOS_TCP_Transmission.c1124 pxSocket->u.xTCP.usTimeout = ( ( uint16_t ) pdMS_TO_TICKS( 2500U ) ); in prvTCPPrepareSend()
1358 pxSocket->u.xTCP.usTimeout = ( uint16_t ) tcpDELAYED_ACK_SHORT_DELAY_MS; in prvSendData()
1365 … pxSocket->u.xTCP.usTimeout = ( uint16_t ) pdMS_TO_TICKS( tcpDELAYED_ACK_LONGER_DELAY_MS ); in prvSendData()
1367 … if( pxSocket->u.xTCP.usTimeout < 1U ) /* LCOV_EXCL_BR_LINE, the second branch will never be hit */ in prvSendData()
1369 … pxSocket->u.xTCP.usTimeout = 1U; /* LCOV_EXCL_LINE, this line will not be reached */ in prvSendData()
1381 pxSocket->u.xTCP.usTimeout, in prvSendData()
/FreeRTOS-Plus-TCP-v3.1.0/test/unit-test/FreeRTOS_Sockets/
DFreeRTOS_Sockets_privates_utest.c2277 xSocket.u.xTCP.usTimeout = 10; in test_xTCPTimerCheck_NonEmptyList_SocketCheckError()
2306 xSocket.u.xTCP.usTimeout = 10; in test_xTCPTimerCheck_NonEmptyList_NoError()
2336 xSocket.u.xTCP.usTimeout = 10; in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout()
2353 TEST_ASSERT_EQUAL( 9, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout()
2369 xSocket.u.xTCP.usTimeout = 1008; in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout1()
2386 TEST_ASSERT_EQUAL( 1007, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout1()
2402 xSocket.u.xTCP.usTimeout = 1008; in test_xTCPTimerCheck_EventBitsNonZeroWontSleep()
2420 TEST_ASSERT_EQUAL( 1007, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_EventBitsNonZeroWontSleep()
2436 xSocket.u.xTCP.usTimeout = 1008; in test_xTCPTimerCheck_EventBitsNonZeroWillSleep()
2454 TEST_ASSERT_EQUAL( 1007, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_EventBitsNonZeroWillSleep()
[all …]
DFreeRTOS_Sockets_GenericAPI_utest.c2124 TEST_ASSERT_EQUAL( 0, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_SetFullSize_Reset_StateIncorrect()
2149 TEST_ASSERT_EQUAL( 0, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_SetFullSize_Reset_StateCorrect()
2178 TEST_ASSERT_EQUAL( 1, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_SetFullSize_Reset_HappyPath()
2201 TEST_ASSERT_EQUAL( 0, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_StopRx_InvalidProtocol()
2227 TEST_ASSERT_EQUAL( 1, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_StopRx_Set()
2254 TEST_ASSERT_EQUAL( 1, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_StopRx_Reset()
DFreeRTOS_Sockets_TCP_API_utest.c625 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_recv_LowWaterReached()
1355 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_shutdown_Success()
/FreeRTOS-Plus-TCP-v3.1.0/source/include/
DFreeRTOS_IP_Private.h574 … uint16_t usTimeout; /**< Time (in ticks) after which this socket needs attention */ member