Lines Matching refs:ipv4masklen
844 uint8_t ipv4masklen, in dhcp4_calculate_pd_prefix() argument
853 assert(ipv4masklen <= 32); in dhcp4_calculate_pd_prefix()
855 assert(32 - ipv4masklen + sixrd_prefixlen <= 128); in dhcp4_calculate_pd_prefix()
859 for (unsigned i = 0; i < (unsigned) (32 - ipv4masklen); i++) in dhcp4_calculate_pd_prefix()
860 if (ipv4address->s_addr & htobe32(UINT32_C(1) << (32 - ipv4masklen - i - 1))) in dhcp4_calculate_pd_prefix()
865 *ret_pd_prefixlen = 32 - ipv4masklen + sixrd_prefixlen; in dhcp4_calculate_pd_prefix()
869 uint8_t ipv4masklen, sixrd_prefixlen, pd_prefixlen; in dhcp4_pd_assign_subnet_prefix() local
891 …r = sd_dhcp_lease_get_6rd(uplink->dhcp_lease, &ipv4masklen, &sixrd_prefixlen, &sixrd_prefix, &br_a… in dhcp4_pd_assign_subnet_prefix()
895 …dhcp4_calculate_pd_prefix(&ipv4address, ipv4masklen, &sixrd_prefix, sixrd_prefixlen, &pd_prefix, &… in dhcp4_pd_assign_subnet_prefix()
940 uint8_t ipv4masklen, sixrd_prefixlen, pd_prefixlen; in dhcp4_pd_prefix_acquired() local
967 …r = sd_dhcp_lease_get_6rd(uplink->dhcp_lease, &ipv4masklen, &sixrd_prefixlen, &sixrd_prefix, &br_a… in dhcp4_pd_prefix_acquired()
976 ipv4masklen, strna(buf), IPV4_ADDRESS_FMT_VAL(*br_addresses)); in dhcp4_pd_prefix_acquired()
980 …dhcp4_calculate_pd_prefix(&ipv4address, ipv4masklen, &sixrd_prefix, sixrd_prefixlen, &pd_prefix, &… in dhcp4_pd_prefix_acquired()