Home
last modified time | relevance | path

Searched refs:ntp (Results 1 – 25 of 27) sorted by relevance

12

/systemd-251/src/network/ !
Dnetworkd-state-file.c107 …_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()
Dnetworkd-link-bus.c81 _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()
Dnetworkd-json.c712 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()
Dnetworkd-link.h193 char **ntp; member
Dnetworkd-network.h355 char **ntp; member
Dnetworkctl.c1551 …_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()
Dnetworkd-dhcp4.c679 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()
Dnetworkd-dhcp-server.c223 STRV_FOREACH(i, link->network->ntp) { in link_push_uplink_to_dhcp_server()
Dnetworkd-link.c160 link->ntp = strv_free(link->ntp); in link_ntp_settings_clear()
Dnetworkd-network.c692 strv_free(network->ntp); in network_free()
Dnetworkd-network-gperf.gperf123 …_ntp, 0, offsetof(Network, ntp)
/systemd-251/test/test-network/conf/ !
D25-state-file-tests.network12 NTP=0.fedora.pool.ntp.org 1.fedora.pool.ntp.org
/systemd-251/shell-completion/zsh/ !
D_timedatectl23 _timedatectl_set-ntp(){
40 'set-ntp:Control whether NTP is enabled'
/systemd-251/shell-completion/bash/ !
Dtimedatectl65 [BOOLEAN]='set-local-rtc set-ntp'
69 [IFNAME]='ntp-servers revert'
/systemd-251/src/libsystemd-network/ !
Dsd-dhcp6-lease.c347 … 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()
Ddhcp6-lease-internal.h40 struct in6_addr *ntp; member
Dsd-dhcp-lease.c1150 *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()
Dsd-dhcp-server.c1519 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/ !
DDISTRO_PORTING.md59 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).
DENVIRONMENT.md231 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/ !
Dsd-network.h65 int sd_network_get_ntp(char ***ntp);
Dsd-dhcp-server.h76 int sd_dhcp_server_set_ntp(sd_dhcp_server *server, const struct in_addr ntp[], size_t n);
/systemd-251/src/timesync/ !
Dmeson.build8 'timesyncd-ntp-message.h',
Dtimesyncd-manager.c973 _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/ !
Dmeson_options.txt331 option('ntp-servers', type : 'string',

12