Home
last modified time | relevance | path

Searched refs:IPPROTO_IPV6 (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/libsystemd-network/
Dicmp6-util.c47 if (setsockopt(s, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, mreq, sizeof(*mreq)) < 0) in icmp6_bind_router_message()
54 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_IF, ifindex); in icmp6_bind_router_message()
58 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, false); in icmp6_bind_router_message()
62 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, 255); in icmp6_bind_router_message()
66 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_UNICAST_HOPS, 255); in icmp6_bind_router_message()
Ddhcp6-network.c38 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_V6ONLY, true); in dhcp6_network_bind_udp_socket()
42 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, false); in dhcp6_network_bind_udp_socket()
/systemd-251/src/resolve/
Dresolved-mdns.c529 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_UNICAST_HOPS, 255); in manager_mdns_ipv6_fd()
534 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, 255); in manager_mdns_ipv6_fd()
538 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, true); in manager_mdns_ipv6_fd()
542 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_V6ONLY, true); in manager_mdns_ipv6_fd()
546 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_RECVPKTINFO, true); in manager_mdns_ipv6_fd()
550 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, true); in manager_mdns_ipv6_fd()
Dresolved-llmnr.c236 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, 255); in manager_llmnr_ipv6_udp_fd()
240 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, true); in manager_llmnr_ipv6_udp_fd()
244 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_V6ONLY, true); in manager_llmnr_ipv6_udp_fd()
426 r = setsockopt_int(s, IPPROTO_IPV6, IPV6_V6ONLY, true); in manager_llmnr_ipv6_tcp_fd()
Dresolved-dns-stream.c133 r = getsockopt(s->fd, IPPROTO_IPV6, IPV6_2292PKTOPTIONS, &control, &sl); in dns_stream_identify()
144 if (cmsg->cmsg_level == IPPROTO_IPV6) { in dns_stream_identify()
Dresolved-manager.c810 if (cmsg->cmsg_level == IPPROTO_IPV6) { in manager_recv()
1050 cmsg->cmsg_level = IPPROTO_IPV6; in manager_ipv6_send()
1675 r = setsockopt_int(fd, IPPROTO_IPV6, IPV6_MTU, IPV6_MIN_MTU); in socket_disable_pmtud()
Dresolved-dns-scope.c873 … (void) setsockopt(fd, IPPROTO_IPV6, IPV6_DROP_MEMBERSHIP, &mreq, sizeof(mreq)); in dns_scope_multicast_membership()
875 …if (setsockopt(fd, IPPROTO_IPV6, b ? IPV6_ADD_MEMBERSHIP : IPV6_DROP_MEMBERSHIP, &mreq, sizeof(mre… in dns_scope_multicast_membership()
/systemd-251/src/basic/linux/
Din.h51 IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ enumerator
52 #define IPPROTO_IPV6 IPPROTO_IPV6 macro
/systemd-251/src/shared/
Dsocket-label.c63 r = setsockopt_int(fd, IPPROTO_IPV6, IPV6_V6ONLY, only == SOCKET_ADDRESS_IPV6_ONLY); in socket_address_listen()
/systemd-251/src/basic/
Dsocket-util.c1340 return setsockopt_int(fd, IPPROTO_IPV6, IPV6_RECVPKTINFO, b); in socket_set_recvpktinfo()
1369 … return RET_NERRNO(setsockopt(fd, IPPROTO_IPV6, IPV6_UNICAST_IF, &ifindex_be, sizeof(ifindex_be))); in socket_set_unicast_if()
1391 return setsockopt_int(fd, IPPROTO_IPV6, opt_ipv6, val); in socket_set_option()
1414 r = getsockopt_int(fd, IPPROTO_IPV6, IPV6_MTU, &mtu); in socket_get_mtu()
/systemd-251/src/network/netdev/
Dtunnel.c586 proto = IPPROTO_IPV6; in netdev_ip6tnl_fill_message_create()