Home
last modified time | relevance | path

Searched refs:addrString (Results 1 – 11 of 11) sorted by relevance

/system/netd/server/
DInterfaceController.h44 static int addAddress(const char* ifName, const char* addrString, int prefixLength);
45 static int delAddress(const char* ifName, const char* addrString, int prefixLength);
DInterfaceController.cpp365 const char *addrString, int prefixLength) { in addAddress() argument
366 return ifc_add_address(interface, addrString, prefixLength); in addAddress()
371 const char *addrString, int prefixLength) { in delAddress() argument
372 return ifc_del_address(interface, addrString, prefixLength); in delAddress()
DNetdNativeService.h150 const std::string &addrString, int prefixLength) override;
152 const std::string &addrString, int prefixLength) override;
DNetdNativeService.cpp504 const std::string &addrString, int prefixLength) { in interfaceAddAddress() argument
507 ifName.c_str(), addrString.c_str(), prefixLength); in interfaceAddAddress()
516 const std::string &addrString, int prefixLength) { in interfaceDelAddress() argument
519 ifName.c_str(), addrString.c_str(), prefixLength); in interfaceDelAddress()
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl17 …void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceAddAddress() argument
18 …void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceDelAddress() argument
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl35 …void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceAddAddress() argument
36 …void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceDelAddress() argument
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl34 …void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceAddAddress() argument
35 …void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceDelAddress() argument
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl35 …void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceAddAddress() argument
36 …void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceDelAddress() argument
/system/netd/server/binder/android/net/
DINetd.aidl212 void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, in interfaceAddAddress() argument
214 void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, in interfaceDelAddress() argument
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl35 …void interfaceAddAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceAddAddress() argument
36 …void interfaceDelAddress(in @utf8InCpp String ifName, in @utf8InCpp String addrString, int prefixL… in interfaceDelAddress() argument
/system/netd/tests/
Dbinder_test.cpp739 const std::string &ifname, const char *addrString, int prefixLength) { in interfaceHasAddress() argument
747 if (getaddrinfo(addrString, nullptr, &hints, &addrinfoList) != 0 || in interfaceHasAddress()
810 const char *addrString; in TEST_F() member
831 SCOPED_TRACE(String8::format("Offending IP address %s/%d", td.addrString, td.prefixLength)); in TEST_F()
835 sTun.name(), td.addrString, td.prefixLength); in TEST_F()
845 EXPECT_TRUE(interfaceHasAddress(sTun.name(), td.addrString, td.prefixLength)); in TEST_F()
847 EXPECT_FALSE(interfaceHasAddress(sTun.name(), td.addrString, -1)); in TEST_F()
851 status = mNetd->interfaceDelAddress(sTun.name(), td.addrString, td.prefixLength); in TEST_F()
860 EXPECT_FALSE(interfaceHasAddress(sTun.name(), td.addrString, -1)); in TEST_F()