Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c141 socklen_t sockaddr_len; member
379 assert_return(length == sizeof(NameInfoRequest) + ni_req->sockaddr_len, -EBADMSG); in handle_request()
380 assert_return(ni_req->sockaddr_len <= sizeof(sa), -EBADMSG); in handle_request()
382 … memcpy(&sa, (const uint8_t *) ni_req + sizeof(NameInfoRequest), ni_req->sockaddr_len); in handle_request()
384 ret = getnameinfo(&sa.sa, ni_req->sockaddr_len, in handle_request()
1052 .sockaddr_len = salen, in resolve_getnameinfo_with_destroy_callback()
/systemd-251/src/shared/
Dvarlink.c274 socklen_t sockaddr_len; in varlink_connect_address() local
283 sockaddr_len = r; in varlink_connect_address()
295 if (connect(v->fd, &sockaddr.sa, sockaddr_len) < 0) { in varlink_connect_address()
2270 socklen_t sockaddr_len; in varlink_server_listen_address() local
2281 sockaddr_len = r; in varlink_server_listen_address()
2292 r = mac_selinux_bind(fd, &sockaddr.sa, sockaddr_len); in varlink_server_listen_address()
/systemd-251/src/userdb/
Duserdbctl.c946 socklen_t sockaddr_len; in display_services() local
956 sockaddr_len = r; in display_services()
962 if (connect(fd, &sockaddr.sa, sockaddr_len) < 0) { in display_services()