Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_IP/
DFreeRTOS_TCP_IP_utest.c293 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1()
330 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull_BufferFreed()
348 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout()
362 TEST_ASSERT_EQUAL( 100U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout()
381 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout_NoLogPort()
399 TEST_ASSERT_EQUAL( 100U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1_NonZeroTimeout_NoLogPort()
420 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateCLOSED_TxStreamNonNull1_NonZeroTimeout()
431 TEST_ASSERT_EQUAL( 100U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateCLOSED_TxStreamNonNull1_NonZeroTimeout()
451 xSocket.u.xTCP.usTimeout = 100; in test_xTCPSocketCheck_StateeCONNECT_SYN_TxStreamNonNull_UserShutdown()
465 TEST_ASSERT_EQUAL( 500U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateeCONNECT_SYN_TxStreamNonNull_UserShutdown()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_TCP_IP.c429 pxSocket->u.xTCP.usTimeout = 0U; in vTCPStateChange()
593 pxSocket->u.xTCP.usTimeout = ( uint16_t ) ipMS_TO_MIN_TICKS( ulDelayMs ); in prvTCPNextTimeout()
595 else if( pxSocket->u.xTCP.usTimeout == 0U ) in prvTCPNextTimeout()
616 …pxSocket->u.xTCP.usTimeout = ( uint16_t ) ipMS_TO_MIN_TICKS( ulDelayMs ); /* LCOV_EXCL_BR_LINE ulD… in prvTCPNextTimeout()
625 return ( TickType_t ) pxSocket->u.xTCP.usTimeout; in prvTCPNextTimeout()
DFreeRTOS_TCP_Transmission.c982 pxSocket->u.xTCP.usTimeout = ( ( uint16_t ) pdMS_TO_TICKS( 2500U ) ); in prvTCPPrepareSend()
1217 pxSocket->u.xTCP.usTimeout = ( uint16_t ) tcpDELAYED_ACK_SHORT_DELAY_MS; in prvSendData()
1224 … pxSocket->u.xTCP.usTimeout = ( uint16_t ) pdMS_TO_TICKS( tcpDELAYED_ACK_LONGER_DELAY_MS ); in prvSendData()
1226 … if( pxSocket->u.xTCP.usTimeout < 1U ) /* LCOV_EXCL_BR_LINE, the second branch will never be hit */ in prvSendData()
1228 … pxSocket->u.xTCP.usTimeout = 1U; /* LCOV_EXCL_LINE, this line will not be reached */ in prvSendData()
1240 pxSocket->u.xTCP.usTimeout, in prvSendData()
DFreeRTOS_Sockets.c2612 pxSocket->u.xTCP.usTimeout = 1U; in prvSetOptionSetFullSize()
2651 pxSocket->u.xTCP.usTimeout = 1U; /* to set/clear bRxStopped */ in prvSetOptionStopRX()
3732 pxSocket->u.xTCP.usTimeout = 1U; in prvTCPConnectStart()
4099 pxSocket->u.xTCP.usTimeout = 1U; /* because bLowWater is cleared. */ in prvRecvData()
4487 pxSocket->u.xTCP.usTimeout = 1U; in prvTCPSendLoop()
4743 pxSocket->u.xTCP.usTimeout = 1U; in FreeRTOS_shutdown()
4802 if( pxSocket->u.xTCP.usTimeout == 0U ) in xTCPTimerCheck()
4807 if( xDelta < ( TickType_t ) pxSocket->u.xTCP.usTimeout ) in xTCPTimerCheck()
4809 …pxSocket->u.xTCP.usTimeout = ( uint16_t ) ( ( ( TickType_t ) pxSocket->u.xTCP.usTimeout ) - xDelta… in xTCPTimerCheck()
4815 pxSocket->u.xTCP.usTimeout = 0U; in xTCPTimerCheck()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_IP_DiffConfig/
DFreeRTOS_TCP_IP_DiffConfig_utest.c117 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_xTCPSocketCheck_StateEstablished_TxStreamNonNull1()
136 xSocket.u.xTCP.usTimeout = 100; in test_vTCPStateChange_ClosedToEstablishedState_SelectWrite_QueuedBitSet()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/
DFreeRTOS_Sockets_privates_utest.c2396 xSocket.u.xTCP.usTimeout = 10; in test_xTCPTimerCheck_NonEmptyList_SocketCheckError()
2425 xSocket.u.xTCP.usTimeout = 10; in test_xTCPTimerCheck_NonEmptyList_NoError()
2455 xSocket.u.xTCP.usTimeout = 10; in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout()
2472 TEST_ASSERT_EQUAL( 9, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout()
2488 xSocket.u.xTCP.usTimeout = 1008; in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout1()
2505 TEST_ASSERT_EQUAL( 1007, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_NonEmptyList_DeltaLessThanTimeout1()
2521 xSocket.u.xTCP.usTimeout = 1008; in test_xTCPTimerCheck_EventBitsNonZeroWontSleep()
2539 TEST_ASSERT_EQUAL( 1007, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_EventBitsNonZeroWontSleep()
2555 xSocket.u.xTCP.usTimeout = 1008; in test_xTCPTimerCheck_EventBitsNonZeroWillSleep()
2573 TEST_ASSERT_EQUAL( 1007, xSocket.u.xTCP.usTimeout ); in test_xTCPTimerCheck_EventBitsNonZeroWillSleep()
[all …]
DFreeRTOS_Sockets_GenericAPI_utest.c2095 TEST_ASSERT_EQUAL( 0, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_SetFullSize_Reset_StateIncorrect()
2120 TEST_ASSERT_EQUAL( 0, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_SetFullSize_Reset_StateCorrect()
2149 TEST_ASSERT_EQUAL( 1, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_SetFullSize_Reset_HappyPath()
2172 TEST_ASSERT_EQUAL( 0, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_StopRx_InvalidProtocol()
2198 TEST_ASSERT_EQUAL( 1, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_StopRx_Set()
2225 TEST_ASSERT_EQUAL( 1, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_setsockopt_StopRx_Reset()
DFreeRTOS_Sockets_TCP_API_utest.c630 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_recv_LowWaterReached()
1490 TEST_ASSERT_EQUAL( 1U, xSocket.u.xTCP.usTimeout ); in test_FreeRTOS_shutdown_Success()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
DFreeRTOS_IP_Private.h592 … uint16_t usTimeout; /**< Time (in ticks) after which this socket needs attention */ member