Lines Matching refs:prefixlen
372 (void) in6_addr_prefix_to_string(&address->in_addr.in6, address->prefixlen, &buffer); in log_dhcp_pd_address()
412 address->prefixlen = 64; in dhcp_pd_request_address()
633 .prefixlen = route->dst_prefixlen, in dhcp_pd_prefix_lost()
690 uint8_t prefixlen, in dhcp_request_unreachable_route() argument
708 if (prefixlen >= 64) { in dhcp_request_unreachable_route()
711 (void) in6_addr_prefix_to_string(addr, prefixlen, &buf); in dhcp_request_unreachable_route()
725 route->dst_prefixlen = prefixlen; in dhcp_request_unreachable_route()
740 (void) in6_addr_prefix_to_string(addr, prefixlen, &buf); in dhcp_request_unreachable_route()
751 uint8_t prefixlen, in dhcp4_request_unreachable_route() argument
755 return dhcp_request_unreachable_route(link, addr, prefixlen, lifetime_usec, in dhcp4_request_unreachable_route()
763 uint8_t prefixlen, in dhcp6_request_unreachable_route() argument
767 return dhcp_request_unreachable_route(link, addr, prefixlen, lifetime_usec, in dhcp6_request_unreachable_route()
772 static int dhcp_pd_prefix_add(Link *link, const struct in6_addr *prefix, uint8_t prefixlen) { in dhcp_pd_prefix_add() argument
786 .prefixlen = prefixlen, in dhcp_pd_prefix_add()
790 (void) in6_addr_prefix_to_string(prefix, prefixlen, &buf); in dhcp_pd_prefix_add()
794 prefixlen > 64 || prefixlen < 48 ? LOG_WARNING : LOG_INFO, in dhcp_pd_prefix_add()
797 prefixlen > 64 ? " with prefix length > 64, ignoring." : in dhcp_pd_prefix_add()
798 prefixlen < 48 ? " with prefix length < 48, looks unusual.": ""); in dhcp_pd_prefix_add()