Home
last modified time | relevance | path

Searched refs:addAddress (Results 1 – 6 of 6) sorted by relevance

/system/netd/tests/
Dtun_interface.cpp101 if (addAddress(srcStr, 64) || addAddress(dstStr, 64)) { in init()
122 int TunInterface::addAddress(const std::string& addr, int prefixlen) { in addAddress() function in android::net::TunInterface
Dtun_interface.h45 int addAddress(const std::string& addr, int prefixlen);
Dbinder_test.cpp1281 EXPECT_EQ(0, sTun.addAddress(v6.c_str(), 64)); in TEST_F()
2211 EXPECT_EQ(0, tun1.addAddress(addr1.toString(), 32)); in TEST_F()
2212 EXPECT_EQ(0, tun2.addAddress(addr2.toString(), 32)); in TEST_F()
/system/netd/server/
DInterfaceController.h44 static int addAddress(const char* ifName, const char* addrString, int prefixLength);
DInterfaceController.cpp364 int InterfaceController::addAddress(const char *interface, in addAddress() function in android::net::InterfaceController
DNetdNativeService.cpp508 const int err = InterfaceController::addAddress( in interfaceAddAddress()