/FreeRTOS-Plus-TCP-v4.0.0/source/portable/BufferManagement/ |
D | BufferAllocation_2.c | 179 size_t xSize = *pxRequestedSizeBytes; in pucGetNetworkBuffer() local 181 if( xSize < baMINIMAL_BUFFER_SIZE ) in pucGetNetworkBuffer() 185 xSize = baMINIMAL_BUFFER_SIZE; in pucGetNetworkBuffer() 190 if( ( xSize & ( sizeof( size_t ) - 1U ) ) != 0U ) in pucGetNetworkBuffer() 192 xSize = ( xSize | ( sizeof( size_t ) - 1U ) ) + 1U; in pucGetNetworkBuffer() 195 *pxRequestedSizeBytes = xSize; in pucGetNetworkBuffer() 200 pucEthernetBuffer = ( uint8_t * ) pvPortMalloc( xSize + ipBUFFER_PADDING ); in pucGetNetworkBuffer()
|
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/pic32mzef/ |
D | BufferAllocation_2.c | 322 size_t xSize = *pxRequestedSizeBytes; in pucGetNetworkBuffer() local 324 if( xSize < baMINIMAL_BUFFER_SIZE ) in pucGetNetworkBuffer() 328 xSize = baMINIMAL_BUFFER_SIZE; in pucGetNetworkBuffer() 333 if( ( xSize & ( sizeof( size_t ) - 1u ) ) != 0u ) in pucGetNetworkBuffer() 335 xSize = ( xSize | ( sizeof( size_t ) - 1u ) ) + 1u; in pucGetNetworkBuffer() 338 *pxRequestedSizeBytes = xSize; in pucGetNetworkBuffer() 345 pucEthernetBuffer = NetworkBufferAllocate( xSize - sizeof( TCPIP_MAC_ETHERNET_HEADER ) ); in pucGetNetworkBuffer() 347 pucEthernetBuffer = ( uint8_t * ) pvPortMalloc( xSize + ipBUFFER_PADDING ); in pucGetNetworkBuffer()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/ConfigFiles/ |
D | IPTraceMacroDefaults.h | 172 #define pvPortMallocSocket( xSize ) pvPortMalloc( ( xSize ) ) argument
|
/FreeRTOS-Plus-TCP-v4.0.0/source/include/ |
D | IPTraceMacroDefaults.h | 234 #define pvPortMallocSocket( xSize ) pvPortMalloc( ( xSize ) ) argument
|
D | FreeRTOS_TCP_WIN.h | 108 … TCPWinSize_t xSize; /**< The TCP window sizes of the incoming and outgoing streams. */ member
|
/FreeRTOS-Plus-TCP-v4.0.0/source/ |
D | FreeRTOS_TCP_WIN.c | 811 pxWindow->xSize.ulRxWindowLength = ulRxWindowLength; in vTCPWindowCreate() 812 pxWindow->xSize.ulTxWindowLength = ulTxWindowLength; in vTCPWindowCreate() 845 … pxWindow->xSize.ulRxWindowLength = ( pxWindow->xSize.ulRxWindowLength / ulMSS ) * ulMSS; in vTCPWindowInit() 1568 ( pxWindow->xSize.ulTxWindowLength < in prvTCPWindowTxHasSpace() 1863 … ( pxWindow->xSize.ulTxWindowLength > ( 2U * ( ( uint32_t ) pxWindow->usMSS ) ) ) ) in ulTCPWindowTxGet() 1869 ( unsigned ) pxWindow->xSize.ulTxWindowLength, in ulTCPWindowTxGet() 1871 pxWindow->xSize.ulTxWindowLength = usMSS2; in ulTCPWindowTxGet()
|
D | FreeRTOS_TCP_Reception.c | 300 …pxTCPWindow->xSize.ulRxWindowLength = ( ( uint32_t ) uxNewMSS ) * ( pxTCPWindow->xSize.ulRxWindowL… in prvSingleStepTCPHeaderOptions()
|
D | FreeRTOS_TCP_IP_IPv4.c | 241 … pxSocket->u.xTCP.xTCPWindow.xSize.ulRxWindowLength ) != pdFALSE ) ) in xProcessReceivedTCPPacket_IPV4()
|
D | FreeRTOS_TCP_IP_IPv6.c | 234 … pxSocket->u.xTCP.xTCPWindow.xSize.ulRxWindowLength ) != pdFALSE ) ) in xProcessReceivedTCPPacket_IPV6()
|
D | FreeRTOS_TCP_Transmission.c | 331 ulSpace = FreeRTOS_min_uint32( pxTCPWindow->xSize.ulRxWindowLength, ulFrontSpace ); in prvTCPReturn_CheckTCPWindow()
|
D | FreeRTOS_Sockets.c | 2529 … pxTCP->xTCPWindow.xSize.ulRxWindowLength = ( uint32_t ) ( pxTCP->uxRxWinSize * pxTCP->usMSS ); in prvSetOptionTCPWindows() 2530 … pxTCP->xTCPWindow.xSize.ulTxWindowLength = ( uint32_t ) ( pxTCP->uxTxWinSize * pxTCP->usMSS ); in prvSetOptionTCPWindows()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Transmission/ |
D | FreeRTOS_TCP_Transmission_utest.c | 462 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_Null_Buffer_Null_Rx_Stream_KL() 746 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_No_KL() 797 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_No_KL_LocalIP() 855 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_No_KL_LocalIP_GT_Eth_Packet_Length() 905 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_No_KL_LocalIP_ARP_Not_Hit() 958 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_No_KL_Fin_Suppress_Rx_Stop() 1006 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_No_KL_Fin_Not_Suppress_Low_Water() 1054 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvTCPReturnPacket_No_KL_Fin_Not_Suppress_Big_Win() 2067 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvSendData_AckMsg_Not_Null_Small_Length() 2120 pxTCPWindow->xSize.ulRxWindowLength = 500; in test_prvSendData_AckMsg_Not_Null_Same_NetBuffer_Syn_State() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/ |
D | FreeRTOS_Sockets_GenericAPI_utest.c | 1893 …ptionValue.lRxWinSize * xSocket.u.xTCP.usMSS ), xSocket.u.xTCP.xTCPWindow.xSize.ulRxWindowLength ); in test_FreeRTOS_setsockopt_WinPropsTCPWinInit() 1894 …ptionValue.lTxWinSize * xSocket.u.xTCP.usMSS ), xSocket.u.xTCP.xTCPWindow.xSize.ulTxWindowLength ); in test_FreeRTOS_setsockopt_WinPropsTCPWinInit() 3581 const size_t xSize = 16; in test_FreeRTOS_inet_ntop_IPv4() local 3582 char cDestination[ xSize ]; in test_FreeRTOS_inet_ntop_IPv4() 3587 FreeRTOS_inet_ntop4_ExpectAndReturn( &ulIPAddress, cDestination, xSize, cDestination ); in test_FreeRTOS_inet_ntop_IPv4() 3589 pcReturn = FreeRTOS_inet_ntop( xAddressFamily, &ulIPAddress, cDestination, xSize ); in test_FreeRTOS_inet_ntop_IPv4() 3602 const size_t xSize = 16; in test_FreeRTOS_inet_ntop_IPv6() local 3603 char cDestination[ xSize ]; in test_FreeRTOS_inet_ntop_IPv6() 3608 FreeRTOS_inet_ntop6_ExpectAndReturn( pxIPAddress, cDestination, xSize, cDestination ); in test_FreeRTOS_inet_ntop_IPv6() 3610 pcReturn = FreeRTOS_inet_ntop( xAddressFamily, pxIPAddress, cDestination, xSize ); in test_FreeRTOS_inet_ntop_IPv6() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_WIN/ |
D | FreeRTOS_TCP_WIN_utest.c | 330 TEST_ASSERT_EQUAL( ulRxWindowLength, xWindow.xSize.ulRxWindowLength ); in test_vTCPWindowCreate_null_tcpSegment() 331 TEST_ASSERT_EQUAL( ulTxWindowLength, xWindow.xSize.ulTxWindowLength ); in test_vTCPWindowCreate_null_tcpSegment() 1709 xWindow.xSize.ulTxWindowLength = ( ( xWindow.tx.ulHighestSequenceNumber - in test_ulTCPWindowTxGet_empty_wait_queue_2() 1753 xWindow.xSize.ulTxWindowLength = ( ( xWindow.tx.ulHighestSequenceNumber - in test_ulTCPWindowTxGet_empty_wait_queue_3() 2054 xWindow.xSize.ulTxWindowLength = ( xWindow.usMSS * 2 ) + 10; in test_ulTCPWindowTxGet_segment_not_null_2() 2110 xWindow.xSize.ulTxWindowLength = ( xWindow.usMSS * 2 ) - 10; in test_ulTCPWindowTxGet_segment_not_null_3() 2165 xWindow.xSize.ulTxWindowLength = ( xWindow.usMSS * 2 ) - 10; in test_ulTCPWindowTxGet_segment_not_null_4()
|