Home
last modified time | relevance | path

Searched refs:eResult (Results 1 – 22 of 22) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6_ConfigDriverCheckChecksum/
HDFreeRTOS_IPv6_ConfigDriverCheckChecksum_utest.c62 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_happy_path() local
66 eResult = prvAllowIPPacketIPv6( &pxIPPacket->xIPHeader, pxNetworkBuffer, 0U ); in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_happy_path()
67 TEST_ASSERT_EQUAL( eProcessBuffer, eResult ); in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_happy_path()
76 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_valid_ext_header_length() local
86 eResult = prvAllowIPPacketIPv6( &pxIPPacket->xIPHeader, pxNetworkBuffer, 0U ); in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_valid_ext_header_length()
87 TEST_ASSERT_EQUAL( eProcessBuffer, eResult ); in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_valid_ext_header_length()
96 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_buffer_length_less_than_ip_header() local
102 eResult = prvAllowIPPacketIPv6( &pxIPPacket->xIPHeader, pxNetworkBuffer, 0U ); in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_buffer_length_less_than_ip_header()
103 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_buffer_length_less_than_ip_header()
112 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_not_an_ipv6_packet() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6/
HDFreeRTOS_IPv6_utest.c66 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress() local
72 eResult = prvAllowIPPacketIPv6( &xIPv6Address, NULL, 0U ); in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress()
73 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv6_SourceUnspecifiedAddress()
83 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress() local
89 eResult = prvAllowIPPacketIPv6( &xIPv6Address, NULL, 0U ); in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress()
90 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv6_DestinationUnspecifiedAddress()
99 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_HappyPath() local
106 eResult = prvAllowIPPacketIPv6( &pxTCPPacket->xIPHeader, pxNetworkBuffer, 0U ); in test_prvAllowIPPacketIPv6_HappyPath()
107 TEST_ASSERT_EQUAL( eProcessBuffer, eResult ); in test_prvAllowIPPacketIPv6_HappyPath()
115 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv6_MulticastAddress() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4/
HDFreeRTOS_IPv4_utest.c124 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_LessHeaderLength() local
137 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_LessHeaderLength()
139 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_LessHeaderLength()
149 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_FragmentedPacket() local
165 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_FragmentedPacket()
167 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_FragmentedPacket()
177 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_MoreFragmentedPacket() local
193 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_MoreFragmentedPacket()
195 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_MoreFragmentedPacket()
205 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_GreaterHeaderLength() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ICMP/
HDFreeRTOS_ICMP_utest.c70 eFrameProcessingResult_t eResult; in test_ProcessICMPPacket_CatchAssert() local
81 eFrameProcessingResult_t eResult; in test_ProcessICMPPacket_AllZeroData() local
93 eResult = ProcessICMPPacket( pxNetworkBuffer ); in test_ProcessICMPPacket_AllZeroData()
95 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_ProcessICMPPacket_AllZeroData()
100 eFrameProcessingResult_t eResult; in test_ProcessICMPPacket_EchoRequest() local
125 eResult = ProcessICMPPacket( pxNetworkBuffer ); in test_ProcessICMPPacket_EchoRequest()
127 TEST_ASSERT_EQUAL( eReturnEthernetFrame, eResult ); in test_ProcessICMPPacket_EchoRequest()
138 eFrameProcessingResult_t eResult; in test_ProcessICMPPacket_UnknownICMPPacket() local
154 eResult = ProcessICMPPacket( pxNetworkBuffer ); in test_ProcessICMPPacket_UnknownICMPPacket()
156 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_ProcessICMPPacket_UnknownICMPPacket()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig/
HDFreeRTOS_IPv4_DiffConfig_utest.c82 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_BroadcastSourceIP() local
111 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_BroadcastSourceIP()
113 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_BroadcastSourceIP()
123 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_BufferLengthLessThanMinimum() local
153 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_BufferLengthLessThanMinimum()
155 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_BufferLengthLessThanMinimum()
165 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_UDPCheckSumZero() local
199 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_UDPCheckSumZero()
201 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_UDPCheckSumZero()
210 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_UDP_HappyPath() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig1/
HDFreeRTOS_IPv4_DiffConfig1_utest.c82 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_BufferLengthLess() local
117 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_BufferLengthLess()
119 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_BufferLengthLess()
130 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_HeaderLengthLess() local
163 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_HeaderLengthLess()
165 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_HeaderLengthLess()
175 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_BufferLengthLessThan() local
208 eResult = prvAllowIPPacketIPv4( pxIPPacket, pxNetworkBuffer, uxHeaderLength ); in test_prvAllowIPPacketIPv4_BufferLengthLessThan()
210 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_prvAllowIPPacketIPv4_BufferLengthLessThan()
220 eFrameProcessingResult_t eResult; in test_prvAllowIPPacketIPv4_BufferLengthLessThanIPRequirement() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP/
HDFreeRTOS_ARP_utest.c42 eFrameProcessingResult_t eResult; in vResetARPClashCounter() local
63 eResult = eARPProcessPacket( &xNetworkBuffer ); in vResetARPClashCounter()
267 eFrameProcessingResult_t eResult; in test_eARPProcessPacket_DifferentHardwareAddress() local
278 eResult = eARPProcessPacket( pxNetworkBuffer ); in test_eARPProcessPacket_DifferentHardwareAddress()
279 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_eARPProcessPacket_DifferentHardwareAddress()
289 eFrameProcessingResult_t eResult; in test_eARPProcessPacket_DifferentProtocolType() local
301 eResult = eARPProcessPacket( pxNetworkBuffer ); in test_eARPProcessPacket_DifferentProtocolType()
302 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_eARPProcessPacket_DifferentProtocolType()
312 eFrameProcessingResult_t eResult; in test_eARPProcessPacket_DifferentHardwareLength() local
325 eResult = eARPProcessPacket( pxNetworkBuffer ); in test_eARPProcessPacket_DifferentHardwareLength()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP/
HDFreeRTOS_IP_utest.c1480 eFrameProcessingResult_t eResult; in test_eConsiderFrameForProcessing_NullBufferDescriptor() local
1482 eResult = eConsiderFrameForProcessing( NULL ); in test_eConsiderFrameForProcessing_NullBufferDescriptor()
1484 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_eConsiderFrameForProcessing_NullBufferDescriptor()
1494 eFrameProcessingResult_t eResult; in test_eConsiderFrameForProcessing_LocalMACMatch() local
1512 eResult = eConsiderFrameForProcessing( ucEthernetBuffer ); in test_eConsiderFrameForProcessing_LocalMACMatch()
1514 TEST_ASSERT_EQUAL( eProcessBuffer, eResult ); in test_eConsiderFrameForProcessing_LocalMACMatch()
1524 eFrameProcessingResult_t eResult; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType() local
1542 eResult = eConsiderFrameForProcessing( ucEthernetBuffer ); in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType()
1544 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType()
1554 eFrameProcessingResult_t eResult; in test_eConsiderFrameForProcessing_LocalMACMatchInvalidFrameType1() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ICMP_wo_assert/
HDFreeRTOS_ICMP_wo_assert_utest.c63 eFrameProcessingResult_t eResult; in test_ProcessICMPPacket_PacketSizeSmall() local
69 eResult = ProcessICMPPacket( pxNetworkBuffer ); in test_ProcessICMPPacket_PacketSizeSmall()
71 TEST_ASSERT_EQUAL( eReleaseBuffer, eResult ); in test_ProcessICMPPacket_PacketSizeSmall()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ND/
HDFreeRTOS_ND_utest.c113 eARPLookupResult_t eResult; in test_eNDGetCacheEntry_MulticastEndPoint() local
125 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_MulticastEndPoint()
127 TEST_ASSERT_EQUAL( eARPCacheHit, eResult ); in test_eNDGetCacheEntry_MulticastEndPoint()
137 eARPLookupResult_t eResult; in test_eNDGetCacheEntry_Multicast_ValidEndPoint() local
155 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, &pxEndPoint ); in test_eNDGetCacheEntry_Multicast_ValidEndPoint()
157 TEST_ASSERT_EQUAL( eARPCacheHit, eResult ); in test_eNDGetCacheEntry_Multicast_ValidEndPoint()
167 eARPLookupResult_t eResult; in test_eNDGetCacheEntry_Multicast_InvalidEndPoint() local
176 eResult = eNDGetCacheEntry( &xIPAddress, &xMACAddress, ppxEndPoint ); in test_eNDGetCacheEntry_Multicast_InvalidEndPoint()
178 TEST_ASSERT_EQUAL( eARPCacheHit, eResult ); in test_eNDGetCacheEntry_Multicast_InvalidEndPoint()
191 eARPLookupResult_t eResult; in test_eNDGetCacheEntry_NDCacheLookupHit_InvalidEndPoint() local
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/cbmc/proofs/UDP/vProcessGeneratedUDPPacket_IPv6/
HDvProcessGeneratedUDPPacket_IPv6_harness.c55 eARPLookupResult_t eResult; in eNDGetCacheEntry() local
60 return eResult; in eNDGetCacheEntry()
/FreeRTOS-Plus-TCP-v4.0.0/test/cbmc/proofs/UDP/vProcessGeneratedUDPPacket/
HDvProcessGeneratedUDPPacket_harness.c73 eARPLookupResult_t eResult; in eARPGetCacheEntry() local
75 return eResult; in eARPGetCacheEntry()
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
HDplus_tcp_demo_cli.c297 static const char * pcARPReturnType( eARPLookupResult_t eResult ) in pcARPReturnType() argument
301 switch( eResult ) in pcARPReturnType()
471 eARPLookupResult_t eResult = eARPCacheMiss; in handle_arpq() local
535 eResult = eARPGetCacheEntry( &ulLookUpIP, &xMACAddress, &pxEndPoint ); in handle_arpq()
537 …pcARPReturnType( eResult ), ( unsigned ) FreeRTOS_htonl( ulLookUpIP ), ( pxEndPoint != NULL ) ? "y… in handle_arpq()
543eResult = eNDGetCacheEntry( &( xLookupAddress.xIP_IPv6 ), &xMACAddress, &pxEndPoint ); in handle_arpq()
545 … pcARPReturnType( eResult ), xAddress.xIP_IPv6.ucBytes, ( pxEndPoint != NULL ) ? "yes" : "no" ) ); in handle_arpq()
555 if( ( eResult == eARPCacheMiss ) && ( pxEndPoint != NULL ) ) in handle_arpq()
617 eResult = eARPGetCacheEntry( &ulLookUpIP, &xMACAddress, &pxEndPoint ); in handle_arpq()
623eResult = eNDGetCacheEntry( &( xLookupAddress.xIP_IPv6 ), &xMACAddress, &pxEndPoint ); in handle_arpq()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/
HDFreeRTOS_IPv6.c626 eFrameProcessingResult_t eResult = eReleaseBuffer; in eHandleIPv6ExtensionHeaders() local
661 eResult = eProcessBuffer; in eHandleIPv6ExtensionHeaders()
671 ( eResult == eProcessBuffer ) ? "good" : "bad", in eHandleIPv6ExtensionHeaders()
676 return eResult; in eHandleIPv6ExtensionHeaders()
HDFreeRTOS_TCP_Transmission_IPv4.c237 eARPLookupResult_t eResult; in prvTCPReturnPacket_IPV4() local
239eResult = eARPGetCacheEntry( &ulDestinationIPAddress, &xMACAddress, &( pxNetworkBuffer->pxEndPoint… in prvTCPReturnPacket_IPV4()
241 if( eResult == eARPCacheHit ) in prvTCPReturnPacket_IPV4()
HDFreeRTOS_TCP_Transmission_IPv6.c233 eARPLookupResult_t eResult; in prvTCPReturnPacket_IPV6() local
235eResult = eNDGetCacheEntry( &xDestinationIPAddress, &xMACAddress, &( pxNetworkBuffer->pxEndPoint )… in prvTCPReturnPacket_IPV6()
237 if( eResult == eARPCacheHit ) in prvTCPReturnPacket_IPV6()
HDFreeRTOS_ARP.c574 eARPLookupResult_t eResult; in xCheckRequiresARPResolution() local
578 eResult = eNDGetCacheEntry( pxIPAddress, &xMACAddress, &pxEndPoint ); in xCheckRequiresARPResolution()
579 …ckRequiresARPResolution: eResult %s with EP %s\n", ( eResult == eARPCacheMiss ) ? "Miss" : ( eResu… in xCheckRequiresARPResolution()
581 if( eResult == eARPCacheMiss ) in xCheckRequiresARPResolution()
HDFreeRTOS_Routing.c1446 IPv6_Type_t eResult = eIPv6_Unknown; in xIPv6_GetIPType() local
1467 eResult = xIPCouples[ xIndex ].eType; in xIPv6_GetIPType()
1473 return eResult; in xIPv6_GetIPType()
HDFreeRTOS_IP.c2086 eARPLookupResult_t eResult; in vReturnEthernetFrame() local
2132eResult = eARPGetCacheEntry( &ulDestinationIPAddress, &xMACAddress, &( pxNetworkBuffer->pxEndPoint… in vReturnEthernetFrame()
2134 if( eResult == eARPCacheHit ) in vReturnEthernetFrame()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/WinPCap/
HDNetworkInterface.c795 eFrameProcessingResult_t eResult; in prvInterruptSimulatorTask() local
817 eResult = ipCONSIDER_FRAME_FOR_PROCESSING( pucPacketData ); in prvInterruptSimulatorTask()
821 eResult = eReleaseBuffer; in prvInterruptSimulatorTask()
824 if( eResult == eProcessBuffer ) in prvInterruptSimulatorTask()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/linux/
HDNetworkInterface.c928 eFrameProcessingResult_t eResult; in prvInterruptSimulatorTask() local
950 eResult = ipCONSIDER_FRAME_FOR_PROCESSING( pucPacketData ); in prvInterruptSimulatorTask()
954 eResult = eReleaseBuffer; in prvInterruptSimulatorTask()
957 if( eResult == eProcessBuffer ) in prvInterruptSimulatorTask()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/LPC18xx/
HDNetworkInterface.c678 eFrameProcessingResult_t eResult; in prvNetworkInterfaceInput() local
708eResult = ipCONSIDER_FRAME_FOR_PROCESSING( ( const uint8_t * const ) ( xDMARxDescriptors[ ulNextRx… in prvNetworkInterfaceInput()
710 if( eResult == eProcessBuffer ) in prvNetworkInterfaceInput()