Searched refs:ipv4masklen (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/network/ |
D | networkd-dhcp-prefix-delegation.c | 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 [all …]
|
/systemd-251/src/network/netdev/ |
D | tunnel.c | 40 uint8_t ipv4masklen, sixrd_prefixlen, *buf, *p; in dhcp4_pd_create_6rd_tunnel_name() local 55 …r = sd_dhcp_lease_get_6rd(link->dhcp_lease, &ipv4masklen, &sixrd_prefixlen, &sixrd_prefix, NULL, N… in dhcp4_pd_create_6rd_tunnel_name() 62 p = mempcpy(p, &ipv4masklen, sizeof(uint8_t)); in dhcp4_pd_create_6rd_tunnel_name() 94 uint8_t ipv4masklen, in dhcp4_pd_create_6rd_tunnel_message() argument 128 (void) in4_addr_mask(&relay_prefix, ipv4masklen); in dhcp4_pd_create_6rd_tunnel_message() 133 r = sd_netlink_message_append_u16(m, IFLA_IPTUN_6RD_RELAY_PREFIXLEN, ipv4masklen); in dhcp4_pd_create_6rd_tunnel_message() 150 uint8_t ipv4masklen, sixrd_prefixlen; in dhcp4_pd_create_6rd_tunnel() local 166 …r = sd_dhcp_lease_get_6rd(link->dhcp_lease, &ipv4masklen, &sixrd_prefixlen, &sixrd_prefix, NULL, N… in dhcp4_pd_create_6rd_tunnel() 175 &ipv4address, ipv4masklen, in dhcp4_pd_create_6rd_tunnel()
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-lease.c | 572 uint8_t ipv4masklen, prefixlen; in lease_parse_6rd() local 594 ipv4masklen = option[0]; in lease_parse_6rd() 595 if (ipv4masklen > 32) in lease_parse_6rd() 602 if (32 - ipv4masklen + prefixlen > 128) in lease_parse_6rd() 617 lease->sixrd_ipv4masklen = ipv4masklen; in lease_parse_6rd()
|