Home
last modified time | relevance | path

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

12

/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig1/
HDFreeRTOS_IPv4_DiffConfig1_utest.c112 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_BufferLengthLess()
161 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_HeaderLengthLess()
206 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_BufferLengthLessThan()
251 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_BufferLengthLessThanIPRequirement()
296 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_IPPacketLengthMoreThanTotalLength()
341 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_UDP_IncorrectPacketLen()
386 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_TCP_IncorrectPacketLen()
431 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_ICMP_IncorrectPacketLen()
476 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_IGMP_IncorrectPacketLen()
521 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_NoProt()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/
HDFreeRTOS_ICMP.c151 iptraceSENDING_PING_REPLY( pxIPHeader->ulSourceIPAddress ); in prvProcessICMPEchoRequest()
159 pxIPHeader->ulDestinationIPAddress = pxIPHeader->ulSourceIPAddress; in prvProcessICMPEchoRequest()
160 pxIPHeader->ulSourceIPAddress = ulIPAddress; in prvProcessICMPEchoRequest()
HDFreeRTOS_IPv4.c243 uint32_t ulSourceIPAddress = pxIPHeader->ulSourceIPAddress; in prvAllowIPPacketIPv4() local
276 else if( ( FreeRTOS_ntohl( ulSourceIPAddress ) & 0xffU ) == 0xffU ) in prvAllowIPPacketIPv4()
298 else if( xIsIPv4Multicast( ulSourceIPAddress ) == pdTRUE ) in prvAllowIPPacketIPv4()
389 … FreeRTOS_ntohl( pxIPPacket->xIPHeader.ulSourceIPAddress ) ) ); in prvAllowIPPacketIPv4()
HDFreeRTOS_UDP_IPv4.c200 … pxIPHeader->ulSourceIPAddress = pxNetworkBuffer->pxEndPoint->ipv4_settings.ulIPAddress; in vProcessGeneratedUDPPacket_IPv4()
385 …yAge( &( pxUDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress ); in xProcessReceivedUDPPacket_IPv4()
505 …eEntry( &( pxUDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, in xProcessReceivedUDPPacket_IPv4()
517 …eEntry( &( pxUDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, in xProcessReceivedUDPPacket_IPv4()
536 …eEntry( &( pxUDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, in xProcessReceivedUDPPacket_IPv4()
550 …eEntry( &( pxUDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, in xProcessReceivedUDPPacket_IPv4()
HDFreeRTOS_TCP_Transmission_IPv4.c185 … pxIPHeader->ulSourceIPAddress = pxNetworkBuffer->pxEndPoint->ipv4_settings.ulIPAddress; in prvTCPReturnPacket_IPV4()
192 vFlip_32( pxIPHeader->ulDestinationIPAddress, pxIPHeader->ulSourceIPAddress ); in prvTCPReturnPacket_IPV4()
295 pxIPHeader->ulSourceIPAddress = pxIPHeader->ulDestinationIPAddress; in prvTCPReturnPacket_IPV4()
427 pxIPHeader->ulSourceIPAddress = FreeRTOS_htonl( pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 ); in prvTCPPrepareConnect_IPV4()
HDFreeRTOS_TCP_State_Handling_IPv4.c102 … pxTCPPacket->xIPHeader.ulSourceIPAddress, in prvHandleListen_IPV4()
183 … pxReturn->u.xTCP.xRemoteIP.ulIP_IPv4 = FreeRTOS_htonl( pxTCPPacket->xIPHeader.ulSourceIPAddress ); in prvHandleListen_IPV4()
HDFreeRTOS_ARP.c449 if( ulSenderProtocolAddress == pxARPWaitingIPHeader->ulSourceIPAddress ) in vARPProcessPacketReply()
535 …if( ( pxIPHeader->ulSourceIPAddress & pxIPv4Settings->ulNetMask ) == ( pxIPv4Settings->ulIPAddress… in xCheckRequiresARPResolution()
539 if( xIsIPInARPCache( pxIPHeader->ulSourceIPAddress ) == pdFALSE ) in xCheckRequiresARPResolution()
541 FreeRTOS_OutputARPRequest( pxIPHeader->ulSourceIPAddress ); in xCheckRequiresARPResolution()
HDFreeRTOS_TCP_IP_IPv4.c143 xRemoteIP.xIPAddress.ulIP_IPv4 = FreeRTOS_htonl( pxIPHeader->ulSourceIPAddress ); in xProcessReceivedTCPPacket_IPV4()
HDFreeRTOS_DNS_Parser.c78 … pxEndPoint = FreeRTOS_FindEndPointOnNetMask( xIPPacket->xIPHeader.ulSourceIPAddress, 6 ); in prvFindEndPointOnNetMask()
958 pxIPHeader->ulDestinationIPAddress = pxIPHeader->ulSourceIPAddress; in prepareReplyDNSMessage()
962 …pxIPHeader->ulSourceIPAddress = ( pxEndPoint != NULL ) ? pxEndPoint->ipv4_settings.ulIPAddress : 0… in prepareReplyDNSMessage()
HDFreeRTOS_IP_Utils.c608 … ( const uint8_t * ) &( pxSet->pxIPPacket->xIPHeader.ulSourceIPAddress ), in prvChecksumProtocolCalculate()
676 … ( unsigned ) FreeRTOS_ntohl( pxSet->pxIPPacket->xIPHeader.ulSourceIPAddress ), in prvChecksumProtocolSetChecksum()
HDFreeRTOS_IP.c1748 pxNetworkBuffer->xIPAddress.ulIP_IPv4 = pxUDPPacket->xIPHeader.ulSourceIPAddress; in prvProcessUDPPacket()
1953 …eshCacheEntryAge( &( pxIPPacket->xEthernetHeader.xSourceAddress ), pxIPHeader->ulSourceIPAddress ); in prvProcessIPPacket()
HDFreeRTOS_Routing.c998 xIPAddressFrom.ulIP_IPv4 = pxPacket->xUDPPacket.xIPHeader.ulSourceIPAddress; in FreeRTOS_MatchingEndpoint()
HDFreeRTOS_DNS.c1641 pxUDPPacket->xIPHeader.ulSourceIPAddress ); in ulNBNSHandlePacket()
HDFreeRTOS_TCP_Transmission.c758 … ( unsigned int ) FreeRTOS_ntohl( pxIPHeader->ulSourceIPAddress ), in prvTCPReturn_SetEndPoint()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4_DiffConfig/
HDFreeRTOS_IPv4_DiffConfig_utest.c107 pxIPHeader->ulSourceIPAddress = 0xFFFFFFFF; in test_prvAllowIPPacketIPv4_BroadcastSourceIP()
149 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_BufferLengthLessThanMinimum()
195 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_UDPCheckSumZero()
241 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_UDP_HappyPath()
293 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_TCP_HappyPath()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IPv4/
HDFreeRTOS_IPv4_utest.c292 pxIPHeader->ulSourceIPAddress = 0xFFFFFFFF; in test_prvAllowIPPacketIPv4_SourceIPBrdCast_DestIPMatch()
331 pxIPHeader->ulSourceIPAddress = 0xFFFFFFFF; in test_prvAllowIPPacketIPv4_SourceIPBrdCast_DestIPBrdCast()
370 pxIPHeader->ulSourceIPAddress = 0xFFFFFFFF; in test_prvAllowIPPacketIPv4_SourceIPBrdCast_DestIPLLMNR()
405 pxIPHeader->ulSourceIPAddress = 0xFFFFFFFF; in test_prvAllowIPPacketIPv4_SourceIPBrdCast_NoLocalIP()
557 pxIPHeader->ulSourceIPAddress = FreeRTOS_htonl( 0xE0000000 + 1 ); in test_prvAllowIPPacketIPv4_SrcIPAddrIsMulticast()
598 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_IncorrectChecksum()
643 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_IncorrectProtocolChecksum()
689 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_HappyPath()
731 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_LoopbackHappyPath()
776 pxIPHeader->ulSourceIPAddress = 0xC0C00101; in test_prvAllowIPPacketIPv4_DestMacBroadcastIPNotBroadcast()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_UDP_IPv4/
HDFreeRTOS_UDP_IPv4_utest.c121 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_DNSReplyPass()
154 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_DNSReplyFail()
187 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_LLMNRRequestPass()
220 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_LLMNRRequestFail()
253 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_LLMNRReplyPass()
286 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_LLMNRReplyFail()
321 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_MDNSRequestPass()
356 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_MDNSRequestFail()
391 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_MDNSReplyPass()
426 …UDPPacket->xEthernetHeader.xSourceAddress ), pxUDPPacket->xIPHeader.ulSourceIPAddress, xNetworkBuf… in test_xProcessReceivedUDPPacket_IPv4_MDNSReplyFail()
[all …]
HDFreeRTOS_UDP_IPv4_stubs.c56 TEST_ASSERT_EQUAL( pxUDPPacket->xIPHeader.ulSourceIPAddress, pxFrom->sin_address.ulIP_IPv4 ); in UDPReceiveHandlerChecker()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
HDFreeRTOS_IPv4_Private.h78 …uint32_t ulSourceIPAddress; /**< IP address of the source 12 + 4 = 16 */ member
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ICMP/
HDFreeRTOS_ICMP_utest.c129 TEST_ASSERT_EQUAL( pxIPHeader->ulSourceIPAddress, pxIPHeader->ulDestinationIPAddress ); in test_ProcessICMPPacket_EchoRequest()
130 TEST_ASSERT_EQUAL( *ipLOCAL_IP_ADDRESS_POINTER, pxIPHeader->ulSourceIPAddress ); in test_ProcessICMPPacket_EchoRequest()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS_Parser/
HDFreeRTOS_DNS_Parser_utest.c522 pxIPHeader->ulSourceIPAddress = 1234; in test_prepareReplyDNSMessage_success()
525 …FreeRTOS_FindEndPointOnNetMask_ExpectAndReturn( xIPPacket->xIPHeader.ulSourceIPAddress, 6, &xEndPo… in test_prepareReplyDNSMessage_success()
565 pxIPHeader->ulSourceIPAddress = 1234; in test_prepareReplyDNSMessage_success_MDNS()
569 …FreeRTOS_FindEndPointOnNetMask_ExpectAndReturn( xIPPacket->xIPHeader.ulSourceIPAddress, 6, &xEndPo… in test_prepareReplyDNSMessage_success_MDNS()
609 pxIPHeader->ulSourceIPAddress = 1234; in test_prepareReplyDNSMessage_NullEndPoint()
612 … FreeRTOS_FindEndPointOnNetMask_ExpectAndReturn( xIPPacket->xIPHeader.ulSourceIPAddress, 6, NULL ); in test_prepareReplyDNSMessage_NullEndPoint()
653 pxIPHeader->ulSourceIPAddress = 1234; in test_prepareReplyDNSMessage_IPv6success()
695 pxIPHeader->ulSourceIPAddress = 1234; in test_prepareReplyDNSMessage_IPv6Fail()
699 …FreeRTOS_FindEndPointOnNetMask_ExpectAndReturn( xIPPacket->xIPHeader.ulSourceIPAddress, 6, &xEndPo… in test_prepareReplyDNSMessage_IPv6Fail()
2342 pxIPHeader->ulSourceIPAddress = 1234; in test_DNS_ParseDNSReply_ansswer_lmmnr_reply_valid_new_netbuffer()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing_ConfigV4Only/
HDFreeRTOS_Routing_ConfigV4Only_utest.c120 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_ADDRESS; in test_FreeRTOS_MatchingEndpoint_MatchCustomFrameType()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP/
HDFreeRTOS_ARP_utest.c1479 …RPWaitingIPHeader->ulSourceIPAddress ), xARPFrame.xARPHeader.ucSenderProtocolAddress, sizeof( pxAR… in test_eARPProcessPacket_Reply_WaitingBufferNonNull_MatchingAddress1()
1536 …RPWaitingIPHeader->ulSourceIPAddress ), xARPFrame.xARPHeader.ucSenderProtocolAddress, sizeof( pxAR… in test_eARPProcessPacket_Reply_WaitingBufferNonNull_MatchingAddress2()
1646 …pxIPHeader->ulSourceIPAddress = ~( *ipLOCAL_IP_ADDRESS_POINTER & xEndPoint.ipv4_settings.ulNetMask… in test_xCheckRequiresARPResolution_NotOnLocalNetwork()
1675 …pxIPHeader->ulSourceIPAddress = ~( *ipLOCAL_IP_ADDRESS_POINTER & xEndPoint.ipv4_settings.ulNetMask… in test_xCheckRequiresARPResolution_NotOnLocalNetwork_InvalidHeader()
1704 …pxIPHeader->ulSourceIPAddress = ~( *ipLOCAL_IP_ADDRESS_POINTER & xEndPoint.ipv4_settings.ulNetMask… in test_xCheckRequiresARPResolution_NotOnLocalNetwork_IPv6()
1784 pxIPHeader->ulSourceIPAddress = *ipLOCAL_IP_ADDRESS_POINTER & xEndPoint.ipv4_settings.ulNetMask; in test_xCheckRequiresARPResolution_OnLocalNetwork_NotInCache()
1826 …pxIPHeader->ulSourceIPAddress = xEndPoint.ipv4_settings.ulIPAddress & xEndPoint.ipv4_settings.ulNe… in test_xCheckRequiresARPResolution_OnLocalNetwork_InCache()
1833 xARPCache[ x ].ulIPAddress = pxIPHeader->ulSourceIPAddress; in test_xCheckRequiresARPResolution_OnLocalNetwork_InCache()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Transmission/
HDFreeRTOS_TCP_Transmission_utest.c591 uint32_t OldSourceAddress = pxIPHeader->ulSourceIPAddress; in test_prvTCPReturnPacket_Null_Socket()
605 TEST_ASSERT_EQUAL( OldSourceAddress, pxIPHeader->ulSourceIPAddress ); in test_prvTCPReturnPacket_Null_Socket()
629 uint32_t OldSourceAddress = pxIPHeader->ulSourceIPAddress; in test_prvTCPReturnPacket_Assert_Interface_NULL()
664 uint32_t OldSourceAddress = pxIPHeader->ulSourceIPAddress; in test_prvTCPReturnPacket_Assert_InterfaceOutput_NULL()
701 uint32_t OldSourceAddress = pxIPHeader->ulSourceIPAddress; in test_prvTCPReturnPacket_Null_Socket_Relase_True()
814 TEST_ASSERT_EQUAL( 0xC0C0C0C0, pxTCPPacket->xIPHeader.ulSourceIPAddress ); in test_prvTCPReturnPacket_No_KL_LocalIP()
871 TEST_ASSERT_EQUAL( 0xC0C0C0C0, pxTCPPacket->xIPHeader.ulSourceIPAddress ); in test_prvTCPReturnPacket_No_KL_LocalIP_GT_Eth_Packet_Length()
927 TEST_ASSERT_EQUAL( 0xC0C0C0C0, pxTCPPacket->xIPHeader.ulSourceIPAddress ); in test_prvTCPReturnPacket_No_KL_LocalIP_ARP_Not_Hit()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing/
HDFreeRTOS_Routing_utest.c2721 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_ADDRESS; in test_FreeRTOS_MatchingEndpoint_MatchIPv4Address()
2770 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_MatchingEndpoint_MatchMACAddress()
3088 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_MatchingEndpoint_OneMACOneIPv4()
3102 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_ADDRESS; in test_FreeRTOS_MatchingEndpoint_OneMACOneIPv4()
3152 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_ADDRESS; in test_FreeRTOS_MatchingEndpoint_NullInterface()
3202 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_ADDRESS; in test_FreeRTOS_MatchingEndpoint_IPv4NotFound()
3467 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_MatchingEndpoint_Type()
3645 pxProtocolPacket->xTCPPacket.xIPHeader.ulSourceIPAddress = IPV4_DEFAULT_ADDRESS; in test_FreeRTOS_MatchingEndpoint_MatchCustomFrameType()

12