Lines Matching defs:prefixlen
410 log_link_warning_errno(link, r, "rtnl: received route with invalid destination prefixlen, ignoring: %m");
416 log_link_warning_errno(link, r, "rtnl: received route with invalid source prefixlen, ignoring: %m");
478 unsigned char prefixlen;
532 r = sd_rtnl_message_addr_get_prefixlen(message, &prefixlen);
534 log_link_warning_errno(link, r, "rtnl: received address with invalid prefixlen, ignoring: %m");
586 address_get(link, family, &in_addr, prefixlen, &address);
591 log_link_debug(link, "Updating address: %s/%u (valid %s%s)", buf, prefixlen,
595 r = address_add_foreign(link, family, &in_addr, prefixlen, &address);
597 log_link_warning_errno(link, r, "Failed to add address %s/%u: %m", buf, prefixlen);
600 log_link_debug(link, "Adding address: %s/%u (valid %s%s)", buf, prefixlen,
611 log_link_debug(link, "Removing address: %s/%u (valid %s%s)", buf, prefixlen,
615 log_link_warning(link, "Removing non-existent address: %s/%u (valid %s%s)", buf, prefixlen,
1270 int manager_address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found) {
1275 assert(prefixlen > 0);
1282 r = address_pool_acquire(p, prefixlen, found);