Home
last modified time | relevance | path

Searched refs:sin6_addr (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/libsystemd-network/
Ddhcp6-network.c32 src.in6.sin6_addr = *local_address; in dhcp6_network_bind_udp_socket()
71 memcpy(&dest.in6.sin6_addr, server_address, sizeof(dest.in6.sin6_addr)); in dhcp6_network_send_udp_socket()
Dicmp6-util.c114 .sin6_addr = IN6ADDR_ALL_ROUTERS_MULTICAST_INIT, in icmp6_send_router_solicitation()
180 addr = sa.in6.sin6_addr; in icmp6_receive()
Dsd-radv.c153 .sin6_addr = IN6ADDR_ALL_NODES_MULTICAST_INIT, in radv_send()
189 dst_addr.sin6_addr = *dst; in radv_send()
Dsd-dhcp6-client.c1264 server_address = &sa.in6.sin6_addr; in client_receive_message()
/systemd-251/src/basic/
Dsocket-util.c209 …if (memcmp(&a->sockaddr.in6.sin6_addr, &b->sockaddr.in6.sin6_addr, sizeof(a->sockaddr.in6.sin6_add… in socket_address_equal()
396 return (const union in_addr_union*) &sa->in6.sin6_addr; in sockaddr_in_addr()
426 .sin6_addr = a->in6, in sockaddr_set_in_addr()
479 memcmp(&sa->in6.sin6_addr, ipv4_prefix, sizeof(ipv4_prefix)) == 0) { in sockaddr_pretty()
480 const uint8_t *a = sa->in6.sin6_addr.s6_addr+12; in sockaddr_pretty()
495 inet_ntop(AF_INET6, &sa->in6.sin6_addr, a, sizeof(a)); in sockaddr_pretty()
707 return memcmp(&a->in6.sin6_addr, &b->in6.sin6_addr, sizeof(a->in6.sin6_addr)) == 0; in sockaddr_equal()
/systemd-251/src/shared/
Dlocal-addresses.c417 .sin6_addr = gateways[i].address.in6, in local_outbounds()
482 if (in6_addr_is_null(&sa.in6.sin6_addr)) in local_outbounds()
491 .address.in6 = sa.in6.sin6_addr, in local_outbounds()
Dsocket-netlink.c87 .sin6_addr = in6addr_any, in socket_address_parse()
125 .sin6_addr = address.in6, in socket_address_parse()
/systemd-251/src/libsystemd/sd-daemon/
Dsd-daemon.c353 return memcmp(sockaddr.in6.sin6_addr.s6_addr, in->sin6_addr.s6_addr, in sd_is_socket_sockaddr()
354 sizeof(in->sin6_addr.s6_addr)) == 0; in sd_is_socket_sockaddr()
/systemd-251/src/basic/linux/
Din6.h54 struct in6_addr sin6_addr; /* IPv6 address */ member
/systemd-251/src/core/
Dsocket.c428 siphash24_compress(&s->peer.in6.sin6_addr, sizeof(s->peer.in6.sin6_addr), state); in peer_address_hash_func()
446 … return memcmp(&x->peer.in6.sin6_addr, &y->peer.in6.sin6_addr, sizeof(x->peer.in6.sin6_addr)); in peer_address_compare_func()
846 if (memcmp(&local.in6.sin6_addr, ipv4_prefix, sizeof(ipv4_prefix)) == 0 && in instance_from_socket()
847 memcmp(&remote.in6.sin6_addr, ipv4_prefix, sizeof(ipv4_prefix)) == 0) { in instance_from_socket()
849 *a = local.in6.sin6_addr.s6_addr+12, in instance_from_socket()
850 *b = remote.in6.sin6_addr.s6_addr+12; in instance_from_socket()
866 inet_ntop(AF_INET6, &local.in6.sin6_addr, a, sizeof(a)), in instance_from_socket()
868 inet_ntop(AF_INET6, &remote.in6.sin6_addr, b, sizeof(b)), in instance_from_socket()
/systemd-251/src/resolve/
Dresolved-dns-stream.c402 s->read_packet->sender.in6 = s->peer.in6.sin6_addr; in on_stream_io()
404 … s->read_packet->destination.in6 = s->local.in6.sin6_addr; in on_stream_io()
Dresolved-manager.c800 p->sender.in6 = sa.in6.sin6_addr; in manager_recv()
1036 .in6.sin6_addr = *destination, in manager_ipv6_send()
Dresolved-dns-scope.c380 .in6.sin6_addr = server->address.in6, in dns_scope_socket()
407 .in6.sin6_addr = address->in6, in dns_scope_socket()
Dresolved-dns-stub.c1245 .in6.sin6_addr = l->address.in6, in manager_dns_stub_fd_extra()
/systemd-251/src/timesync/
Dtimesyncd-bus.c150 …dr.sa.sa_family == AF_INET ? (void*) &a->sockaddr.in.sin_addr : (void*) &a->sockaddr.in6.sin6_addr, in property_get_current_server_address()
/systemd-251/src/test/
Dtest-socket-util.c109 .in6.sin6_addr = IN6ADDR_ANY_INIT, in TEST()
/systemd-251/src/network/netdev/
Dwireguard.c782 .sin6_addr = addr.in6, in config_parse_wireguard_endpoint()