Searched refs:prefixlen (Results 1 – 3 of 3) sorted by relevance
/system/core/include/netutils/ |
D | ifc.h | 45 int prefixlen); 47 int prefixlen);
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 144 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) in has_prefix() argument 146 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) in has_prefix() 147 return str + prefixlen; in has_prefix()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 248 int prefixlen) { in ifc_act_on_address() argument 304 req.r.ifa_prefixlen = prefixlen; in ifc_act_on_address() 337 int ifc_add_address(const char *name, const char *address, int prefixlen) { in ifc_add_address() argument 338 return ifc_act_on_address(RTM_NEWADDR, name, address, prefixlen); in ifc_add_address() 341 int ifc_del_address(const char *name, const char * address, int prefixlen) { in ifc_del_address() argument 342 return ifc_act_on_address(RTM_DELADDR, name, address, prefixlen); in ifc_del_address() 350 unsigned int prefixlen; in ifc_clear_ipv6_addresses() local 361 rawaddrstr, &prefixlen, ifname) == 3) { in ifc_clear_ipv6_addresses() 382 ret = ifc_del_address(ifname, addrstr, prefixlen); in ifc_clear_ipv6_addresses() 384 ALOGE("Deleting address %s/%d on %s: %s", addrstr, prefixlen, ifname, in ifc_clear_ipv6_addresses()
|