Home
last modified time | relevance | path

Searched refs:socket_address_family (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/shared/
Dsocket-label.c45 if (socket_address_family(a) == AF_INET6 && !socket_ipv6_is_supported()) in socket_address_listen()
54 fd = RET_NERRNO(socket(socket_address_family(a), a->type | flags, a->protocol)); in socket_address_listen()
62 if (socket_address_family(a) == AF_INET6 && only != SOCKET_ADDRESS_DEFAULT) { in socket_address_listen()
68 if (IN_SET(socket_address_family(a), AF_INET, AF_INET6)) { in socket_address_listen()
82 r = socket_set_freebind(fd, socket_address_family(a), true); in socket_address_listen()
88 r = socket_set_transparent(fd, socket_address_family(a), true); in socket_address_listen()
/systemd-251/src/basic/
Dsocket-util.c61 switch (socket_address_family(a)) { in socket_address_verify()
158 if (socket_address_family(a) == AF_NETLINK) { in socket_address_print()
194 if (socket_address_family(a) != socket_address_family(b)) in socket_address_equal()
197 switch (socket_address_family(a)) { in socket_address_equal()
267 if (socket_address_family(a) != AF_UNIX) in socket_address_get_path()
Dsocket-util.h71 #define socket_address_family(a) ((a)->sockaddr.sa.sa_family) macro
79 return socket_address_family(a) == AF_UNIX ? sockaddr_un_unlink(&a->sockaddr.un) : 0; in socket_address_unlink()
/systemd-251/src/journal-remote/
Djournal-remote.c498 switch (socket_address_family(addr)) { in accept_connection()
514 af_to_ipv4_ipv6(socket_address_family(addr)), in accept_connection()
524 type, socket_address_family(addr)); in accept_connection()
/systemd-251/src/core/
Dsocket.c751 …fprintf(f, "%s%s: %s\n", prefix, listen_lookup(socket_address_family(&p->address), p->address.type… in socket_dump()
1033 r = socket_set_recvpktinfo(fd, socket_address_family(&p->address), true); in socket_apply_socket_options()
1079 r = socket_set_ttl(fd, socket_address_family(&p->address), s->ip_ttl); in socket_apply_socket_options()
2584 if (socket_address_family(&p->address) == AF_NETLINK) in socket_serialize()
2839 if (socket_address_family(&p->address) == AF_NETLINK) in socket_port_type_to_string()
Ddbus-socket.c406 … if (socket_address_family(&p->address) != AF_UNIX && p->address.type == SOCK_SEQPACKET) in bus_socket_set_transient_property()
Dload-fragment.c647 … if (socket_address_family(&p->address) != AF_UNIX && p->address.type == SOCK_SEQPACKET) { in config_parse_socket_listen()