Home
last modified time | relevance | path

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

/system/core/libnetutils/include/netutils/
Difc.h46 extern int ifc_act_on_address(int action, const char* name, const char* address, int prefixlen,
/system/core/libnetutils/
Difc_utils.c260 int ifc_act_on_address(int action, const char* name, const char* address, int prefixlen, in ifc_act_on_address() function
367 return ifc_act_on_address(RTM_NEWADDR, name, address, prefixlen, /*nodad*/ false); in ifc_add_address()
372 return ifc_act_on_address(RTM_DELADDR, name, address, prefixlen, /*nodad*/ false); in ifc_del_address()
/system/netd/tests/
Dtun_interface.cpp142 if (int ret = ifc_act_on_address(RTM_NEWADDR, mIfName.c_str(), addr.c_str(), prefixlen, in addAddress()