Lines Matching refs:prefixlen
261 int prefixlen) {
320 req.r.ifa_prefixlen = prefixlen;
336 ((struct in_addr *)addr)->s_addr |= htonl((1<<(32-prefixlen))-1);
369 int ifc_add_address(const char *name, const char *address, int prefixlen) {
370 return ifc_act_on_address(RTM_NEWADDR, name, address, prefixlen);
373 int ifc_del_address(const char *name, const char * address, int prefixlen) {
374 return ifc_act_on_address(RTM_DELADDR, name, address, prefixlen);
382 unsigned int prefixlen;
393 rawaddrstr, &prefixlen, ifname) == 3) {
414 ret = ifc_del_address(ifname, addrstr, prefixlen);
416 ALOGE("Deleting address %s/%d on %s: %s", addrstr, prefixlen, ifname,