Searched refs:sin6_addr (Results 1 – 17 of 17) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | dhcp6-network.c | 32 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()
|
D | icmp6-util.c | 114 .sin6_addr = IN6ADDR_ALL_ROUTERS_MULTICAST_INIT, in icmp6_send_router_solicitation() 180 addr = sa.in6.sin6_addr; in icmp6_receive()
|
D | sd-radv.c | 153 .sin6_addr = IN6ADDR_ALL_NODES_MULTICAST_INIT, in radv_send() 189 dst_addr.sin6_addr = *dst; in radv_send()
|
D | sd-dhcp6-client.c | 1264 server_address = &sa.in6.sin6_addr; in client_receive_message()
|
/systemd-251/src/basic/ |
D | socket-util.c | 209 …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/ |
D | local-addresses.c | 417 .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()
|
D | socket-netlink.c | 87 .sin6_addr = in6addr_any, in socket_address_parse() 125 .sin6_addr = address.in6, in socket_address_parse()
|
/systemd-251/src/libsystemd/sd-daemon/ |
D | sd-daemon.c | 353 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/ |
D | in6.h | 54 struct in6_addr sin6_addr; /* IPv6 address */ member
|
/systemd-251/src/core/ |
D | socket.c | 428 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/ |
D | resolved-dns-stream.c | 402 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()
|
D | resolved-manager.c | 800 p->sender.in6 = sa.in6.sin6_addr; in manager_recv() 1036 .in6.sin6_addr = *destination, in manager_ipv6_send()
|
D | resolved-dns-scope.c | 380 .in6.sin6_addr = server->address.in6, in dns_scope_socket() 407 .in6.sin6_addr = address->in6, in dns_scope_socket()
|
D | resolved-dns-stub.c | 1245 .in6.sin6_addr = l->address.in6, in manager_dns_stub_fd_extra()
|
/systemd-251/src/timesync/ |
D | timesyncd-bus.c | 150 …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/ |
D | test-socket-util.c | 109 .in6.sin6_addr = IN6ADDR_ANY_INIT, in TEST()
|
/systemd-251/src/network/netdev/ |
D | wireguard.c | 782 .sin6_addr = addr.in6, in config_parse_wireguard_endpoint()
|