/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP_DiffConfig1/ |
D | FreeRTOS_IP_DiffConfig1_utest.c | 459 uint32_t ulGatewayAddress; in test_FreeRTOS_GetAddressConfiguration_HappyPath() local 467 xEndPoint.ipv4_settings.ulGatewayAddress = 3; in test_FreeRTOS_GetAddressConfiguration_HappyPath() 471 …FreeRTOS_GetAddressConfiguration( &ulIPAddress, &ulNetMask, &ulGatewayAddress, &ulDNSServerAddress… in test_FreeRTOS_GetAddressConfiguration_HappyPath() 474 TEST_ASSERT_EQUAL( 3, ulGatewayAddress ); in test_FreeRTOS_GetAddressConfiguration_HappyPath() 496 uint32_t ulGatewayAddress = 3; in test_FreeRTOS_SetAddressConfiguration_HappyPath() local 504 xEndPoint.ipv4_settings.ulGatewayAddress = 3; in test_FreeRTOS_SetAddressConfiguration_HappyPath() 507 …FreeRTOS_SetAddressConfiguration( &ulIPAddress, &ulNetMask, &ulGatewayAddress, &ulDNSServerAddress… in test_FreeRTOS_SetAddressConfiguration_HappyPath() 510 TEST_ASSERT_EQUAL( 3, xEndPoint.ipv4_settings.ulGatewayAddress ); in test_FreeRTOS_SetAddressConfiguration_HappyPath() 566 TEST_ASSERT_EQUAL( ulIPAddress, pxEndpoint->ipv4_settings.ulGatewayAddress ); in test_FreeRTOS_SetGatewayAddress_ValidEndpoint() 592 pxEndpoint->ipv4_settings.ulGatewayAddress = 0x00ABCDEF; in test_FreeRTOS_GetGatewayAddress_ValidEndpoint() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ThirdParty/MSP432/ |
D | NetworkMiddleware.c | 204 uint32_t ulIPAddress, ulNetMask, ulGatewayAddress, ulDNSServerAddress; in vApplicationIPNetworkEventHook() local 219 &ulGatewayAddress, in vApplicationIPNetworkEventHook() 228 FreeRTOS_inet_ntoa( ulGatewayAddress, cBuffer ); in vApplicationIPNetworkEventHook()
|
/FreeRTOS-Plus-TCP-v4.0.0/source/include/ |
D | FreeRTOS_IPv4.h | 76 void FreeRTOS_SetGatewayAddress( uint32_t ulGatewayAddress );
|
D | FreeRTOS_Routing.h | 92 …uint32_t ulGatewayAddress; /**< The IP-address of the ga… member
|
D | FreeRTOS_IP_Private.h | 98 uint32_t ulGatewayAddress; /**< The gateway address */ member
|
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/ |
D | plus_tcp_demo_cli.c | 708 uint32_t ulGatewayAddress; in handle_dnsq() local 709 FreeRTOS_GetAddressConfiguration( NULL, NULL, &( ulGatewayAddress ), NULL ); in handle_dnsq() 711 if( xIsIPInARPCache( ulGatewayAddress ) == pdFALSE ) in handle_dnsq() 713 xARPWaitResolution( ulGatewayAddress, pdMS_TO_TICKS( 5000U ) ); in handle_dnsq() 951 if( pxEndPoint->ipv4_settings.ulGatewayAddress != 0U ) in handle_gw() 953 … on '%s'\n", ( unsigned ) FreeRTOS_ntohl( pxEndPoint->ipv4_settings.ulGatewayAddress ), pxEndPoint… in handle_gw() 1625 …printf( ( "GW : %lxip\n", FreeRTOS_ntohl( pxEndPoint->ipv4_settings.ulGatewayAddress ) ) ); in showEndPoint()
|
D | http_client_test.c | 310 … if( ( pxEndPoint != NULL ) && ( pxEndPoint->ipv4_settings.ulGatewayAddress != 0U ) ) in prvEchoClientTask() 312 … xARPWaitResolution( pxEndPoint->ipv4_settings.ulGatewayAddress, pdMS_TO_TICKS( 1000U ) ); in prvEchoClientTask()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing_ConfigCompatibleWithSingle/ |
D | FreeRTOS_Routing_ConfigCompatibleWithSingle_utest.c | 111 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint.ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_HappyPath() 205 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint[ 0 ].ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 255 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint.ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_SameEndpoint() 1035 xEndPoint.ipv4_settings.ulGatewayAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_FindGateWay_IPv4HappyPath()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP/ |
D | FreeRTOS_IP_utest.c | 3526 uint32_t ulGatewayAddress; in test_FreeRTOS_GetEndPointConfiguration_AllSettings() local 3534 xEndPoint.ipv4_settings.ulGatewayAddress = 3; in test_FreeRTOS_GetEndPointConfiguration_AllSettings() 3537 …FreeRTOS_GetEndPointConfiguration( &ulIPAddress, &ulNetMask, &ulGatewayAddress, &ulDNSServerAddres… in test_FreeRTOS_GetEndPointConfiguration_AllSettings() 3540 TEST_ASSERT_EQUAL( 3, ulGatewayAddress ); in test_FreeRTOS_GetEndPointConfiguration_AllSettings() 3556 xEndPoint.ipv4_settings.ulGatewayAddress = 3; in test_FreeRTOS_GetEndPointConfiguration_AllNull() 3570 uint32_t ulGatewayAddress = 0; in test_FreeRTOS_GetEndPointConfiguration_IPv6Endpoint() local 3577 …FreeRTOS_GetEndPointConfiguration( &ulIPAddress, &ulNetMask, &ulGatewayAddress, &ulDNSServerAddres… in test_FreeRTOS_GetEndPointConfiguration_IPv6Endpoint() 3580 TEST_ASSERT_EQUAL( 0, ulGatewayAddress ); in test_FreeRTOS_GetEndPointConfiguration_IPv6Endpoint() 3592 uint32_t ulGatewayAddress = 0; in test_FreeRTOS_GetEndPointConfiguration_NullEndpoint() local 3595 …FreeRTOS_GetEndPointConfiguration( &ulIPAddress, &ulNetMask, &ulGatewayAddress, &ulDNSServerAddres… in test_FreeRTOS_GetEndPointConfiguration_NullEndpoint() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/source/ |
D | FreeRTOS_IP.c | 1087 *pulGatewayAddress = pxEndPoint->ipv4_settings.ulGatewayAddress; in FreeRTOS_GetEndPointConfiguration() 1162 pxEndPoint->ipv4_settings.ulGatewayAddress = *pulGatewayAddress; in FreeRTOS_SetEndPointConfiguration() 2280 ulIPAddress = pxEndPoint->ipv4_settings.ulGatewayAddress; in FreeRTOS_GetGatewayAddress() 2383 void FreeRTOS_SetGatewayAddress( uint32_t ulGatewayAddress ) in FreeRTOS_SetGatewayAddress() argument 2389 pxEndPoint->ipv4_settings.ulGatewayAddress = ulGatewayAddress; in FreeRTOS_SetGatewayAddress()
|
D | FreeRTOS_Routing.c | 116 …pxEndPoint->ipv4_settings.ulGatewayAddress = FreeRTOS_inet_addr_quick( ucGatewayAddress[ 0 ], ucGa… in FreeRTOS_FillEndPoint() 1044 … if( pxEndPoint->ipv4_settings.ulGatewayAddress != 0U ) /* access to ipv4_settings is checked. */ in FreeRTOS_FindGateWay() 1060 if( pxEndPoint->ipv4_settings.ulGatewayAddress != 0U ) in FreeRTOS_FindGateWay() 1287 if( pxNetworkEndPoints->ipv4_settings.ulGatewayAddress != 0U ) in FreeRTOS_FindGateWay()
|
D | FreeRTOS_DHCP.c | 1011 EP_IPv4_SETTINGS.ulGatewayAddress = pxSet->ulParameter; in vProcessHandleOption() 1660 EP_IPv4_SETTINGS.ulGatewayAddress = 0U; in prvPrepareLinkLayerIPLookUp()
|
D | FreeRTOS_ARP.c | 1057 ulAddressToLookup = ( *ppxEndPoint )->ipv4_settings.ulGatewayAddress; in eARPGetCacheEntryGateWay()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing_ConfigV4Only/ |
D | FreeRTOS_Routing_ConfigV4Only_utest.c | 225 xEndPoint.ipv4_settings.ulGatewayAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_FindGateWay_IPv4HappyPath()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_ARP/ |
D | FreeRTOS_ARP_utest.c | 2364 xARPCache[ 1 ].ulIPAddress = xNetworkAddressing.ulGatewayAddress; in test_eARPGetCacheEntry_MatchingInvalidEntry() 2368 xEndPoint.ipv4_settings.ulGatewayAddress = xNetworkAddressing.ulGatewayAddress; in test_eARPGetCacheEntry_MatchingInvalidEntry() 2392 xARPCache[ 1 ].ulIPAddress = xNetworkAddressing.ulGatewayAddress; in test_eARPGetCacheEntry_MatchingValidEntry() 2396 xEndPoint.ipv4_settings.ulGatewayAddress = xNetworkAddressing.ulGatewayAddress; in test_eARPGetCacheEntry_MatchingValidEntry() 2426 xEndPoint.ipv4_settings.ulGatewayAddress = 0; in test_eARPGetCacheEntry_GatewayAddressZero() 2476 ulSavedGatewayAddress = xNetworkAddressing.ulGatewayAddress; in test_eARPGetCacheEntry_NoCacheHit() 2477 xNetworkAddressing.ulGatewayAddress = 0; in test_eARPGetCacheEntry_NoCacheHit() 2489 xNetworkAddressing.ulGatewayAddress = ulSavedGatewayAddress; in test_eARPGetCacheEntry_NoCacheHit()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing/ |
D | FreeRTOS_Routing_utest.c | 135 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint.ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_HappyPath() 230 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint[ 0 ].ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 248 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint[ 1 ].ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 265 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint[ 2 ].ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 305 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint.ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_SameEndpoint() 2104 xEndPoint.ipv4_settings.ulGatewayAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_FindGateWay_IPv4_HappyPath() 2172 xEndPointV4.ipv4_settings.ulGatewayAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_FindGateWay_IPv4_MultipleEndpoints() 2227 xEndPoint[ 0 ].ipv4_settings.ulGatewayAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_FindGateWay_IPv6_NotFound() 2261 xEndPointV4.ipv4_settings.ulGatewayAddress = IPV4_DEFAULT_GATEWAY; in test_FreeRTOS_FindGateWay_IPv6_MultipleEndpoints()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DHCP/ |
D | FreeRTOS_DHCP_utest.c | 3993 TEST_ASSERT_EQUAL( xIPv4Addressing->ulGatewayAddress, ulGateway ); in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength() 4137 TEST_ASSERT_EQUAL( xIPv4Addressing->ulGatewayAddress, ulGateway ); in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength2() 4282 TEST_ASSERT_EQUAL( xIPv4Addressing->ulGatewayAddress, ulGateway ); in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength() 4426 TEST_ASSERT_EQUAL( xIPv4Addressing->ulGatewayAddress, ulGateway ); in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength2() 4570 TEST_ASSERT_EQUAL( xIPv4Addressing->ulGatewayAddress, ulGateway ); in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress() 4714 TEST_ASSERT_EQUAL( xIPv4Addressing->ulGatewayAddress, ulGateway ); in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress2()
|