/system/netd/server/ |
D | InterfaceController.h | 44 static int addAddress(const char* ifName, const char* addrString, int prefixLength); 45 static int delAddress(const char* ifName, const char* addrString, int prefixLength);
|
D | InterfaceController.cpp | 365 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()
|
D | NetdNativeService.h | 150 const std::string &addrString, int prefixLength) override; 152 const std::string &addrString, int prefixLength) override;
|
D | NetdNativeService.cpp | 504 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/ |
D | INetd.aidl | 17 …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/ |
D | INetd.aidl | 35 …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/ |
D | INetd.aidl | 34 …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/ |
D | INetd.aidl | 35 …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/ |
D | INetd.aidl | 212 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/ |
D | INetd.aidl | 35 …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/ |
D | binder_test.cpp | 739 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()
|