Home
last modified time | relevance | path

Searched refs:ia (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/libsystemd-network/
Ddhcp6-option.c331 int dhcp6_option_append_ia(uint8_t **buf, size_t *buflen, const DHCP6IA *ia) { in dhcp6_option_append_ia() argument
341 assert_return(ia, -EINVAL); in dhcp6_option_append_ia()
345 switch (ia->type) { in dhcp6_option_append_ia()
350 .id = ia->header.id, in dhcp6_option_append_ia()
357 .id = ia->header.id, in dhcp6_option_append_ia()
378 LIST_FOREACH(addresses, addr, ia->addresses) { in dhcp6_option_append_ia()
379 if (ia->type == SD_DHCP6_OPTION_IA_PD) in dhcp6_option_append_ia()
389 return option_append_hdr(&ia_hdr, &ia_buflen, ia->type, len); in dhcp6_option_append_ia()
588 static int dhcp6_option_parse_ia_address(sd_dhcp6_client *client, DHCP6IA *ia, const uint8_t *data,… in dhcp6_option_parse_ia_address() argument
593 assert(ia); in dhcp6_option_parse_ia_address()
[all …]
Dtest-dhcp6-client.c322 _cleanup_(dhcp6_ia_freep) DHCP6IA *ia = NULL; in TEST()
332 …r = dhcp6_option_parse_ia(NULL, 0, be16toh(option->code), be16toh(option->len), option->data, &ia); in TEST()
335 … dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &ia); in TEST()
339 … dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &ia); in TEST()
343 … dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &ia); in TEST()
348 … dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &ia); in TEST()
353 … dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &ia); in TEST()
355 assert_se(ia); in TEST()
356 assert_se(ia->addresses); in TEST()
357 ia = dhcp6_ia_free(ia); in TEST()
[all …]
Dsd-dhcp6-lease.c108 void dhcp6_ia_clear_addresses(DHCP6IA *ia) { in dhcp6_ia_clear_addresses() argument
109 assert(ia); in dhcp6_ia_clear_addresses()
111 LIST_FOREACH(addresses, a, ia->addresses) in dhcp6_ia_clear_addresses()
114 ia->addresses = NULL; in dhcp6_ia_clear_addresses()
117 DHCP6IA *dhcp6_ia_free(DHCP6IA *ia) { in dhcp6_ia_free() argument
118 if (!ia) in dhcp6_ia_free()
121 dhcp6_ia_clear_addresses(ia); in dhcp6_ia_free()
123 return mfree(ia); in dhcp6_ia_free()
521 _cleanup_(dhcp6_ia_freep) DHCP6IA *ia = NULL; in dhcp6_lease_parse_message()
528 … r = dhcp6_option_parse_ia(client, client->ia_na.header.id, optcode, optlen, optval, &ia); in dhcp6_lease_parse_message()
[all …]
Ddhcp6-option.h69 void dhcp6_ia_clear_addresses(DHCP6IA *ia);
70 DHCP6IA *dhcp6_ia_free(DHCP6IA *ia);
77 int dhcp6_option_append_ia(uint8_t **buf, size_t *buflen, const DHCP6IA *ia);
/systemd-251/src/network/
Dnetworkd-dhcp-server.c198 struct in_addr ia; in link_push_uplink_to_dhcp_server() local
204 ia = link->network->dns[i]->address.in; in link_push_uplink_to_dhcp_server()
207 if (in4_addr_is_null(&ia) || in4_addr_is_localhost(&ia)) in link_push_uplink_to_dhcp_server()
213 addresses[n_addresses++] = ia; in link_push_uplink_to_dhcp_server()
224 union in_addr_union ia; in link_push_uplink_to_dhcp_server() local
226 if (in_addr_from_string(AF_INET, *i, &ia) < 0) in link_push_uplink_to_dhcp_server()
230 if (in4_addr_is_null(&ia.in) || in4_addr_is_localhost(&ia.in)) in link_push_uplink_to_dhcp_server()
236 addresses[n_addresses++] = ia.in; in link_push_uplink_to_dhcp_server()
/systemd-251/src/resolve/
Dresolved-dns-scope.c531 union in_addr_union ia; in match_subnet_reverse_lookups() local
549 r = dns_name_address(domain, &f, &ia); in match_subnet_reverse_lookups()
565 in_addr_equal(f, &a->in_addr, &ia) > 0) in match_subnet_reverse_lookups()
572 r = in_addr_prefix_covers(f, &a->in_addr, a->prefixlen, &ia); in match_subnet_reverse_lookups()
/systemd-251/src/tmpfiles/
Dtmpfiles.c3523 ItemArray *ia; in read_config_file() local
3578 ORDERED_HASHMAP_FOREACH(ia, globs) in read_config_file()
3579 for (size_t ni = 0; ni < ia->n_items; ni++) { in read_config_file()
3581 Item *i = ia->items + ni, *candidate_item = NULL; in read_config_file()
/systemd-251/po/
Dro.po765 "Autentificarea este necesară pentru a activa sau dezactiva distribuția "
902 msgstr "Revenire setări pentru rezoluția de nume"
907 "Autentificarea este necesară pentru a reseta setările pentru rezoluția de "
/systemd-251/
DNEWS590 Rike-Benjamin Schuppner, rodin-ia, Romain Naour, Ruben Kerkhof,