Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dsocket-util.c200 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/
Dlocal-addresses.c407 .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()
Dsocket-netlink.c96 .sin_addr.s_addr = INADDR_ANY, in socket_address_parse()
116 .sin_addr = address.in, in socket_address_parse()
/systemd-251/src/libsystemd-network/
Ddhcp-network.c165 .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()
Dsd-dhcp-server.c374 .in.sin_addr.s_addr = destination, in dhcp_server_send_udp()
/systemd-251/src/test/
Dtest-socket-util.c94 .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/
Dtest-resolve.c83 sa.in.sin_addr.s_addr = inet_addr(argc >= 3 ? argv[2] : "193.99.144.71"); in main()
/systemd-251/src/libsystemd/sd-daemon/
Dsd-daemon.c333 return sockaddr.in.sin_addr.s_addr == in->sin_addr.s_addr; in sd_is_socket_sockaddr()
/systemd-251/src/basic/linux/
Din.h262 struct in_addr sin_addr; /* Internet address */ member
/systemd-251/src/resolve/
Dresolved-dns-stream.c396 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()
Dtest-resolved-stream.c380 .in.sin_addr.s_addr = htobe32(INADDR_LOOPBACK) in main()
Dresolved-manager.c797 p->sender.in = sa.in.sin_addr; in manager_recv()
981 .in.sin_addr = *destination, in manager_ipv4_send()
Dresolved-dns-scope.c372 .in.sin_addr = server->address.in, in dns_scope_socket()
399 .in.sin_addr = address->in, in dns_scope_socket()
Dresolved-dns-stub.c1239 .in.sin_addr = l->address.in, in manager_dns_stub_fd_extra()
/systemd-251/src/timesync/
Dtimesyncd-bus.c150 …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/
Dsocket.c426 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/
Dwireguard.c776 .sin_addr = addr.in, in config_parse_wireguard_endpoint()