Searched defs:ntp (Results 1 - 9 of 9) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp6-lease-internal.h46 struct in6_addr *ntp; member in struct:sd_dhcp6_lease
H A Ddhcp-lease-internal.h69 struct in_addr *ntp; member in struct:sd_dhcp_lease
H A Ddhcp-server-internal.h63 struct in_addr *ntp, *dns; member in struct:sd_dhcp_server
H A Dsd-dhcp-lease.c128 *addr = lease->ntp;
281 free(lease->ntp);
565 r = lease_parse_in_addrs(option, len, &lease->ntp, &lease->ntp_size);
888 *ntp = NULL, local
915 "NTP", &ntp,
1010 if (ntp) {
1011 r = deserialize_in_addrs(&lease->ntp, ntp);
1013 log_debug_errno(r, "Failed to deserialize NTP servers %s, ignoring: %m", ntp);
H A Dsd-dhcp-server.c173 free(server->ntp);
523 sizeof(struct in_addr) * server->n_ntp, server->ntp);
1133 int sd_dhcp_server_set_ntp(sd_dhcp_server *server, const struct in_addr ntp[], unsigned n) { argument
1135 assert_return(ntp || n <= 0, -EINVAL);
1138 memcmp(server->ntp, ntp, sizeof(struct in_addr) * n) == 0)
1142 server->ntp = mfree(server->ntp);
1147 c = newdup(struct in_addr, ntp, n);
1151 free(server->ntp);
[all...]
/systemd/src/network/
H A Dnetworkctl.c506 _cleanup_strv_free_ char **dns = NULL, **ntp = NULL, **search_domains = NULL, **route_domains = NULL; local
581 (void) sd_network_link_get_ntp(ifindex, &ntp);
651 dump_list(" NTP: ", ntp);
679 _cleanup_strv_free_ char **dns = NULL, **ntp = NULL, **search_domains = NULL, **route_domains; local
701 sd_network_get_ntp(&ntp);
702 dump_list(" NTP: ", ntp);
H A Dnetworkd-manager.c830 _cleanup_ordered_set_free_free_ OrderedSet *dns = NULL, *ntp = NULL, *search_domains = NULL, *route_domains = NULL; local
847 ntp = ordered_set_new(&string_hash_ops);
848 if (!ntp)
874 r = ordered_set_put_strdupv(ntp, link->network->ntp);
907 r = ordered_set_put_in_addrv(ntp, addresses, r);
946 print_string_set(f, "NTP=", ntp);
H A Dnetworkd-network.h150 char **search_domains, **route_domains, **dns, **ntp, **bind_carrier; member in struct:Network
/systemd/src/timesync/
H A Dtimesyncd-manager.c1010 _cleanup_strv_free_ char **ntp = NULL; local
1017 r = sd_network_get_ntp(&ntp);
1024 STRV_FOREACH(i, ntp) {

Completed in 3092 milliseconds