/external/tcpdump/ |
D | ipproto.h | 42 #ifndef IPPROTO_IP 43 #define IPPROTO_IP 0 /* dummy for IP */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | in.h | 26 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator 27 #define IPPROTO_IP IPPROTO_IP macro
|
/external/strace/xlat/ |
D | inet_protocols.h | 4 #if defined(IPPROTO_IP) || (defined(HAVE_DECL_IPPROTO_IP) && HAVE_DECL_IPPROTO_IP) 5 XLAT(IPPROTO_IP),
|
D | inet_protocols.in | 1 IPPROTO_IP
|
/external/chromium_org/net/udp/ |
D | udp_socket_libevent.cc | 546 rv = setsockopt(socket_, IPPROTO_IP, IP_MULTICAST_LOOP, in SetSocketOptions() 560 rv = setsockopt(socket_, IPPROTO_IP, IP_MULTICAST_TTL, in SetSocketOptions() 585 int rv = setsockopt(socket_, IPPROTO_IP, IP_MULTICAST_IF, in SetSocketOptions() 661 int rv = setsockopt(socket_, IPPROTO_IP, IP_ADD_MEMBERSHIP, in JoinGroup() 698 int rv = setsockopt(socket_, IPPROTO_IP, IP_DROP_MEMBERSHIP, in LeaveGroup() 760 rv = setsockopt(socket_, IPPROTO_IP, IP_TOS, in SetDiffServCodePoint()
|
D | udp_socket_win.cc | 642 addr_family_ == AF_INET ? IPPROTO_IP : IPPROTO_IPV6; in SetSocketOptions() 653 addr_family_ == AF_INET ? IPPROTO_IP : IPPROTO_IPV6; in SetSocketOptions() 666 int rv = setsockopt(socket_, IPPROTO_IP, IP_MULTICAST_IF, in SetSocketOptions() 740 int rv = setsockopt(socket_, IPPROTO_IP, IP_ADD_MEMBERSHIP, in JoinGroup() 779 int rv = setsockopt(socket_, IPPROTO_IP, IP_DROP_MEMBERSHIP, in LeaveGroup()
|
/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/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/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() 698 err = setsockopt(*sktPtr, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imr, sizeof(imr)); in SetupSocket() 705 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_IF, &((struct sockaddr_in*)intfAddr)->sin_addr,… in SetupSocket() 712 err = setsockopt(*sktPtr, IPPROTO_IP, IP_TTL, &kIntTwoFiveFive, sizeof(kIntTwoFiveFive)); in SetupSocket() 720 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_TTL, &kByteTwoFiveFive, sizeof(kByteTwoFiveFive… in SetupSocket() 722 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_TTL, &kIntTwoFiveFive, sizeof(kIntTwoFiveFive)); in SetupSocket()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 761 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open() 764 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open() 898 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast_sock() 905 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast_sock() 922 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
|
/external/chromium_org/third_party/libsrtp/srtp/test/ |
D | rtpw.c | 295 ret = setsockopt(sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, in main() 306 ret = setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (void*)&mreq, in main() 560 ret = setsockopt(sock, IPPROTO_IP, IP_DROP_MEMBERSHIP, (void*)&mreq, in leave_group()
|
/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/chromium_org/net/tools/quic/ |
D | quic_socket_utils.cc | 74 return setsockopt(fd, IPPROTO_IP, IP_PKTINFO, in SetGetAddressInfo() 161 cmsg->cmsg_level = IPPROTO_IP; in SetIpInfoInCmsg()
|
D | quic_server.cc | 128 rc = setsockopt(fd_, IPPROTO_IP, IP_PKTINFO, in Listen()
|
/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()
|
/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/chromium_org/third_party/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() 2675 if (0 > (sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP))) in LocalHostAddress()
|
D | udp_socket_posix.cc | 140 if (SetSockopt(IPPROTO_IP, IP_TOS ,(int8_t*)&serviceType ,4) != 0) in SetTOS()
|
/external/chromium_org/third_party/openssl/openssl/ |
D | e_os.h | 493 # if !defined(IPPROTO_IP) 724 #define IPPROTO_IP 0 macro
|
/external/openssl/ |
D | e_os.h | 500 # if !defined(IPPROTO_IP) 731 #define IPPROTO_IP 0 macro
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 771 if ((cmsgptr->cmsg_level == IPPROTO_IP) && (cmsgptr->cmsg_type == IP_PKTINFO)) { in recv_function_udp() 783 if ((cmsgptr->cmsg_level == IPPROTO_IP) && (cmsgptr->cmsg_type == IP_RECVDSTADDR)) { in recv_function_udp() 1138 …if (setsockopt(SCTP_BASE_VAR(userspace_rawsctp), IPPROTO_IP, IP_HDRINCL,(const void*)&hdrincl, siz… 1189 …if (setsockopt(SCTP_BASE_VAR(userspace_udpsctp), IPPROTO_IP, IP_PKTINFO, (const void *)&on, (int)s… 1191 …if (setsockopt(SCTP_BASE_VAR(userspace_udpsctp), IPPROTO_IP, IP_RECVDSTADDR, (const void *)&on, (i…
|
/external/qemu/android/ |
D | sockets.c | 1525 if ( setsockopt( s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in socket_mcast_inet_add_membership() 1542 if ( setsockopt( s, IPPROTO_IP, IP_DROP_MEMBERSHIP, in socket_mcast_inet_drop_membership() 1554 return socket_setoption( s, IPPROTO_IP, IP_MULTICAST_LOOP, !!enabled ); in socket_mcast_inet_set_loop() 1560 return socket_setoption( s, IPPROTO_IP, IP_MULTICAST_TTL, ttl ); in socket_mcast_inet_set_ttl()
|