Home
last modified time | relevance | path

Searched refs:xLength (Results 1 – 19 of 19) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv4/
HDFreeRTOS_UDP_IPv4_stubs.c49 size_t xLength, in UDPReceiveHandlerChecker() argument
64 …T_EQUAL( pxUDPPacket->xIPHeader.usLength - ipSIZE_OF_IPv4_HEADER - ipSIZE_OF_UDP_HEADER, xLength ); in UDPReceiveHandlerChecker()
69 size_t xLength, in xStubUDPReceiveHandler_Pass() argument
73 UDPReceiveHandlerChecker( xSocket, pData, xLength, pxFrom, pxDest ); in xStubUDPReceiveHandler_Pass()
79 size_t xLength, in xStubUDPReceiveHandler_Fail() argument
83 UDPReceiveHandlerChecker( xSocket, pData, xLength, pxFrom, pxDest ); in xStubUDPReceiveHandler_Fail()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ksz8851snl/
HDNetworkInterface.c833 size_t xLength; in ksz8851snl_update() local
835 xLength = ksz8851_reg_read( REG_RX_FHR_BYTE_CNT ) & RX_BYTE_CNT_MASK; in ksz8851snl_update()
838 if( xLength == 0 ) in ksz8851snl_update()
846 size_t xReadLength = xLength; in ksz8851snl_update()
866 xLength -= 4; in ksz8851snl_update()
867 pxNetworkBuffer->xDataLength = xLength; in ksz8851snl_update()
885 size_t xLength = pxNetworkBuffer->xDataLength; in ksz8851snl_update() local
886 int iIndex = xLength; in ksz8851snl_update()
888 xLength = 4 * ( ( xLength + 3 ) / 4 ); in ksz8851snl_update()
890 while( iIndex < ( int ) xLength ) in ksz8851snl_update()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv6/
HDFreeRTOS_UDP_IPv6_stubs.c55 size_t xLength, in UDPReceiveHandlerChecker() argument
70 TEST_ASSERT_EQUAL( pxUDPv6Packet->xIPHeader.usPayloadLength - ipSIZE_OF_UDP_HEADER, xLength ); in UDPReceiveHandlerChecker()
75 size_t xLength, in xStubUDPReceiveHandler_Pass() argument
79 UDPReceiveHandlerChecker( xSocket, pData, xLength, pxFrom, pxDest ); in xStubUDPReceiveHandler_Pass()
85 size_t xLength, in xStubUDPReceiveHandler_Fail() argument
89 UDPReceiveHandlerChecker( xSocket, pData, xLength, pxFrom, pxDest ); in xStubUDPReceiveHandler_Fail()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_IP/
HDFreeRTOS_TCP_IP_stubs.c66 size_t xLength ) in HandleConnected() argument
69 TEST_ASSERT_EQUAL( xHandleConnectedLength, xLength ); in HandleConnected()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/linux/
HDNetworkInterface.c837 size_t xLength; in prvLinuxPcapSendThread() local
857 while( uxStreamBufferGetSize( xSendBuffer ) > sizeof( xLength ) ) in prvLinuxPcapSendThread()
859 uxStreamBufferGet( xSendBuffer, 0, ( uint8_t * ) &xLength, sizeof( xLength ), pdFALSE ); in prvLinuxPcapSendThread()
860 uxStreamBufferGet( xSendBuffer, 0, ( uint8_t * ) ucBuffer, xLength, pdFALSE ); in prvLinuxPcapSendThread()
861 … FreeRTOS_debug_printf( ( "Sending ========== > data pcap_sendpadcket %lu\n", xLength ) ); in prvLinuxPcapSendThread()
862 print_hex( ucBuffer, xLength ); in prvLinuxPcapSendThread()
864 if( pcap_sendpacket( pxOpenedInterfaceHandle, ucBuffer, ( int ) xLength ) != 0 ) in prvLinuxPcapSendThread()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_State_Handling/
HDFreeRTOS_TCP_State_Handling_stubs.c44 size_t xLength ) in xLocalFunctionPointer() argument
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/WinPCap/
HDNetworkInterface.c712 size_t xLength; in prvWinPcapSendThread() local
730 while( uxStreamBufferGetSize( xSendBuffer ) > sizeof( xLength ) ) in prvWinPcapSendThread()
732 uxStreamBufferGet( xSendBuffer, 0, ( uint8_t * ) &xLength, sizeof( xLength ), pdFALSE ); in prvWinPcapSendThread()
733 uxStreamBufferGet( xSendBuffer, 0, ( uint8_t * ) ucBuffer, xLength, pdFALSE ); in prvWinPcapSendThread()
738 iptraceDUMP_PACKET( ucBuffer, xLength, pdFALSE ); in prvWinPcapSendThread()
740 if( pcap_sendpacket( pxOpenedInterfaceHandle, ucBuffer, xLength ) != 0 ) in prvWinPcapSendThread()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
HDFreeRTOS_Sockets.h426 size_t xLength );
430 size_t xLength );
437 size_t xLength,
443 size_t xLength );
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_IP_DiffConfig/
HDFreeRTOS_TCP_IP_DiffConfig_utest.c82 size_t xLength ) in HandleConnected() argument
85 TEST_ASSERT_EQUAL( xHandleConnectedLength, xLength ); in HandleConnected()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/
HDFreeRTOS_Sockets_stubs.c106 size_t xLength ) in xLocalReceiveCallback() argument
HDFreeRTOS_Sockets_TCP_API_utest.c786 BaseType_t xLength; in test_FreeRTOS_get_tx_head_InvalidParams() local
791 pucReturn = FreeRTOS_get_tx_head( &xSocket, &xLength ); in test_FreeRTOS_get_tx_head_InvalidParams()
795 pucReturn = FreeRTOS_get_tx_head( NULL, &xLength ); in test_FreeRTOS_get_tx_head_InvalidParams()
800 pucReturn = FreeRTOS_get_tx_head( &xSocket, &xLength ); in test_FreeRTOS_get_tx_head_InvalidParams()
811 BaseType_t xLength; in test_FreeRTOS_get_tx_head_AllNULL() local
822 pucReturn = FreeRTOS_get_tx_head( &xSocket, &xLength ); in test_FreeRTOS_get_tx_head_AllNULL()
824 TEST_ASSERT_EQUAL( 0, xLength ); in test_FreeRTOS_get_tx_head_AllNULL()
834 BaseType_t xLength; in test_FreeRTOS_get_tx_head_LessSpace() local
848 pucReturn = FreeRTOS_get_tx_head( &xSocket, &xLength ); in test_FreeRTOS_get_tx_head_LessSpace()
850 TEST_ASSERT_EQUAL( 10, xLength ); in test_FreeRTOS_get_tx_head_LessSpace()
[all …]
HDFreeRTOS_Sockets_UDP_API_utest.c1256 size_t xLength ) in xLocalFunctionPointer() argument
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
HDtcp_dump_packets.md12 `iptraceDUMP_PACKET( ucBuffer, xLength, pdTRUE ); /* Incoming packet. */`
13 `iptraceDUMP_PACKET( ucBuffer, xLength, pdFALSE ); /* Outgoing packet. */`
HDtcp_dump_packets.c640 size_t xLength; in vActualDump() local
643 xLength = snprintf( pcString, sizeof pcString, pcHeaderCode, pcHeaderFileName ); in vActualDump()
644 fwrite( pcString, 1u, xLength, outfile ); in vActualDump()
HDNTPDemo.c472 size_t xLength, in xOnUDPReceive() argument
480 if( xLength >= sizeof( xNTPPacket ) ) in xOnUDPReceive()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/xilinx_ultrascale/
HDx_emacpsif_dma.c232 static BaseType_t xValidLength( BaseType_t xLength ) in xValidLength() argument
236 …if( ( xLength >= ( BaseType_t ) sizeof( struct xARP_PACKET ) ) && ( ( ( uint32_t ) xLength ) <= dm… in xValidLength()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/Zynq/
HDx_emacpsif_dma.c234 static BaseType_t xValidLength( BaseType_t xLength ) in xValidLength() argument
238 …if( ( xLength >= ( BaseType_t ) sizeof( struct xARP_PACKET ) ) && ( ( ( uint32_t ) xLength ) <= dm… in xValidLength()
/FreeRTOS-Plus-TCP-v4.0.0/source/
HDFreeRTOS_TCP_WIN.c576 UBaseType_t xLength = listCURRENT_LIST_LENGTH( &xSegmentList ); in xTCPWindowNew() local
578 if( xLowestLength > xLength ) in xTCPWindowNew()
580 xLowestLength = xLength; in xTCPWindowNew()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Reception/
HDFreeRTOS_TCP_Reception_utest.c558 size_t xLength ) in xLocalFunctionPointer() argument