Home
last modified time | relevance | path

Searched refs:fqdn (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/libsystemd-network/
Dsd-dhcp6-lease.c416 char *fqdn; in dhcp6_lease_set_fqdn() local
430 r = dhcp6_option_parse_domainname(optval + 1, optlen - 1, &fqdn); in dhcp6_lease_set_fqdn()
434 return free_and_replace(lease->fqdn, fqdn); in dhcp6_lease_set_fqdn()
441 if (!lease->fqdn) in sd_dhcp6_lease_get_fqdn()
444 *ret = lease->fqdn; in sd_dhcp6_lease_get_fqdn()
659 free(lease->fqdn); in dhcp6_lease_free()
Dsd-dhcp6-client.c337 const char *fqdn) { in sd_dhcp6_client_set_fqdn() argument
343 if (fqdn && in sd_dhcp6_client_set_fqdn()
344 !(hostname_is_valid(fqdn, 0) && dns_name_is_valid(fqdn) > 0)) in sd_dhcp6_client_set_fqdn()
347 return free_and_strdup(&client->fqdn, fqdn); in sd_dhcp6_client_set_fqdn()
592 if (client->fqdn) { in client_append_common_options_in_managed_mode()
593 r = dhcp6_option_append_fqdn(opt, optlen, client->fqdn); in client_append_common_options_in_managed_mode()
1443 free(client->fqdn); in dhcp6_client_free()
Ddhcp6-option.c392 int dhcp6_option_append_fqdn(uint8_t **buf, size_t *buflen, const char *fqdn) { in dhcp6_option_append_fqdn() argument
396 assert_return(buf && *buf && buflen && fqdn, -EINVAL); in dhcp6_option_append_fqdn()
401 r = dns_name_to_wire_format(fqdn, buffer + 1, sizeof(buffer) - 1, false); in dhcp6_option_append_fqdn()
411 if (dns_name_is_single_label(fqdn)) in dhcp6_option_append_fqdn()
Ddhcp6-internal.h68 char *fqdn; member
Ddhcp6-lease-internal.h45 char *fqdn; member
Ddhcp6-option.h78 int dhcp6_option_append_fqdn(uint8_t **buf, size_t *buflen, const char *fqdn);
Dsd-dhcp-client.c960 const char *fqdn) { in client_append_fqdn_option() argument
970 r = dns_name_to_wire_format(fqdn, buffer + 3, sizeof(buffer) - 3, false); in client_append_fqdn_option()
/systemd-251/src/systemd/
Dsd-dhcp6-client.h232 const char *fqdn);
/systemd-251/src/network/
Dnetworkd-json.c675 static int server_build_json_one_fqdn(int family, const char *fqdn, NetworkConfigSource s, const un… in server_build_json_one_fqdn() argument
677 assert(fqdn); in server_build_json_one_fqdn()
681 JSON_BUILD_PAIR_STRING("Server", fqdn), in server_build_json_one_fqdn()
/systemd-251/
DTODO1842 - option 12, hostname and/or option 81, fqdn