Home
last modified time | relevance | path

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

12

/FreeRTOS-Plus-TCP-v4.0.0/source/
HDFreeRTOS_TCP_IP_IPv4.c109 IPv46_Address_t xRemoteIP; in xProcessReceivedTCPPacket_IPV4() local
142 xRemoteIP.xIs_IPv6 = pdFALSE; in xProcessReceivedTCPPacket_IPV4()
143 xRemoteIP.xIPAddress.ulIP_IPv4 = FreeRTOS_htonl( pxIPHeader->ulSourceIPAddress ); in xProcessReceivedTCPPacket_IPV4()
147 …pxSocket = ( FreeRTOS_Socket_t * ) pxTCPSocketLookup( ulLocalIP, usLocalPort, xRemoteIP, usRemoteP… in xProcessReceivedTCPPacket_IPV4()
156 …CP: No active socket on port %d (%xip:%d)\n", usLocalPort, ( unsigned ) xRemoteIP.xIPAddress.ulIP_… in xProcessReceivedTCPPacket_IPV4()
189 …prvTCPFlagMeaning( ( UBaseType_t ) ucTCPFlags ), ( unsigned ) xRemoteIP.xIPAddress.ulIP_IPv4, usRe… in xProcessReceivedTCPPacket_IPV4()
219 …debug_printf( ( "TCP: RST received from %xip:%u for %u\n", ( unsigned ) xRemoteIP.xIPAddress.ulIP_… in xProcessReceivedTCPPacket_IPV4()
259 …RTOS_debug_printf( ( "TCP: SYN unexpected from %xip:%u\n", ( unsigned ) xRemoteIP.xIPAddress.ulIP_… in xProcessReceivedTCPPacket_IPV4()
HDFreeRTOS_TCP_IP_IPv6.c118 IPv46_Address_t xRemoteIP; in xProcessReceivedTCPPacket_IPV6() local
136 …( void ) memcpy( xRemoteIP.xIPAddress.xIP_IPv6.ucBytes, pxIPHeader_IPv6->xSourceAddress.ucBytes, s… in xProcessReceivedTCPPacket_IPV6()
140 … pxSocket = ( FreeRTOS_Socket_t * ) pxTCPSocketLookup( 0U, usLocalPort, xRemoteIP, usRemotePort ); in xProcessReceivedTCPPacket_IPV6()
149 …CP: No active socket on port %d (%xip:%d)\n", usLocalPort, ( unsigned ) xRemoteIP.xIPAddress.ulIP_… in xProcessReceivedTCPPacket_IPV6()
182 …prvTCPFlagMeaning( ( UBaseType_t ) ucTCPFlags ), ( unsigned ) xRemoteIP.xIPAddress.ulIP_IPv4, usRe… in xProcessReceivedTCPPacket_IPV6()
212 …debug_printf( ( "TCP: RST received from %xip:%u for %u\n", ( unsigned ) xRemoteIP.xIPAddress.ulIP_… in xProcessReceivedTCPPacket_IPV6()
252 …RTOS_debug_printf( ( "TCP: SYN unexpected from %xip:%u\n", ( unsigned ) xRemoteIP.xIPAddress.ulIP_… in xProcessReceivedTCPPacket_IPV6()
HDFreeRTOS_TCP_Transmission_IPv6.c194 …oid ) memcpy( pxIPHeader->xDestinationAddress.ucBytes, pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes… in prvTCPReturnPacket_IPV6()
322 IP_Address_t xRemoteIP; in prvTCPPrepareConnect_IPV6() local
336 ( void ) memset( xRemoteIP.xIP_IPv6.ucBytes, 0, ipSIZE_OF_IPv6_ADDRESS ); in prvTCPPrepareConnect_IPV6()
337 …( void ) memcpy( xRemoteIP.xIP_IPv6.ucBytes, pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, ipSIZE_O… in prvTCPPrepareConnect_IPV6()
338 eReturned = eNDGetCacheEntry( &( xRemoteIP.xIP_IPv6 ), &( xEthAddress ), &( pxEndPoint ) ); in prvTCPPrepareConnect_IPV6()
363 …FreeRTOS_printf( ( "Looking up %pip with%s end-point\n", ( void * ) xRemoteIP.xIP_IPv6.ucBytes, ( … in prvTCPPrepareConnect_IPV6()
376 vNDSendNeighbourSolicitation( pxNetworkBuffer, &( xRemoteIP.xIP_IPv6 ) ); in prvTCPPrepareConnect_IPV6()
389 … pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4, in prvTCPPrepareConnect_IPV6()
437 …( void ) memcpy( pxIPHeader->xSourceAddress.ucBytes, pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, … in prvTCPPrepareConnect_IPV6()
HDFreeRTOS_TCP_Utils_IPv4.c77 …if( ( ( FreeRTOS_ntohl( pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 ) ^ pxEndPoint->ipv4_settings.ulIPAdd… in prvSocketSetMSS_IPV4()
85 … for %xip port %u\n", ( unsigned ) ulMSS, ( unsigned ) pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4, pxSoc… in prvSocketSetMSS_IPV4()
HDFreeRTOS_TCP_Utils_IPv6.c97 IPv6_Type_t eType = xIPv6_GetIPType( &( pxSocket->u.xTCP.xRemoteIP.xIP_IPv6 ) ); in prvSocketSetMSS_IPV6()
109 …reeRTOS_inet_ntop( FREERTOS_AF_INET6, ( const void * ) pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes… in prvSocketSetMSS_IPV6()
HDFreeRTOS_TCP_Transmission_IPv4.c184 … pxIPHeader->ulDestinationIPAddress = FreeRTOS_htonl( pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 ); in prvTCPReturnPacket_IPV4()
340 ulRemoteIP = FreeRTOS_htonl( pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 ); in prvTCPPrepareConnect_IPV4()
356 ( unsigned ) pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4, in prvTCPPrepareConnect_IPV4()
377 … pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4, in prvTCPPrepareConnect_IPV4()
427 pxIPHeader->ulSourceIPAddress = FreeRTOS_htonl( pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 ); in prvTCPPrepareConnect_IPV4()
HDFreeRTOS_TCP_IP.c506 … uint32_t ulIPAddress = FreeRTOS_ntohl( pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 ); in vTCPStateChange()
518 pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, in vTCPStateChange()
591 … ( unsigned ) pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4, pxSocket->u.xTCP.usRemotePort, in prvTCPNextTimeout()
HDFreeRTOS_IPv6_Sockets.c71 …if( memcmp( pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, pxAddress->xIPAddress.xIP_IPv6.ucBytes, i… in pxTCPSocketLookup_IPv6()
83 if( pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 == pxAddress->xIPAddress.ulIP_IPv4 ) in pxTCPSocketLookup_IPv6()
HDFreeRTOS_TCP_State_Handling_IPv4.c183 … pxReturn->u.xTCP.xRemoteIP.ulIP_IPv4 = FreeRTOS_htonl( pxTCPPacket->xIPHeader.ulSourceIPAddress ); in prvHandleListen_IPV4()
HDFreeRTOS_TCP_State_Handling_IPv6.c183 …( void ) memcpy( pxReturn->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, pxIPHeader_IPv6->xSourceAddress.ucBy… in prvHandleListen_IPV6()
HDFreeRTOS_Sockets.c2194 ( unsigned ) pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4, in prvSocketProps()
2204 … ( void * ) pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, in prvSocketProps()
3707 …( void ) memcpy( pxSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, pxAddress->sin_address.xIP_IPv6.ucBy… in prvTCPConnectStart()
3716 … pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 = FreeRTOS_ntohl( pxAddress->sin_address.ulIP_IPv4 ); in prvTCPConnectStart()
3923 … pxAddress->sin_address.ulIP_IPv4 = FreeRTOS_ntohl( pxClientSocket->u.xTCP.xRemoteIP.ulIP_IPv4 ); in prvAcceptWaitClient()
3936 …memcpy( pxAddress->sin_address.xIP_IPv6.ucBytes, pxClientSocket->u.xTCP.xRemoteIP.xIP_IPv6.ucBytes… in prvAcceptWaitClient()
4619 ( unsigned ) pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4, in FreeRTOS_send()
4877 IPv46_Address_t xRemoteIP, in pxTCPSocketLookup() argument
4907 if( xRemoteIP.xIs_IPv6 != pdFALSE ) in pxTCPSocketLookup()
4910 pxResult = pxTCPSocketLookup_IPv6( pxSocket, &xRemoteIP ); in pxTCPSocketLookup()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Utils/
HDFreeRTOS_TCP_Utils_utest.c102 pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 = 0xC0C0C0C0; in test_prvSocketSetMSS_NULL_EP()
122 pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 = 0xC0C0C0C0; in test_prvSocketSetMSS_Reduced()
146 pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4 = 0x0; in test_prvSocketSetMSS_Normal()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Utils_IPv6/
HDFreeRTOS_TCP_Utils_IPv6_utest.c98 xIPv6_GetIPType_ExpectAndReturn( &( pxSocket->u.xTCP.xRemoteIP.xIP_IPv6 ), eIPv6_Global ); in test_prvSocketSetMSS_IPV6_GlobalAddress()
119 xIPv6_GetIPType_ExpectAndReturn( &( pxSocket->u.xTCP.xRemoteIP.xIP_IPv6 ), eIPv6_Global + 1 ); in test_prvSocketSetMSS_IPV6_NonGlobalAddress()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets/
HDFreeRTOS_Sockets_privates_utest.c2584 IPv46_Address_t xRemoteIP; in test_pxTCPSocketLookup_FoundAMatch() local
2586 xRemoteIP.xIs_IPv6 = pdFALSE; in test_pxTCPSocketLookup_FoundAMatch()
2587 xRemoteIP.xIPAddress.ulIP_IPv4 = 0xBCBCDCDC; in test_pxTCPSocketLookup_FoundAMatch()
2596 xMatchingSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = xRemoteIP.xIPAddress.ulIP_IPv4; in test_pxTCPSocketLookup_FoundAMatch()
2606 pxReturn = pxTCPSocketLookup( ulLocalIP, uxLocalPort, xRemoteIP, uxRemotePort ); in test_pxTCPSocketLookup_FoundAMatch()
2619 IPv46_Address_t xRemoteIP; in test_pxTCPSocketLookup_NoMatch() local
2621 xRemoteIP.xIs_IPv6 = pdFALSE; in test_pxTCPSocketLookup_NoMatch()
2622 xRemoteIP.xIPAddress.ulIP_IPv4 = 0xBCBCDCDC; in test_pxTCPSocketLookup_NoMatch()
2631 xMatchingSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = xRemoteIP.xIPAddress.ulIP_IPv4 + 1; in test_pxTCPSocketLookup_NoMatch()
2644 pxReturn = pxTCPSocketLookup( ulLocalIP, uxLocalPort, xRemoteIP, uxRemotePort ); in test_pxTCPSocketLookup_NoMatch()
[all …]
HDFreeRTOS_Sockets_TCP_API_utest.c179 xPeerSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = 0xAABBCCDD; in test_FreeRTOS_accept_NotReuseSocket()
191 …TEST_ASSERT_EQUAL( FreeRTOS_ntohl( xPeerSocket.u.xTCP.xRemoteIP.ulIP_IPv4 ), xAddress.sin_address.… in test_FreeRTOS_accept_NotReuseSocket()
215 xServerSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = 0xAABBCCDD; in test_FreeRTOS_accept_ReuseSocket()
224 …TEST_ASSERT_EQUAL( FreeRTOS_ntohl( xServerSocket.u.xTCP.xRemoteIP.ulIP_IPv4 ), xAddress.sin_addres… in test_FreeRTOS_accept_ReuseSocket()
248 xServerSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = 0xAABBCCDD; in test_FreeRTOS_accept_ReuseSocket_NULLAddress()
279 xServerSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = 0xAABBCCDD; in test_FreeRTOS_accept_ReuseSocket_Timeout()
323 …memcpy( xServerSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_FreeRTOS_accept_ReuseIPv6Socket()
355 …memcpy( xServerSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_FreeRTOS_accept_ReuseIPv6Socket_NullAddress()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_Utils_IPv6_ConfigLowTCPMSS/
HDFreeRTOS_TCP_Utils_IPv6_ConfigLowTCPMSS_utest.c78 xIPv6_GetIPType_ExpectAndReturn( &( pxSocket->u.xTCP.xRemoteIP.xIP_IPv6 ), eIPv6_Global + 1 ); in test_prvSocketSetMSS_IPV6_LowMSS()
/FreeRTOS-Plus-TCP-v4.0.0/test/cbmc/proofs/parsing/ProcessReceivedTCPPacket/
HDProcessReceivedTCPPacket_harness.c56 IPv46_Address_t xRemoteIP, in pxTCPSocketLookup() argument
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_IP_DiffConfig/
HDTCP_IP_DiffConfig_list_macros.h88 IPv46_Address_t xRemoteIP,
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_DiffConfig2/
HDFreeRTOS_Sockets_DiffConfig2_TCP_API_utest.c79 …memcpy( xServerSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_FreeRTOS_accept_ReuseIPv6Socket()
HDFreeRTOS_Sockets_DiffConfig2_GenericAPI_utest.c265 …memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6RemoteAddress.ucBytes, ipSIZE_OF_IPv6_ADDR… in test_prvSocketProps_TCPv6()
309 … memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xIPv6Address.ucBytes, ipSIZE_OF_IPv6_ADDRESS ); in test_FreeRTOS_GetRemoteAddress_IPv6HappyPath()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_IP/
HDTCP_IP_list_macros.h88 IPv46_Address_t xRemoteIP,
/FreeRTOS-Plus-TCP-v4.0.0/test/cbmc/proofs/parsing/ProcessReceivedTCPPacket_IPv6/
HDProcessReceivedTCPPacket_IPv6_harness.c57 IPv46_Address_t xRemoteIP, in pxTCPSocketLookup() argument
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/
HDtcp_netstat.c105 … pxMetrics->xTCPSocketList.xTCPList[ uxCount ].ulRemoteIP = pxSocket->u.xTCP.xRemoteIP.ulIP_IPv4; in vGetMetrics()
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Sockets_IPv6/
HDFreeRTOS_Sockets_IPv6_utest.c169 xSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = SAMPLE_IPv4_ADDR; in test_pxTCPSocketLookup_IPv6_NotIPv6Socket_NotIPv6Address_MatchingIPv4Address()
190 xSocket.u.xTCP.xRemoteIP.ulIP_IPv4 = 0xDBCD1235; in test_pxTCPSocketLookup_IPv6_NotIPv6Socket_NotIPv6Address_NonMatchingIPv4Address()
232 …memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xSampleAddress_IPv6_1.ucBytes, ipSIZE_OF_IPv6_A… in test_pxTCPSocketLookup_IPv6_IPv6Socket_NonNullIPv6Address_MatchingIPv6Address()
254 …memcpy( xSocket.u.xTCP.xRemoteIP.xIP_IPv6.ucBytes, xSampleAddress_IPv6_2.ucBytes, ipSIZE_OF_IPv6_A… in test_pxTCPSocketLookup_IPv6_IPv6Socket_NonNullIPv6Address_NonMatchingIPv6Address()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
HDFreeRTOS_IP_Private.h560 IP_Address_t xRemoteIP; /**< IP address of remote machine */ member
750 IPv46_Address_t xRemoteIP,

12