Home
last modified time | relevance | path

Searched refs:socklen (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/timesync/
Dtimesyncd-server.c20 socklen_t socklen) { in server_address_new() argument
26 assert(socklen >= offsetof(struct sockaddr, sa_data)); in server_address_new()
27 assert(socklen <= sizeof(union sockaddr_union)); in server_address_new()
35 .socklen = socklen, in server_address_new()
38 memcpy(&a->sockaddr, sockaddr, socklen); in server_address_new()
Dtimesyncd-server.h25 socklen_t socklen; member
42 …s_new(ServerName *n, ServerAddress **ret, const union sockaddr_union *sockaddr, socklen_t socklen);
45 return sockaddr_pretty(&a->sockaddr.sa, a->socklen, true, true, pretty); in server_address_pretty()
Dtimesyncd-manager.c141 …tpmsg), MSG_DONTWAIT, &m->current_server_address->sockaddr.sa, m->current_server_address->socklen); in manager_send_request()
656 r = bind(m->server_socket, &addr.sa, m->current_server_address->socklen); in manager_listen_setup()