Lines Matching refs:addresses
133 SET_FOREACH(address, link->addresses) { in link_find_dhcp_server_address()
179 _cleanup_free_ struct in_addr *addresses = NULL; in link_push_uplink_to_dhcp_server() local
210 if (!GREEDY_REALLOC(addresses, n_addresses + 1)) in link_push_uplink_to_dhcp_server()
213 addresses[n_addresses++] = ia; in link_push_uplink_to_dhcp_server()
233 if (!GREEDY_REALLOC(addresses, n_addresses + 1)) in link_push_uplink_to_dhcp_server()
236 addresses[n_addresses++] = ia.in; in link_push_uplink_to_dhcp_server()
265 if (!GREEDY_REALLOC(addresses, n_addresses + n)) in link_push_uplink_to_dhcp_server()
270 addresses[n_addresses++] = da[j]; in link_push_uplink_to_dhcp_server()
277 return sd_dhcp_server_set_servers(s, what, addresses, n_addresses); in link_push_uplink_to_dhcp_server()
282 struct in_addr **addresses, in dhcp4_server_parse_dns_server_string_and_warn() argument
310 if (!GREEDY_REALLOC(*addresses, *n_addresses + 1)) in dhcp4_server_parse_dns_server_string_and_warn()
313 (*addresses)[(*n_addresses)++] = address.in; in dhcp4_server_parse_dns_server_string_and_warn()
320 _cleanup_free_ struct in_addr *addresses = NULL; in dhcp4_server_set_dns_from_resolve_conf() local
354 r = dhcp4_server_parse_dns_server_string_and_warn(a, &addresses, &n_addresses); in dhcp4_server_set_dns_from_resolve_conf()
362 return sd_dhcp_server_set_dns(link->dhcp_server, addresses, n_addresses); in dhcp4_server_set_dns_from_resolve_conf()
439 link->network->dhcp_server_emit[type].addresses, in dhcp4_server_configure()
657 emit->addresses = mfree(emit->addresses); in config_parse_dhcp_server_emit()
695 if (!GREEDY_REALLOC(emit->addresses, emit->n_addresses + 1)) in config_parse_dhcp_server_emit()
698 emit->addresses[emit->n_addresses++] = a.in; in config_parse_dhcp_server_emit()