Home
last modified time | relevance | path

Searched refs:ipPROTOCOL_TCP (Results 1 – 25 of 25) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6_Utils/
HDFreeRTOS_IPv6_Utils_utest.c184 …scriptor_t * pxNetworkBuffer = prvInitializeNetworkDescriptorWithExtensionHeader( ipPROTOCOL_TCP ); in test_prvChecksumIPv6Checks_LargeExtensionHeader()
193 pxNetworkBuffer->pucEthernetBuffer[ uxIndex ] = ipPROTOCOL_TCP; in test_prvChecksumIPv6Checks_LargeExtensionHeader()
217 …scriptor_t * pxNetworkBuffer = prvInitializeNetworkDescriptorWithExtensionHeader( ipPROTOCOL_TCP ); in test_prvChecksumIPv6Checks_HopByHopInWrongOrder()
226 pxNetworkBuffer->pucEthernetBuffer[ uxIndex ] = ipPROTOCOL_TCP; in test_prvChecksumIPv6Checks_HopByHopInWrongOrder()
234 xGetExtensionOrder_ExpectAndReturn( ipIPv6_EXT_HEADER_HOP_BY_HOP, ipPROTOCOL_TCP, 1 ); in test_prvChecksumIPv6Checks_HopByHopInWrongOrder()
475 …scriptor_t * pxNetworkBuffer = prvInitializeNetworkDescriptorWithExtensionHeader( ipPROTOCOL_TCP ); in test_usGetExtensionHeaderLength_TCPExtensionSuccess()
489 xGetExtensionOrder_ExpectAndReturn( ipIPv6_EXT_HEADER_MOBILITY_HEADER, ipPROTOCOL_TCP, 2 ); in test_usGetExtensionHeaderLength_TCPExtensionSuccess()
490 xGetExtensionOrder_ExpectAndReturn( ipIPv6_EXT_HEADER_MOBILITY_HEADER, ipPROTOCOL_TCP, 2 ); in test_usGetExtensionHeaderLength_TCPExtensionSuccess()
495 TEST_ASSERT_EQUAL( ipPROTOCOL_TCP, ucProtocol ); in test_usGetExtensionHeaderLength_TCPExtensionSuccess()
592 …scriptor_t * pxNetworkBuffer = prvInitializeNetworkDescriptorWithExtensionHeader( ipPROTOCOL_TCP ); in test_usGetExtensionHeaderLength_ShortBufferLength()
[all …]
HDFreeRTOS_IPv6_Utils_stubs.c94 if( ucProtocol == ipPROTOCOL_TCP ) in prvInitializeNetworkDescriptorWithExtensionHeader()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6_ConfigDriverCheckChecksum/
HDFreeRTOS_IPv6_ConfigDriverCheckChecksum_utest.c83 pxNetworkBuffer->pucEthernetBuffer[ uxIndex ] = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_valid_ext_header_length()
169 pxNetworkBuffer->pucEthernetBuffer[ uxIndex ] = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_large_ext_header_length()
204 pxIPPacket->xIPHeader.ucNextHeader = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv6_xCheckIPv6SizeFields_length_less_than_TCP_min_requirement()
HDFreeRTOS_IPv6_ConfigDriverCheckChecksum_stubs.c100 pxTCPPacket->xIPHeader.ucNextHeader = ipPROTOCOL_TCP; in prvInitializeNetworkDescriptor()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig1/
HDFreeRTOS_IPv4_DiffConfig1_utest.c107 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_BufferLengthLess()
156 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_HeaderLengthLess()
201 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_BufferLengthLessThan()
246 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_BufferLengthLessThanIPRequirement()
290 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_IPPacketLengthMoreThanTotalLength()
380 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_TCP_IncorrectPacketLen()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_Utils/
HDFreeRTOS_IPv4_Utils_utest.c197 xIPPacket.xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_prvChecksumIPv4Checks_Pass()
202 TEST_ASSERT_EQUAL( ipPROTOCOL_TCP, xSet.ucProtocol ); in test_prvChecksumIPv4Checks_Pass()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv6/
HDFreeRTOS_IPv6_utest.c307 uint8_t ucProtocol = ipPROTOCOL_TCP; in test_eHandleIPv6ExtensionHeaders_TCPHappyPath()
407 uint8_t ucProtocol = ipPROTOCOL_TCP; in test_eHandleIPv6ExtensionHeaders_TCPHappyPathNotRemove()
449 uint8_t ucProtocol = ipPROTOCOL_TCP; in test_eHandleIPv6ExtensionHeaders_SmallIPPayloadLength()
716 xReturn = xGetExtensionOrder( ipPROTOCOL_TCP, 0U ); in test_xGetExtensionOrder()
HDFreeRTOS_IPv6_stubs.c119 if( ucProtocol == ipPROTOCOL_TCP ) in prvInitializeNetworkDescriptorWithExtensionHeader()
/FreeRTOS-Plus-TCP-v4.0.0/test/cbmc/proofs/IPUtils/usGenerateProtocolChecksum_IPv6/
HDusGenerateProtocolChecksum_IPv6_harness.c118 if( ( ucNextHeader == ipPROTOCOL_TCP ) || in prvPrepareExtensionHeaders()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_Utils/
HDFreeRTOS_IP_Utils_utest.c742 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_UnknownProtocol()
1076 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPCorrectCRC()
1116 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPCorrectCRCOutgoingPacket()
1156 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPCorrectCRCOutgoingPacketZeroChecksum()
1194 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPIncorrectCRC_IncomingPacket()
1231 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPLessBufferSize_OutgoingPacket()
1268 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPLessOffset_OutgoingPacket()
1305 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPLessBufferSize()
1342 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPLessHeaderLength()
1379 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_usGenerateProtocolChecksum_TCPLargeBufferSize()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/
HDFreeRTOS_IPv6_Utils.c230 if( ( ucNextHeader == ipPROTOCOL_TCP ) || in usGetExtensionHeaderLength()
HDFreeRTOS_IPv4.c138 else if( ucProtocol == ( uint8_t ) ipPROTOCOL_TCP ) in xCheckIPv4SizeFields()
HDFreeRTOS_IP_Utils.c155 else if( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_TCP ) in prvSetChecksumInPacket()
190 else if( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_TCP ) in prvGetChecksumFromPacket()
412 else if( pxSet->ucProtocol == ( uint8_t ) ipPROTOCOL_TCP ) in prvChecksumProtocolChecks()
HDFreeRTOS_TCP_Transmission_IPv4.c423 pxIPHeader->ucProtocol = ( uint8_t ) ipPROTOCOL_TCP; in prvTCPPrepareConnect_IPV4()
HDFreeRTOS_IPv6.c170 else if( ucNextHeader == ( uint8_t ) ipPROTOCOL_TCP ) in xCheckIPv6SizeFields()
HDFreeRTOS_TCP_Transmission_IPv6.c434 pxIPHeader->ucNextHeader = ( uint8_t ) ipPROTOCOL_TCP; in prvTCPPrepareConnect_IPV6()
HDFreeRTOS_ARP.c564 if( ( ucNextHeader == ipPROTOCOL_TCP ) || in xCheckRequiresARPResolution()
HDFreeRTOS_IP.c1998 case ipPROTOCOL_TCP: in prvProcessIPPacket()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig/
HDFreeRTOS_IPv4_DiffConfig_utest.c288 pxIPHeader->ucProtocol = ipPROTOCOL_TCP; in test_prvAllowIPPacketIPv4_TCP_HappyPath()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
HDFreeRTOS_IP.h84 #define ipPROTOCOL_TCP ( 6U ) macro
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/xilinx_ultrascale/
HDNetworkInterface.c342 ( pxPacket->xICMPPacket.xIPHeader.ucProtocol != ipPROTOCOL_TCP ) ) in xNetworkInterfaceOutput()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/DriverSAM/
HDNetworkInterface.c920 ( xProtPacket->xICMPPacket.xIPHeader.ucProtocol != ipPROTOCOL_TCP ) ) in vGMACGenerateChecksum()
941 ( pxIPHeader->ucNextHeader != ipPROTOCOL_TCP ) ) in vGMACGenerateChecksum()
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
HDtcp_dump_packets.c432 case ipPROTOCOL_TCP: in vAddProtocolTags()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP/
HDFreeRTOS_IP_utest.c2564 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_prvProcessIPPacket_TCP()
2609 pxIPPacket->xIPHeader.ucProtocol = ipPROTOCOL_TCP; in test_prvProcessIPPacket_TCPProcessFail()
2953 pxIPPacket->xIPHeader.ucNextHeader = ipPROTOCOL_TCP; in test_prvProcessIPPacket_TCP_IPv6_HappyPath()
2956 xGetExtensionOrder_ExpectAndReturn( ipPROTOCOL_TCP, 0U, 0 ); in test_prvProcessIPPacket_TCP_IPv6_HappyPath()
3003 pxIPPacket->xIPHeader.ucNextHeader = ipPROTOCOL_TCP; in test_prvProcessIPPacket_TCP_IPv6_ARPResolution()
3006 xGetExtensionOrder_ExpectAndReturn( ipPROTOCOL_TCP, 0U, 0 ); in test_prvProcessIPPacket_TCP_IPv6_ARPResolution()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP/
HDFreeRTOS_ARP_utest.c1716 pxIPHeader_V6->ucNextHeader = ipPROTOCOL_TCP; in test_xCheckRequiresARPResolution_NotOnLocalNetwork_IPv6()