/systemd-251/src/network/ ! |
D | networkd-state-file.c | 107 …_cleanup_ordered_set_free_ OrderedSet *dns = NULL, *ntp = NULL, *sip = NULL, *search_domains = NUL… in manager_save() local 156 r = ordered_set_put_strdupv(&ntp, link->ntp ?: link->network->ntp); in manager_save() 185 … r = ordered_set_put_in4_addrv(&ntp, addresses, r, in4_addr_is_non_local); in manager_save() 268 ordered_set_print(f, "NTP=", ntp); in manager_save() 575 if (link->ntp) { in link_save() 577 fputstrv(f, link->ntp, NULL, NULL); in link_save() 581 link->network->ntp, in link_save()
|
D | networkd-link-bus.c | 81 _cleanup_strv_free_ char **ntp = NULL; in bus_link_method_set_ntp_servers() local 92 r = sd_bus_message_read_strv(message, &ntp); in bus_link_method_set_ntp_servers() 96 STRV_FOREACH(i, ntp) { in bus_link_method_set_ntp_servers() 113 strv_free_and_replace(l->ntp, ntp); in bus_link_method_set_ntp_servers()
|
D | networkd-json.c | 712 STRV_FOREACH(p, link->ntp ?: link->network->ntp) { in ntp_build_json() 725 if (!link->ntp) { in ntp_build_json() 727 const struct in_addr *ntp; in ntp_build_json() local 735 n_ntp = sd_dhcp_lease_get_ntp(link->dhcp_lease, &ntp); in ntp_build_json() 743 … &(union in_addr_union) { .in = ntp[i], }, in ntp_build_json()
|
D | networkd-link.h | 193 char **ntp; member
|
D | networkd-network.h | 355 char **ntp; member
|
D | networkctl.c | 1551 …_cleanup_strv_free_ char **dns = NULL, **ntp = NULL, **sip = NULL, **search_domains = NULL, **rout… in link_status_one() local 1579 (void) sd_network_link_get_ntp(info->ifindex, &ntp); in link_status_one() 2200 r = dump_list(table, "NTP:", ntp); in link_status_one() 2305 …_cleanup_strv_free_ char **dns = NULL, **ntp = NULL, **search_domains = NULL, **route_domains = NU… in system_status() local 2370 (void) sd_network_get_ntp(&ntp); in system_status() 2371 r = dump_list(table, "NTP:", ntp); in system_status()
|
D | networkd-dhcp4.c | 679 const struct in_addr *ntp; in dhcp4_request_routes_to_ntp() local 691 r = sd_dhcp_lease_get_ntp(link->dhcp_lease, &ntp); in dhcp4_request_routes_to_ntp() 697 return dhcp4_request_routes_to_servers(link, ntp, r, gw); in dhcp4_request_routes_to_ntp()
|
D | networkd-dhcp-server.c | 223 STRV_FOREACH(i, link->network->ntp) { in link_push_uplink_to_dhcp_server()
|
D | networkd-link.c | 160 link->ntp = strv_free(link->ntp); in link_ntp_settings_clear()
|
D | networkd-network.c | 692 strv_free(network->ntp); in network_free()
|
D | networkd-network-gperf.gperf | 123 …_ntp, 0, offsetof(Network, ntp)
|
/systemd-251/test/test-network/conf/ ! |
D | 25-state-file-tests.network | 12 NTP=0.fedora.pool.ntp.org 1.fedora.pool.ntp.org
|
/systemd-251/shell-completion/zsh/ ! |
D | _timedatectl | 23 _timedatectl_set-ntp(){ 40 'set-ntp:Control whether NTP is enabled'
|
/systemd-251/shell-completion/bash/ ! |
D | timedatectl | 65 [BOOLEAN]='set-local-rtc set-ntp' 69 [IFNAME]='ntp-servers revert'
|
/systemd-251/src/libsystemd-network/ ! |
D | sd-dhcp6-lease.c | 347 … r = dhcp6_option_parse_addresses(subval, sublen, &lease->ntp, &lease->ntp_count); in dhcp6_lease_add_ntp() 388 if (lease->ntp) { in sd_dhcp6_lease_get_ntp_addrs() 390 *ret = lease->ntp; in sd_dhcp6_lease_get_ntp_addrs() 661 free(lease->ntp); in dhcp6_lease_free()
|
D | dhcp6-lease-internal.h | 40 struct in6_addr *ntp; member
|
D | sd-dhcp-lease.c | 1150 *ntp = NULL, in dhcp_lease_load() local 1187 "NTP", &ntp, in dhcp_lease_load() 1289 if (ntp) { in dhcp_lease_load() 1290 r = deserialize_in_addrs(&lease->servers[SD_DHCP_LEASE_NTP].addr, ntp); in dhcp_lease_load() 1292 … log_debug_errno(r, "Failed to deserialize NTP servers %s, ignoring: %m", ntp); in dhcp_lease_load()
|
D | sd-dhcp-server.c | 1519 int sd_dhcp_server_set_ntp(sd_dhcp_server *server, const struct in_addr ntp[], size_t n) { in sd_dhcp_server_set_ntp() argument 1520 return sd_dhcp_server_set_servers(server, SD_DHCP_LEASE_NTP, ntp, n); in sd_dhcp_server_set_ntp()
|
/systemd-251/docs/ ! |
D | DISTRO_PORTING.md | 59 vendor pool at ntp.org and make it the built-in default by 61 pools is [free](http://www.pool.ntp.org/en/vendors.html).
|
D | ENVIRONMENT.md | 231 NTP client services. If set, `timedatectl set-ntp on` enables and starts the 233 `timedatectl set-ntp off` disables and stops all listed units.
|
/systemd-251/src/systemd/ ! |
D | sd-network.h | 65 int sd_network_get_ntp(char ***ntp);
|
D | sd-dhcp-server.h | 76 int sd_dhcp_server_set_ntp(sd_dhcp_server *server, const struct in_addr ntp[], size_t n);
|
/systemd-251/src/timesync/ ! |
D | meson.build | 8 'timesyncd-ntp-message.h',
|
D | timesyncd-manager.c | 973 _cleanup_strv_free_ char **ntp = NULL; in manager_network_read_link_servers() local 979 r = sd_network_get_ntp(&ntp); in manager_network_read_link_servers() 991 STRV_FOREACH(i, ntp) { in manager_network_read_link_servers()
|
/systemd-251/ ! |
D | meson_options.txt | 331 option('ntp-servers', type : 'string',
|