Home
last modified time | relevance | path

Searched refs:ai_addrlen (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c133 size_t ai_addrlen; member
201 l = sizeof(AddrInfoSerialization) + ai->ai_addrlen + cnl; in serialize_addrinfo()
211 .ai_addrlen = ai->ai_addrlen, in serialize_addrinfo()
216 memcpy((uint8_t*) p + sizeof(AddrInfoSerialization), ai->ai_addr, ai->ai_addrlen); in serialize_addrinfo()
217 memcpy_safe((char*) p + sizeof(AddrInfoSerialization) + ai->ai_addrlen, in serialize_addrinfo()
694 l = sizeof(AddrInfoSerialization) + s.ai_addrlen + s.canonname_len; in unserialize_addrinfo()
707 .ai_addrlen = s.ai_addrlen, in unserialize_addrinfo()
710 if (s.ai_addrlen > 0) { in unserialize_addrinfo()
711 … ai->ai_addr = memdup((const uint8_t*) *p + sizeof(AddrInfoSerialization), s.ai_addrlen); in unserialize_addrinfo()
719 …nname = memdup((const uint8_t*) *p + sizeof(AddrInfoSerialization) + s.ai_addrlen, s.canonname_len… in unserialize_addrinfo()
Dtest-resolve.c33 assert_se(sockaddr_pretty(i->ai_addr, i->ai_addrlen, false, true, &addr) == 0); in getaddrinfo_handler()
/systemd-251/src/timesync/
Dtimesyncd-manager.c758 assert(ai->ai_addrlen >= offsetof(struct sockaddr, sa_data)); in manager_resolve_handler()
765 …address_new(m->current_server_name, &a, (const union sockaddr_union*) ai->ai_addr, ai->ai_addrlen); in manager_resolve_handler()
/systemd-251/src/network/netdev/
Dwireguard.c358 …if (ai->ai_addrlen != (ai->ai_family == AF_INET ? sizeof(struct sockaddr_in) : sizeof(struct socka… in wireguard_peer_resolve_handler()
361 memcpy(&peer->endpoint, ai->ai_addr, ai->ai_addrlen); in wireguard_peer_resolve_handler()
/systemd-251/src/socket-proxy/
Dsocket-proxyd.c408 return connection_start(c, ai->ai_addr, ai->ai_addrlen); in resolve_handler()
/systemd-251/src/libsystemd/sd-bus/
Dsd-bus.c835 memcpy(&b->sockaddr, result->ai_addr, result->ai_addrlen); in parse_tcp_address()
836 b->sockaddr_size = result->ai_addrlen; in parse_tcp_address()