/external/avahi/avahi-core/ |
D | socket.c | 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() [all …]
|
/external/tcpdump/ |
D | ipproto.h | 40 #ifndef IPPROTO_IP 41 #define IPPROTO_IP 0 /* dummy for IP */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | in.h | 28 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator 29 #define IPPROTO_IP IPPROTO_IP macro
|
/external/iproute2/include/linux/ |
D | in.h | 28 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator 29 #define IPPROTO_IP IPPROTO_IP macro
|
/external/strace/xlat/ |
D | inet_protocols.h | 11 #if defined(IPPROTO_IP) || (defined(HAVE_DECL_IPPROTO_IP) && HAVE_DECL_IPPROTO_IP) 12 XLAT(IPPROTO_IP),
|
D | inet_protocols.in | 1 IPPROTO_IP
|
/external/strace/tests/ |
D | inet-cmsg.c | 116 #define SETSOCKOPT(fd, name) assert(!setsockopt(fd, IPPROTO_IP, (name), &opt_1, sizeof(opt_1))) in main() 158 if (IPPROTO_IP != c->cmsg_level) in main()
|
/external/iputils/ |
D | ping.c | 163 (setsockopt(icmp_sock, IPPROTO_IP, IP_TOS, in main() 357 setsockopt(probe_fd, IPPROTO_IP, IP_TOS, (char *)&settos, sizeof(int)) < 0) in main() 500 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, sizeof(rspace)) < 0) { in main() 517 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, rspace[1]) < 0) { in main() 519 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, rspace[1]) < 0) { in main() 537 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, 4 + nroute*4) < 0) { in main() 560 if (setsockopt(icmp_sock, IPPROTO_IP, IP_MULTICAST_LOOP, in main() 568 if (setsockopt(icmp_sock, IPPROTO_IP, IP_MULTICAST_TTL, in main() 573 if (setsockopt(icmp_sock, IPPROTO_IP, IP_TTL, in main()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 756 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open() 758 setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open() 892 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast_sock() 899 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast_sock() 916 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 587 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 602 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 614 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 634 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 639 else if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
|
D | mDNSPosix.c | 668 err = setsockopt(*sktPtr, IPPROTO_IP, IP_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket() 672 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVDSTADDR, &kOn, sizeof(kOn)); in SetupSocket() 678 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVIF, &kOn, sizeof(kOn)); in SetupSocket() 689 setsockopt(*sktPtr, IPPROTO_IP, IP_RECVTTL, &kOn, sizeof(kOn)); in SetupSocket() 699 err = setsockopt(*sktPtr, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imr, sizeof(imr)); in SetupSocket() 706 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_IF, &((struct sockaddr_in*)intfAddr)->sin_addr,… in SetupSocket() 713 err = setsockopt(*sktPtr, IPPROTO_IP, IP_TTL, &kIntTwoFiveFive, sizeof(kIntTwoFiveFive)); in SetupSocket() 721 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_TTL, &kByteTwoFiveFive, sizeof(kByteTwoFiveFive… in SetupSocket() 723 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_TTL, &kIntTwoFiveFive, sizeof(kIntTwoFiveFive)); in SetupSocket()
|
/external/srtp/test/ |
D | rtpw.c | 275 ret = setsockopt(sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, in main() 286 ret = setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (void*)&mreq, in main() 516 ret = setsockopt(sock, IPPROTO_IP, IP_DROP_MEMBERSHIP, (void*)&mreq, in leave_group()
|
/external/toybox/toys/pending/ |
D | traceroute.c | 132 res = setsockopt(TT.snd_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); in send_probe4() 553 if (setsockopt(TT.snd_sock, IPPROTO_IP, IP_OPTIONS, in traceroute_main() 564 setsockopt(TT.snd_sock, IPPROTO_IP, IP_TOS, &tyser, sizeof(tyser)) < 0) in traceroute_main() 569 (setsockopt(TT.snd_sock, IPPROTO_IP, IP_DONTFRAG, &set, in traceroute_main() 587 if (setsockopt(TT.snd_sock, IPPROTO_IP, IP_MULTICAST_IF, in traceroute_main()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 304 int level = (family == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6; in setsockopt_bypass() 460 && cm->cmsg_level == IPPROTO_IP 496 && cm->cmsg_level == IPPROTO_IP 657 cm->cmsg_level = IPPROTO_IP; 782 level = IPPROTO_IP; 804 (level == IPPROTO_IP ? 823 (level == IPPROTO_IP ?
|
/external/autotest/client/tests/kvm/scripts/ |
D | multicast_guest.py | 29 s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
|
/external/dnsmasq/src/ |
D | tftp.c | 108 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in tftp_request() 110 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in tftp_request() 116 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in tftp_request() 118 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in tftp_request()
|
D | dhcp.c | 49 setsockopt(fd, IPPROTO_IP, IP_RECVIF, &oneopt, sizeof(oneopt)) == -1 || in dhcp_init() 186 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in dhcp_packet() 193 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in dhcp_packet() 351 setsockopt(daemon->dhcpfd, IPPROTO_IP, IP_BOUND_IF, &iface_index, sizeof(iface_index)); in dhcp_packet()
|
D | network.c | 367 setsockopt(fd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 368 setsockopt(fd, IPPROTO_IP, IP_RECVIF, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 385 setsockopt(tftpfd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 386 setsockopt(tftpfd, IPPROTO_IP, IP_RECVIF, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | socket_types.hpp | 92 # define ASIO_OS_DEF_IPPROTO_IP IPPROTO_IP
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 444 if (p_protocol == IPPROTO_IP) { in rule_check() 569 p_protocol = IPPROTO_IP; in policy_parse_request_init()
|
D | test-policy.c | 162 proto = IPPROTO_IP;
|
/external/autotest/client/cros/netprotos/ |
D | interface_host.py | 124 self._recv_sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP,
|
/external/webrtc/webrtc/test/channel_transport/ |
D | udp_transport_impl.cc | 883 if (!rtpSock->SetSockopt(IPPROTO_IP, IP_TOS, in SetToS() 891 if (!rtcpSock->SetSockopt(IPPROTO_IP, IP_TOS, in SetToS() 1390 if (!_ptrRtpSocket->SetSockopt(IPPROTO_IP,IP_ADD_MEMBERSHIP, in BindLocalRTPSocket() 1462 if (!_ptrRtcpSocket->SetSockopt(IPPROTO_IP,IP_ADD_MEMBERSHIP, in BindLocalRTCPSocket() 1709 if (!rtpSock->SetSockopt(IPPROTO_IP, IP_MULTICAST_TTL, in InitializeSendSockets() 1720 if (!rtcpSock->SetSockopt(IPPROTO_IP, IP_MULTICAST_TTL, in InitializeSendSockets() 2673 if (0 > (sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP))) in LocalHostAddress()
|
D | udp_socket_posix.cc | 131 if (SetSockopt(IPPROTO_IP, IP_TOS ,(int8_t*)&serviceType ,4) != 0) in SetTOS()
|
/external/netcat/ |
D | netcat.c | 721 if (setsockopt(s, IPPROTO_IP, SO_RTABLE, &rtableid, in local_listen() 972 if (setsockopt(s, IPPROTO_IP, IP_TOS, in set_common_sockopts()
|