/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ICMP/ |
D | FreeRTOS_ICMP_utest.c | 83 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_ProcessICMPPacket_AllZeroData() 87 pxNetworkBuffer->xDataLength = ipconfigTCP_MSS; in test_ProcessICMPPacket_AllZeroData() 89 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_ProcessICMPPacket_AllZeroData() 102 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_ProcessICMPPacket_EchoRequest() 109 pxNetworkBuffer->xDataLength = ipconfigTCP_MSS; in test_ProcessICMPPacket_EchoRequest() 111 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_ProcessICMPPacket_EchoRequest() 140 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_ProcessICMPPacket_UnknownICMPPacket() 145 pxNetworkBuffer->xDataLength = ipconfigTCP_MSS; in test_ProcessICMPPacket_UnknownICMPPacket() 147 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_ProcessICMPPacket_UnknownICMPPacket() 163 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_ProcessICMPPacket_ICMPEchoReply_NULLData() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IP/ |
D | FreeRTOS_UDP_IP_utest.c | 71 #ifndef ipconfigTCP_MSS 72 …#define ipconfigTCP_MSS ( ipconfigNETWORK_MTU - ( ipSIZE_OF_IPv4_HEADER + ipSIZE_OF_TCP_HEADER … macro 95 uint8_t pucLocalEthernetBuffer[ ipconfigTCP_MSS ]; in test_vProcessGeneratedUDPPacket_IPv4Packet() 103 memset( pucLocalEthernetBuffer, 0, ipconfigTCP_MSS ); in test_vProcessGeneratedUDPPacket_IPv4Packet() 116 uint8_t pucLocalEthernetBuffer[ ipconfigTCP_MSS ]; in test_vProcessGeneratedUDPPacket_IPv6Packet() 124 memset( pucLocalEthernetBuffer, 0, ipconfigTCP_MSS ); in test_vProcessGeneratedUDPPacket_IPv6Packet() 137 uint8_t pucLocalEthernetBuffer[ ipconfigTCP_MSS ]; in test_vProcessGeneratedUDPPacket_UnknownPacket() 145 memset( pucLocalEthernetBuffer, 0, ipconfigTCP_MSS ); in test_vProcessGeneratedUDPPacket_UnknownPacket() 183 uint8_t pucLocalEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4Packet() 193 memset( pucLocalEthernetBuffer, 0, ipconfigTCP_MSS ); in test_xProcessReceivedUDPPacket_IPv4Packet() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4/ |
D | FreeRTOS_IPv4_utest.c | 128 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_LessHeaderLength() 130 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_LessHeaderLength() 153 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_FragmentedPacket() 156 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_FragmentedPacket() 181 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_MoreFragmentedPacket() 184 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_MoreFragmentedPacket() 209 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_GreaterHeaderLength() 212 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_GreaterHeaderLength() 237 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_NotMatchingIP() 241 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_NotMatchingIP() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP/ |
D | FreeRTOS_IP_utest.c | 586 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvProcessIPEventsAndTimers_eNetworkRxEvent() 621 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvProcessIPEventsAndTimers_eNetworkTxEvent() 657 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvProcessIPEventsAndTimers_eNetworkTxEvent_NullInterface() 1496 uint8_t ucEthernetBuffer[ ipconfigTCP_MSS ]; in test_eConsiderFrameForProcessing_LocalMACMatch() 1505 memset( ucEthernetBuffer, 0x00, ipconfigTCP_MSS ); in test_eConsiderFrameForProcessing_LocalMACMatch() 1526 uint8_t ucEthernetBuffer[ ipconfigTCP_MSS ]; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType() 1535 memset( ucEthernetBuffer, 0x00, ipconfigTCP_MSS ); in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType() 1556 uint8_t ucEthernetBuffer[ ipconfigTCP_MSS ]; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType1() 1565 memset( ucEthernetBuffer, 0x00, ipconfigTCP_MSS ); in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType1() 1585 uint8_t ucEthernetBuffer[ ipconfigTCP_MSS ]; in test_eConsiderFrameForProcessing_BroadCastMACMatch() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Utils/ |
D | FreeRTOS_IP_Utils_utest.c | 133 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_pxDuplicateNetworkBufferWithDescriptor_LargerBufferReturned() 134 uint8_t ucEthBuffer2[ ipconfigTCP_MSS ]; in test_pxDuplicateNetworkBufferWithDescriptor_LargerBufferReturned() 140 memset( ucEthBuffer, 0xAB, ipconfigTCP_MSS ); in test_pxDuplicateNetworkBufferWithDescriptor_LargerBufferReturned() 142 memset( ucEthBuffer2, 0x00, ipconfigTCP_MSS ); in test_pxDuplicateNetworkBufferWithDescriptor_LargerBufferReturned() 172 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_pxDuplicateNetworkBufferWithDescriptor_SmallerBufferReturned() 173 uint8_t ucEthBuffer2[ ipconfigTCP_MSS ]; in test_pxDuplicateNetworkBufferWithDescriptor_SmallerBufferReturned() 179 memset( ucEthBuffer, 0xAB, ipconfigTCP_MSS ); in test_pxDuplicateNetworkBufferWithDescriptor_SmallerBufferReturned() 181 memset( ucEthBuffer2, 0x00, ipconfigTCP_MSS ); in test_pxDuplicateNetworkBufferWithDescriptor_SmallerBufferReturned() 237 size_t uxNewLength = ipconfigTCP_MSS; in test_pxDuplicateNetworkBufferWithDescriptor_IPv6() 238 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_pxDuplicateNetworkBufferWithDescriptor_IPv6() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig1/ |
D | FreeRTOS_IPv4_DiffConfig1_utest.c | 86 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_BufferLengthLess() 91 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_BufferLengthLess() 134 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_HeaderLengthLess() 139 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_HeaderLengthLess() 179 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_BufferLengthLessThan() 184 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_BufferLengthLessThan() 224 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_BufferLengthLessThanIPRequirement() 229 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_BufferLengthLessThanIPRequirement() 269 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_IPPacketLengthMoreThanTotalLength() 274 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_IPPacketLengthMoreThanTotalLength() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/ |
D | FreeRTOS_Sockets_UDP_API_utest.c | 349 char pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 350 size_t uxBufferLength = ipconfigTCP_MSS; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 356 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 365 memset( pucEthernetBuffer, 0x12, ipconfigTCP_MSS ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 366 memset( pvBuffer, 0xAB, ipconfigTCP_MSS ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 396 TEST_ASSERT_EACH_EQUAL_UINT8( 0x12, pucEthernetBuffer, ipconfigTCP_MSS ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 397 TEST_ASSERT_EACH_EQUAL_UINT8( 0xAB, pvBuffer, ipconfigTCP_MSS ); in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_JustUDPHeader() 409 char pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100() 410 size_t uxBufferLength = ipconfigTCP_MSS; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100() 416 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_recvfrom_BlockingGetsPacketInBetween_Packet100() [all …]
|
D | FreeRTOS_Sockets_TCP_API_utest.c | 812 uint8_t ucStream[ ipconfigTCP_MSS ]; in test_FreeRTOS_get_tx_head_AllNULL() 815 memset( ucStream, 0, ipconfigTCP_MSS ); in test_FreeRTOS_get_tx_head_AllNULL() 835 uint8_t ucStream[ ipconfigTCP_MSS ]; in test_FreeRTOS_get_tx_head_LessSpace() 838 memset( ucStream, 0, ipconfigTCP_MSS ); in test_FreeRTOS_get_tx_head_LessSpace() 861 uint8_t ucStream[ ipconfigTCP_MSS ]; in test_FreeRTOS_get_tx_head_MoreSpace() 864 memset( ucStream, 0, ipconfigTCP_MSS ); in test_FreeRTOS_get_tx_head_MoreSpace() 886 uint8_t pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_send_InvalidInput() 892 memset( pvBuffer, 0, ipconfigTCP_MSS ); in test_FreeRTOS_send_InvalidInput() 933 uint8_t pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_send_ExactSpaceInStreamBuffer() 940 memset( pvBuffer, 0, ipconfigTCP_MSS ); in test_FreeRTOS_send_ExactSpaceInStreamBuffer() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig/ |
D | FreeRTOS_IPv4_DiffConfig_utest.c | 86 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_BroadcastSourceIP() 90 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_BroadcastSourceIP() 127 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_BufferLengthLessThanMinimum() 131 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_BufferLengthLessThanMinimum() 169 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_UDPCheckSumZero() 173 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_UDPCheckSumZero() 214 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_UDP_HappyPath() 219 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_UDP_HappyPath() 266 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvAllowIPPacketIPv4_TCP_HappyPath() 271 memset( ucEthBuffer, 0, ipconfigTCP_MSS ); in test_prvAllowIPPacketIPv4_TCP_HappyPath()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Utils_IPv6/ |
D | FreeRTOS_TCP_Utils_IPv6_utest.c | 99 …ExpectAndReturn( tcpREDUCED_MSS_THROUGH_INTERNET, ipconfigTCP_MSS - ulDiffSizeIPHeader, ipconfigTC… in test_prvSocketSetMSS_IPV6_GlobalAddress() 105 TEST_ASSERT_EQUAL( ipconfigTCP_MSS - ulDiffSizeIPHeader, pxSocket->u.xTCP.usMSS ); in test_prvSocketSetMSS_IPV6_GlobalAddress() 125 TEST_ASSERT_EQUAL( ipconfigTCP_MSS - ulDiffSizeIPHeader, pxSocket->u.xTCP.usMSS ); in test_prvSocketSetMSS_IPV6_NonGlobalAddress()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig2/ |
D | FreeRTOS_Sockets_DiffConfig2_UDP_API_utest.c | 59 char pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_sendto_MoreDataThanUDPPayload_UseTempDestinationAddress() 80 char pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_sendto_MoreDataThanUDPPayload_IPv6DestinationAddress() 101 char pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_sendto_MoreDataThanUDPPayload_IPv4DestinationAddress() 122 char pvBuffer[ ipconfigTCP_MSS ]; in test_FreeRTOS_sendto_MoreDataThanUDPPayload_NullDestinationAddress()
|
/FreeRTOS-Plus-TCP-v4.0.0/source/ |
D | FreeRTOS_TCP_Utils_IPv4.c | 60 uint32_t ulMSS = ipconfigTCP_MSS; in prvSocketSetMSS_IPV4() 66 #if ( ipconfigTCP_MSS >= tcpMINIMUM_SEGMENT_LENGTH ) in prvSocketSetMSS_IPV4() 68 ulMSS = ipconfigTCP_MSS; in prvSocketSetMSS_IPV4()
|
D | FreeRTOS_TCP_Utils_IPv6.c | 60 uint32_t ulMSS = ipconfigTCP_MSS; in prvSocketSetMSS_IPV6() 86 #if ( ipconfigTCP_MSS >= tcpMINIMUM_SEGMENT_LENGTH ) in prvSocketSetMSS_IPV6() 88 ulMSS = ipconfigTCP_MSS; in prvSocketSetMSS_IPV6()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig1/ |
D | FreeRTOS_Sockets_DiffConfig1_GenericAPI_utest.c | 80 FreeRTOS_round_up_ExpectAndReturn( ipconfigTCP_TX_BUFFER_LENGTH, ipconfigTCP_MSS, 0xAABB ); in test_FreeRTOS_socket_TCPv6SocketLowMSS() 81 …xpectAndReturn( 1U, ( uint32_t ) ( ipconfigTCP_RX_BUFFER_LENGTH / 2U ) / ipconfigTCP_MSS, 0x1234 ); in test_FreeRTOS_socket_TCPv6SocketLowMSS() 82 … FreeRTOS_max_size_t_ExpectAndReturn( 1U, ( uint32_t ) ( 0xAABB / 2U ) / ipconfigTCP_MSS, 0x3456 ); in test_FreeRTOS_socket_TCPv6SocketLowMSS() 96 TEST_ASSERT_EQUAL( xSocket->u.xTCP.usMSS, ( uint16_t ) ipconfigTCP_MSS ); in test_FreeRTOS_socket_TCPv6SocketLowMSS()
|
D | FreeRTOSIPConfig.h | 39 #define ipconfigTCP_MSS ( ipSIZE_OF_IPv6_HEADER - ipSIZE_OF_IPv4_HEADER - 1 ) macro
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_Utils/ |
D | FreeRTOS_IPv4_Utils_utest.c | 77 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_prvChecksumIPv4Checks_IPLengthLessThanHeaderLength() 105 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_prvChecksumIPv4Checks_BufferLessIPPacket() 133 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_prvChecksumIPv4Checks_BufferLessIPHeaderLength() 161 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_prvChecksumIPv4Checks_BufferLessIPPayloadLength() 188 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_prvChecksumIPv4Checks_Pass()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_DiffConfig/ |
D | FreeRTOS_IP_DiffConfig_utest.c | 185 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_prvProcessIPEventsAndTimers_eNetworkRxEvent_MoreSpace() 354 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_vReturnEthernetFrame_DuplicationSuccess() 364 memset( ucEthBuffer, 0xAA, ipconfigTCP_MSS ); in test_vReturnEthernetFrame_DuplicationSuccess() 408 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_vReturnEthernetFrame_DuplicationSuccessCacheHit() 419 memset( ucEthBuffer, 0xAA, ipconfigTCP_MSS ); in test_vReturnEthernetFrame_DuplicationSuccessCacheHit() 463 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_vReturnEthernetFrame_xReleaseAfterSend() 471 memset( ucEthBuffer, 0xAA, ipconfigTCP_MSS ); in test_vReturnEthernetFrame_xReleaseAfterSend() 506 uint8_t ucEthBuffer[ ipconfigTCP_MSS ]; in test_vReturnEthernetFrame_DataLenMoreThanRequired() 514 memset( ucEthBuffer, 0xAA, ipconfigTCP_MSS ); in test_vReturnEthernetFrame_DataLenMoreThanRequired()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv6/ |
D | FreeRTOS_UDP_IPv6_utest.c | 111 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_ZeroChecksum() 140 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_DNSReplyPass() 172 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_DNSReplyFail() 204 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_LLMNRRequestPass() 236 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_LLMNRRequestFail() 268 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_LLMNRReplyPass() 300 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_LLMNRReplyFail() 332 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_NBNSRequestPass() 364 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_NBNSRequestFail() 396 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv6_NBNSReplyPass() [all …]
|
D | FreeRTOS_UDP_IPv6_stubs.c | 105 static uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in prvPrepareDefaultNetworkbuffer() 117 xNetworkBuffer.xDataLength = ipconfigTCP_MSS; in prvPrepareDefaultNetworkbuffer()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv4/ |
D | FreeRTOS_UDP_IPv4_utest.c | 107 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_DNSReplyPass() 140 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_DNSReplyFail() 173 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_LLMNRRequestPass() 206 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_LLMNRRequestFail() 239 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_LLMNRReplyPass() 272 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_LLMNRReplyFail() 305 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_MDNSRequestPass() 340 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_MDNSRequestFail() 375 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_MDNSReplyPass() 410 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_xProcessReceivedUDPPacket_IPv4_MDNSReplyFail() [all …]
|
D | FreeRTOS_UDP_IPv4_stubs.c | 99 static uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in prvPrepareDefaultNetworkbuffer() 111 xNetworkBuffer.xDataLength = ipconfigTCP_MSS; in prvPrepareDefaultNetworkbuffer()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_Sockets/ |
D | FreeRTOS_IPv4_Sockets_utest.c | 204 uint8_t pucEthBuffer[ ipconfigTCP_MSS ]; in test_xSend_UDP_Update_IPv4_HappyCase() 232 uint8_t pucEthBuffer[ ipconfigTCP_MSS ]; in test_xSend_UDP_Update_IPv4_NullNetworkBuffer() 260 uint8_t pucEthBuffer[ ipconfigTCP_MSS ]; in test_xSend_UDP_Update_IPv4_NullDestinationAddress() 288 uint8_t pucEthBuffer[ ipconfigTCP_MSS ]; in test_xRecv_Update_IPv4_HappyCase() 316 uint8_t pucEthBuffer[ ipconfigTCP_MSS ]; in test_xRecv_Update_IPv4_NullNetworkBuffer() 341 uint8_t pucEthBuffer[ ipconfigTCP_MSS ]; in test_xRecv_Update_IPv4_NullDestinationAddress()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Utils_DiffConfig/ |
D | FreeRTOS_IP_Utils_DiffConfig_utest.c | 279 uint8_t pucEthernetBuffer[ ipconfigTCP_MSS ]; in test_usGenerateProtocolChecksum_UDPv6IncomingPacket() 286 memset( pucEthernetBuffer, 0, ipconfigTCP_MSS ); in test_usGenerateProtocolChecksum_UDPv6IncomingPacket() 311 uint8_t ucEthBuf[ ipBUFFER_PADDING + ipconfigTCP_MSS ]; in test_pxUDPPayloadBuffer_to_NetworkBuffer_IPv6()
|
/FreeRTOS-Plus-TCP-v4.0.0/source/include/ |
D | FreeRTOSIPConfigDefaults.h | 673 #ifndef ipconfigTCP_MSS 674 …#define ipconfigTCP_MSS ( ipconfigNETWORK_MTU - ( ipSIZE_OF_IPv4_HEADER + ipSIZE_OF_TCP_HEADER … macro 699 #define ipconfigTCP_RX_BUFFER_LENGTH ( 4U * ipconfigTCP_MSS ) 706 #define ipconfigTCP_TX_BUFFER_LENGTH ( 4U * ipconfigTCP_MSS )
|
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/ |
D | tcp_mem_stats.c | 213 STATS_PRINTF( ( "TCPMemStat,TCP_MSS,%u\n", ipconfigTCP_MSS ) ); in vWriteHeader() 217 uxTXSize = ( size_t ) FreeRTOS_round_up( ipconfigTCP_TX_BUFFER_LENGTH, ipconfigTCP_MSS ); in vWriteHeader() 223 …of pucComment, ",Rounded up to %u x MSS (plus %u bytes)", uxTXSize / ipconfigTCP_MSS, uxTara + STR… in vWriteHeader()
|