Home
last modified time | relevance | path

Searched refs:config_select_ipv4_address (Results 1 – 4 of 4) sorted by relevance

/external/android-clat/
Dclatd_test.cpp705 EXPECT_EQ(INADDR_NONE, config_select_ipv4_address(&addr, 29)); in TEST_F()
706 EXPECT_EQ(INADDR_NONE, config_select_ipv4_address(&addr, 16)); in TEST_F()
710 EXPECT_EQ(inet_addr(kIPv4LocalAddr), config_select_ipv4_address(&addr, 29)); in TEST_F()
711 EXPECT_EQ(inet_addr(kIPv4LocalAddr), config_select_ipv4_address(&addr, 20)); in TEST_F()
712 EXPECT_EQ(INADDR_NONE, config_select_ipv4_address(&addr, 15)); in TEST_F()
715 EXPECT_EQ(inet_addr(kIPv4LocalAddr), config_select_ipv4_address(&addr, 32)); in TEST_F()
716 EXPECT_EQ(INADDR_NONE, config_select_ipv4_address(&addr, 33)); in TEST_F()
720 EXPECT_EQ(inet_addr("192.0.0.6"), config_select_ipv4_address(&addr, 29)); in TEST_F()
724 EXPECT_EQ(inet_addr("192.0.0.2"), config_select_ipv4_address(&addr, 29)); in TEST_F()
725 EXPECT_EQ(INADDR_NONE, config_select_ipv4_address(&addr, 30)); in TEST_F()
[all …]
Dconfig.h45 in_addr_t config_select_ipv4_address(const struct in_addr *ip, int16_t prefixlen);
Dconfig.c248 in_addr_t config_select_ipv4_address(const struct in_addr *ip, int16_t prefixlen) { in config_select_ipv4_address() function
Dclatd.c130 in_addr_t localaddr = config_select_ipv4_address(&Global_Clatd_Config.ipv4_local_subnet, in configure_tun_ip()