Home
last modified time | relevance | path

Searched refs:selectIpv4Address (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DClatdControllerTest.cpp83 in_addr_t selectIpv4Address(const in_addr a, int16_t b) { in selectIpv4Address() function in android::net::ClatdControllerTest
84 return ClatdController::selectIpv4Address(a, b); in selectIpv4Address()
98 EXPECT_EQ(INADDR_NONE, selectIpv4Address(addr, 29)); in TEST_F()
99 EXPECT_EQ(INADDR_NONE, selectIpv4Address(addr, 16)); in TEST_F()
103 EXPECT_EQ(inet_addr(kIPv4LocalAddr), selectIpv4Address(addr, 29)); in TEST_F()
104 EXPECT_EQ(inet_addr(kIPv4LocalAddr), selectIpv4Address(addr, 20)); in TEST_F()
105 EXPECT_EQ(INADDR_NONE, selectIpv4Address(addr, 15)); in TEST_F()
108 EXPECT_EQ(inet_addr(kIPv4LocalAddr), selectIpv4Address(addr, 32)); in TEST_F()
109 EXPECT_EQ(INADDR_NONE, selectIpv4Address(addr, 33)); in TEST_F()
113 EXPECT_EQ(inet_addr("192.0.0.6"), selectIpv4Address(addr, 29)); in TEST_F()
[all …]
DClatdController.h85 static in_addr_t selectIpv4Address(const in_addr ip, int16_t prefixlen);
DClatdController.cpp156 in_addr_t ClatdController::selectIpv4Address(const in_addr ip, int16_t prefixlen) { in selectIpv4Address() function in android::net::ClatdController
394 v4 = {selectIpv4Address(kV4Addr, kV4AddrLen)}; in init()