Searched refs:sin_addr (Results 1 – 17 of 17) sorted by relevance
/systemd-251/src/basic/ |
D | socket-util.c | 200 if (a->sockaddr.in.sin_addr.s_addr != b->sockaddr.in.sin_addr.s_addr) in socket_address_equal() 393 return (const union in_addr_union*) &sa->in.sin_addr; in sockaddr_in_addr() 417 .sin_addr = a->in, in sockaddr_set_in_addr() 457 a = be32toh(sa->in.sin_addr.s_addr); in sockaddr_pretty() 704 return a->in.sin_addr.s_addr == b->in.sin_addr.s_addr; in sockaddr_equal()
|
/systemd-251/src/shared/ |
D | local-addresses.c | 407 .sin_addr = gateways[i].address.in, in local_outbounds() 467 if (in4_addr_is_null(&sa.in.sin_addr)) /* Auto-binding didn't work. :-( */ in local_outbounds() 476 .address.in = sa.in.sin_addr, in local_outbounds()
|
D | socket-netlink.c | 96 .sin_addr.s_addr = INADDR_ANY, in socket_address_parse() 116 .sin_addr = address.in, in socket_address_parse()
|
/systemd-251/src/libsystemd-network/ |
D | dhcp-network.c | 165 .in.sin_addr.s_addr = address, in dhcp_network_bind_udp_socket() 244 .in.sin_addr.s_addr = address, in dhcp_network_send_udp_socket()
|
D | sd-dhcp-server.c | 374 .in.sin_addr.s_addr = destination, in dhcp_server_send_udp()
|
/systemd-251/src/test/ |
D | test-socket-util.c | 94 .in.sin_addr.s_addr = htobe32(INADDR_ANY), in TEST() 99 .in.sin_addr.s_addr = htobe32(INADDR_ANY), in TEST() 104 .in.sin_addr.s_addr = htobe32(1234), in TEST()
|
/systemd-251/src/libsystemd/sd-resolve/ |
D | test-resolve.c | 83 sa.in.sin_addr.s_addr = inet_addr(argc >= 3 ? argv[2] : "193.99.144.71"); in main()
|
/systemd-251/src/libsystemd/sd-daemon/ |
D | sd-daemon.c | 333 return sockaddr.in.sin_addr.s_addr == in->sin_addr.s_addr; in sd_is_socket_sockaddr()
|
/systemd-251/src/basic/linux/ |
D | in.h | 262 struct in_addr sin_addr; /* Internet address */ member
|
/systemd-251/src/resolve/ |
D | resolved-dns-stream.c | 396 s->read_packet->sender.in = s->peer.in.sin_addr; in on_stream_io() 398 … s->read_packet->destination.in = s->local.in.sin_addr; in on_stream_io()
|
D | test-resolved-stream.c | 380 .in.sin_addr.s_addr = htobe32(INADDR_LOOPBACK) in main()
|
D | resolved-manager.c | 797 p->sender.in = sa.in.sin_addr; in manager_recv() 981 .in.sin_addr = *destination, in manager_ipv4_send()
|
D | resolved-dns-scope.c | 372 .in.sin_addr = server->address.in, in dns_scope_socket() 399 .in.sin_addr = address->in, in dns_scope_socket()
|
D | resolved-dns-stub.c | 1239 .in.sin_addr = l->address.in, in manager_dns_stub_fd_extra()
|
/systemd-251/src/timesync/ |
D | timesyncd-bus.c | 150 …a->sockaddr.sa.sa_family == AF_INET ? (void*) &a->sockaddr.in.sin_addr : (void*) &a->sockaddr.in6.… in property_get_current_server_address()
|
/systemd-251/src/core/ |
D | socket.c | 426 siphash24_compress(&s->peer.in.sin_addr, sizeof(s->peer.in.sin_addr), state); in peer_address_hash_func() 444 … return memcmp(&x->peer.in.sin_addr, &y->peer.in.sin_addr, sizeof(x->peer.in.sin_addr)); in peer_address_compare_func() 826 a = be32toh(local.in.sin_addr.s_addr), in instance_from_socket() 827 b = be32toh(remote.in.sin_addr.s_addr); in instance_from_socket()
|
/systemd-251/src/network/netdev/ |
D | wireguard.c | 776 .sin_addr = addr.in, in config_parse_wireguard_endpoint()
|