Lines Matching refs:setsockopt_int
454 r = setsockopt_int(s, IPPROTO_IP, IP_TTL, 255); in manager_mdns_ipv4_fd()
458 r = setsockopt_int(s, IPPROTO_IP, IP_MULTICAST_TTL, 255); in manager_mdns_ipv4_fd()
462 r = setsockopt_int(s, IPPROTO_IP, IP_MULTICAST_LOOP, true); in manager_mdns_ipv4_fd()
466 r = setsockopt_int(s, IPPROTO_IP, IP_PKTINFO, true); in manager_mdns_ipv4_fd()
470 r = setsockopt_int(s, IPPROTO_IP, IP_RECVTTL, true); in manager_mdns_ipv4_fd()
475 r = setsockopt_int(s, IPPROTO_IP, IP_MTU_DISCOVER, IP_PMTUDISC_DONT); in manager_mdns_ipv4_fd()
489 r = setsockopt_int(s, SOL_SOCKET, SO_REUSEADDR, true); in manager_mdns_ipv4_fd()
498 r = setsockopt_int(s, SOL_SOCKET, SO_REUSEADDR, true); in manager_mdns_ipv4_fd()
529 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()
564 r = setsockopt_int(s, SOL_SOCKET, SO_REUSEADDR, true); in manager_mdns_ipv6_fd()
573 r = setsockopt_int(s, SOL_SOCKET, SO_REUSEADDR, true); in manager_mdns_ipv6_fd()