Searched refs:ipv4_defaults (Results 1 – 10 of 10) sorted by relevance
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing_ConfigCompatibleWithSingle/ |
HD | FreeRTOS_Routing_ConfigCompatibleWithSingle_utest.c | 109 TEST_ASSERT_EQUAL( IPV4_DEFAULT_ADDRESS, xEndPoint.ipv4_defaults.ulIPAddress ); in test_FreeRTOS_FillEndPoint_HappyPath() 110 TEST_ASSERT_EQUAL( IPV4_DEFAULT_NETMASK, xEndPoint.ipv4_defaults.ulNetMask ); in test_FreeRTOS_FillEndPoint_HappyPath() 111 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint.ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_HappyPath() 112 TEST_ASSERT_EQUAL( IPV4_DEFAULT_DNS_SERVER, xEndPoint.ipv4_defaults.ulDNSServerAddresses[ 0 ] ); in test_FreeRTOS_FillEndPoint_HappyPath() 203 TEST_ASSERT_EQUAL( IPV4_DEFAULT_ADDRESS, xEndPoint[ 0 ].ipv4_defaults.ulIPAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 204 TEST_ASSERT_EQUAL( IPV4_DEFAULT_NETMASK, xEndPoint[ 0 ].ipv4_defaults.ulNetMask ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 205 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint[ 0 ].ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 206 …TEST_ASSERT_EQUAL( IPV4_DEFAULT_DNS_SERVER, xEndPoint[ 0 ].ipv4_defaults.ulDNSServerAddresses[ 0 ]… in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 253 TEST_ASSERT_EQUAL( IPV4_DEFAULT_ADDRESS, xEndPoint.ipv4_defaults.ulIPAddress ); in test_FreeRTOS_FillEndPoint_SameEndpoint() 254 TEST_ASSERT_EQUAL( IPV4_DEFAULT_NETMASK, xEndPoint.ipv4_defaults.ulNetMask ); in test_FreeRTOS_FillEndPoint_SameEndpoint() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Routing/ |
HD | FreeRTOS_Routing_utest.c | 133 TEST_ASSERT_EQUAL( IPV4_DEFAULT_ADDRESS, xEndPoint.ipv4_defaults.ulIPAddress ); in test_FreeRTOS_FillEndPoint_HappyPath() 134 TEST_ASSERT_EQUAL( IPV4_DEFAULT_NETMASK, xEndPoint.ipv4_defaults.ulNetMask ); in test_FreeRTOS_FillEndPoint_HappyPath() 135 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint.ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_HappyPath() 136 TEST_ASSERT_EQUAL( IPV4_DEFAULT_DNS_SERVER, xEndPoint.ipv4_defaults.ulDNSServerAddresses[ 0 ] ); in test_FreeRTOS_FillEndPoint_HappyPath() 228 TEST_ASSERT_EQUAL( IPV4_DEFAULT_ADDRESS, xEndPoint[ 0 ].ipv4_defaults.ulIPAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 229 TEST_ASSERT_EQUAL( IPV4_DEFAULT_NETMASK, xEndPoint[ 0 ].ipv4_defaults.ulNetMask ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 230 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint[ 0 ].ipv4_defaults.ulGatewayAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 231 …TEST_ASSERT_EQUAL( IPV4_DEFAULT_DNS_SERVER, xEndPoint[ 0 ].ipv4_defaults.ulDNSServerAddresses[ 0 ]… in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 246 TEST_ASSERT_EQUAL( IPV4_DEFAULT_GATEWAY, xEndPoint[ 1 ].ipv4_defaults.ulIPAddress ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() 247 TEST_ASSERT_EQUAL( IPV4_DEFAULT_NETMASK, xEndPoint[ 1 ].ipv4_defaults.ulNetMask ); in test_FreeRTOS_FillEndPoint_MultipleEndpoints() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DHCP/ |
HD | FreeRTOS_DHCP_utest.c | 347 pxEndPoint->ipv4_defaults.ulIPAddress = 0x12345678; in test_vDHCPProcess_CorrectStateDHCPHookFailsDHCPSocketNULL() 352 ulStubExpectedIPAddress = pxEndPoint->ipv4_defaults.ulIPAddress; in test_vDHCPProcess_CorrectStateDHCPHookFailsDHCPSocketNULL() 367 … TEST_ASSERT_EQUAL( pxEndPoint->ipv4_defaults.ulIPAddress, pxEndPoint->ipv4_settings.ulIPAddress ); in test_vDHCPProcess_CorrectStateDHCPHookFailsDHCPSocketNULL() 384 pxEndPoint->ipv4_defaults.ulIPAddress = 0x12345678; in test_vDHCPProcess_CorrectStateDHCPHookFailsDHCPSocketNonNULL() 393 ulStubExpectedIPAddress = pxEndPoint->ipv4_defaults.ulIPAddress; in test_vDHCPProcess_CorrectStateDHCPHookFailsDHCPSocketNonNULL() 410 … TEST_ASSERT_EQUAL( pxEndPoint->ipv4_defaults.ulIPAddress, pxEndPoint->ipv4_settings.ulIPAddress ); in test_vDHCPProcess_CorrectStateDHCPHookFailsDHCPSocketNonNULL() 429 memset( &pxEndPoint->ipv4_defaults, 0xBB, sizeof( IPV4Parameters_t ) ); in test_vDHCPProcess_CorrectStateDHCPHookDefaultReturn() 438 ulStubExpectedIPAddress = pxEndPoint->ipv4_defaults.ulIPAddress; in test_vDHCPProcess_CorrectStateDHCPHookDefaultReturn() 455 …TEST_ASSERT_EQUAL_MEMORY( &pxEndPoint->ipv4_defaults, &pxEndPoint->ipv4_settings, sizeof( IPV4Para… in test_vDHCPProcess_CorrectStateDHCPHookDefaultReturn() 457 … TEST_ASSERT_EQUAL( pxEndPoint->ipv4_defaults.ulIPAddress, pxEndPoint->ipv4_settings.ulIPAddress ); in test_vDHCPProcess_CorrectStateDHCPHookDefaultReturn() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/source/ |
HD | FreeRTOS_DHCP.c | 370 …( void ) memcpy( &( pxEndPoint->ipv4_settings ), &( pxEndPoint->ipv4_defaults ), sizeof( pxEndPoin… in xHandleWaitingOffer() 557 …r_t eAnswer = xApplicationDHCPHook( eDHCPPhasePreDiscover, pxEndPoint->ipv4_defaults.ulIPAddress ); in xHandleWaitingFirstDiscover() 562 xIPAddress.ulIP_IPv4 = pxEndPoint->ipv4_defaults.ulIPAddress; in xHandleWaitingFirstDiscover() 600 …( void ) memcpy( &( pxEndPoint->ipv4_settings ), &( pxEndPoint->ipv4_defaults ), sizeof( pxEndPoin… in xHandleWaitingFirstDiscover() 809 EP_IPv4_SETTINGS.ulIPAddress = pxEndPoint->ipv4_defaults.ulIPAddress; in vDHCPProcessEndPoint() 810 … iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( pxEndPoint->ipv4_defaults.ulIPAddress ); in vDHCPProcessEndPoint()
|
HD | FreeRTOS_Routing.c | 121 …( void ) memcpy( &( pxEndPoint->ipv4_defaults ), &( pxEndPoint->ipv4_settings ), sizeof( pxEndPoin… in FreeRTOS_FillEndPoint() 125 pxEndPoint->ipv4_defaults.ulIPAddress = ulIPAddress; in FreeRTOS_FillEndPoint() 311 … ( unsigned ) FreeRTOS_ntohl( pxEndPoint->ipv4_defaults.ulIPAddress ) ) ); in FreeRTOS_AddEndPoint()
|
HD | FreeRTOS_IP_Utils.c | 914 …( void ) memcpy( &( pxEndPoint->ipv4_settings ), &( pxEndPoint->ipv4_defaults ), sizeof( pxEndPoin… in prvProcessNetworkDownEvent()
|
HD | FreeRTOS_IP.c | 2236 ulIPAddress = pxEndPoint->ipv4_defaults.ulIPAddress; in FreeRTOS_GetIPAddress()
|
/FreeRTOS-Plus-TCP-v4.0.0/source/include/ |
HD | FreeRTOS_Routing.h | 149 … IPV4Parameters_t ipv4_defaults; /**< Use values form "ipv4_defaults" in case DHCP has failed. */ member
|
/FreeRTOS-Plus-TCP-v4.0.0/tools/tcp_utilities/ |
HD | plus_tcp_demo_cli.c | 1617 if( pxEndPoint->ipv4_settings.ulIPAddress != pxEndPoint->ipv4_defaults.ulIPAddress ) in showEndPoint() 1619 …reeRTOS_printf( ( "Default IP : %lxip\n", FreeRTOS_ntohl( pxEndPoint->ipv4_defaults.ulIPAddress ) … in showEndPoint()
|
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_IP/ |
HD | FreeRTOS_IP_utest.c | 3413 xEndPoint.ipv4_defaults.ulIPAddress = 0xAB12CD34; in test_FreeRTOS_GetIPAddress_DefaultSetting()
|