/systemd-251/src/resolve/ |
D | test-resolved-stream.c | 35 static union sockaddr_union server_address; variable 114 assert_se(bind(bindfd, &server_address.sa, SOCKADDR_LEN(server_address)) >= 0); in tcp_dns_server() 135 assert_se(in_addr_to_string(server_address.in.sin_family, in tls_dns_server() 136 sockaddr_in_addr(&server_address.sa), in tls_dns_server() 138 assert_se(asprintf(&bind_str, "%s:%d", ip_str, be16toh(server_address.in.sin_port)) >= 0); in tls_dns_server() 251 r = connect(clientfd, &server_address.sa, SOCKADDR_LEN(server_address)); in test_dns_stream() 270 .family = server_address.sa.sa_family, in test_dns_stream() 271 .address = *sockaddr_in_addr(&server_address.sa), in test_dns_stream() 377 server_address = (union sockaddr_union) { in main()
|
/systemd-251/src/libsystemd-network/ |
D | dhcp6-network.c | 61 int dhcp6_network_send_udp_socket(int s, struct in6_addr *server_address, in dhcp6_network_send_udp_socket() argument 69 assert(server_address); in dhcp6_network_send_udp_socket() 71 memcpy(&dest.in6.sin6_addr, server_address, sizeof(dest.in6.sin6_addr)); in dhcp6_network_send_udp_socket()
|
D | sd-dhcp6-lease.c | 91 …void dhcp6_lease_set_server_address(sd_dhcp6_lease *lease, const struct in6_addr *server_address) { in dhcp6_lease_set_server_address() argument 94 if (server_address) in dhcp6_lease_set_server_address() 95 lease->server_address = *server_address; in dhcp6_lease_set_server_address() 97 lease->server_address = (struct in6_addr) {}; in dhcp6_lease_set_server_address() 104 *ret = lease->server_address; in sd_dhcp6_lease_get_server_address() 692 const struct in6_addr *server_address, in dhcp6_lease_new_from_message() argument 708 dhcp6_lease_set_server_address(lease, server_address); in dhcp6_lease_new_from_message()
|
D | sd-dhcp6-client.c | 1081 const struct in6_addr *server_address) { in client_process_information() argument 1092 r = dhcp6_lease_new_from_message(client, message, len, timestamp, server_address, &lease); in client_process_information() 1115 const struct in6_addr *server_address) { in client_process_reply() argument 1126 r = dhcp6_lease_new_from_message(client, message, len, timestamp, server_address, &lease); in client_process_reply() 1143 const struct in6_addr *server_address) { in client_process_advertise_or_rapid_commit_reply() argument 1155 r = dhcp6_lease_new_from_message(client, message, len, timestamp, server_address, &lease); in client_process_advertise_or_rapid_commit_reply() 1226 struct in6_addr *server_address = NULL; in client_receive_message() local 1264 server_address = &sa.in6.sin6_addr; in client_receive_message() 1279 if (client_process_information(client, message, len, &t, server_address) < 0) in client_receive_message() 1284 … if (client_process_advertise_or_rapid_commit_reply(client, message, len, &t, server_address) < 0) in client_receive_message() [all …]
|
D | dhcp6-lease-internal.h | 29 struct in6_addr server_address; member 70 const struct in6_addr *server_address,
|
D | fuzz-dhcp-server.c | 20 static void add_lease(sd_dhcp_server *server, const struct in_addr *server_address, uint8_t i) { in add_lease() argument 32 lease->gateway = server_address->s_addr; in add_lease()
|
D | sd-dhcp-lease.c | 196 if (lease->server_address == 0) in sd_dhcp_lease_get_server_identifier() 199 addr->s_addr = lease->server_address; in sd_dhcp_lease_get_server_identifier() 642 r = lease_parse_be32(option, len, &lease->server_address); in dhcp_lease_parse_options() 1146 *server_address = NULL, in dhcp_lease_load() local 1183 "SERVER_ADDRESS", &server_address, in dhcp_lease_load() 1261 if (server_address) { in dhcp_lease_load() 1262 r = inet_pton(AF_INET, server_address, &lease->server_address); in dhcp_lease_load() 1264 log_debug("Failed to parse server address %s, ignoring.", server_address); in dhcp_lease_load()
|
D | dhcp-lease-internal.h | 39 be32_t server_address; member
|
D | fuzz-dhcp6-client.c | 15 int dhcp6_network_send_udp_socket(int s, struct in6_addr *server_address, const void *packet, size_… in dhcp6_network_send_udp_socket() argument
|
D | sd-dhcp-client.c | 1137 4, &client->lease->server_address); in client_send_request() 1197 client->lease->server_address, in client_send_request() 1538 lease->server_address == 0 || in client_handle_offer() 1635 lease->server_address == INADDR_ANY || in client_handle_ack() 2113 client->lease->server_address, in sd_dhcp_client_send_release() 2147 client->lease->server_address, in sd_dhcp_client_send_decline()
|
/systemd-251/src/network/ |
D | networkd-dhcp-prefix-delegation.c | 693 const union in_addr_union *server_address, in dhcp_request_unreachable_route() argument 704 assert(server_address); in dhcp_request_unreachable_route() 722 route->provider = *server_address; in dhcp_request_unreachable_route() 753 const union in_addr_union *server_address) { in dhcp4_request_unreachable_route() argument 756 NETWORK_CONFIG_SOURCE_DHCP4, server_address, in dhcp4_request_unreachable_route() 765 const union in_addr_union *server_address) { in dhcp6_request_unreachable_route() argument 768 NETWORK_CONFIG_SOURCE_DHCP6, server_address, in dhcp6_request_unreachable_route() 943 union in_addr_union server_address; in dhcp4_pd_prefix_acquired() local 963 r = sd_dhcp_lease_get_server_identifier(uplink->dhcp_lease, &server_address.in); in dhcp4_pd_prefix_acquired() 988 … dhcp4_request_unreachable_route(uplink, &pd_prefix, pd_prefixlen, lifetime_usec, &server_address); in dhcp4_pd_prefix_acquired() [all …]
|
D | networkd-dhcp6.c | 203 const struct in6_addr *server_address, in dhcp6_request_address() argument 217 addr->provider.in6 = *server_address; in dhcp6_request_address() 246 struct in6_addr server_address; in dhcp6_address_acquired() local 257 r = sd_dhcp6_lease_get_server_address(link->dhcp6_lease, &server_address); in dhcp6_address_acquired() 273 r = dhcp6_request_address(link, &server_address, &ip6_addr, in dhcp6_address_acquired()
|
D | networkctl.c | 1099 struct in_addr server_address; in dump_addresses() local 1102 r = sd_dhcp_lease_get_server_identifier(lease, &server_address); in dump_addresses() 1103 if (r >= 0 && inet_ntop(AF_INET, &server_address, s, sizeof(s))) in dump_addresses()
|
/systemd-251/src/timedate/ |
D | timedatectl.c | 326 char *server_address; member 347 p->server_address = mfree(p->server_address); in ntp_status_info_clear() 399 …r = table_add_cell_stringf(table, NULL, "%s (%s)", strna(i->server_address), strna(i->server_name)… in print_ntp_status_info() 611 …ss", "(iay)", map_server_address, offsetof(NTPStatusInfo, server_address) }, in show_timesync_status_once()
|