Lines Matching refs:IPPROTO_IP
133 setsockopt(fd, IPPROTO_IP, IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq)); in avahi_mdns_mcast_join_ipv4()
135 …if (setsockopt(fd, IPPROTO_IP, join ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq))… in avahi_mdns_mcast_join_ipv4()
229 if (setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
237 if (setsockopt (fd, IPPROTO_IP, IP_RECVINTERFACE, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
243 if (setsockopt (fd, IPPROTO_IP, IP_RECVIF, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
251 if (setsockopt (fd, IPPROTO_IP, IP_RECVDSTADDR, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
261 if (setsockopt(fd, IPPROTO_IP, IP_RECVTTL, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
321 if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)) < 0) { in avahi_open_socket_ipv4()
327 if (setsockopt(fd, IPPROTO_IP, IP_TTL, &ittl, sizeof(ittl)) < 0) { in avahi_open_socket_ipv4()
333 if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_LOOP, &cyes, sizeof(cyes)) < 0) { in avahi_open_socket_ipv4()
522 cmsg->cmsg_level = IPPROTO_IP; in avahi_send_dns_packet_ipv4()
536 …if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_IF, src_address ? &src_address->address : &any, sizeof… in avahi_send_dns_packet_ipv4()
551 cmsg->cmsg_level = IPPROTO_IP; in avahi_send_dns_packet_ipv4()
713 if (cmsg->cmsg_level == IPPROTO_IP) { in avahi_recv_dns_packet_ipv4()