/external/tcpdump/ |
D | ipproto.h | 42 #ifndef IPPROTO_IP 43 #define IPPROTO_IP 0 /* dummy for IP */ macro
|
/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/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 754 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open() 757 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open() 875 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast_sock() 882 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast_sock() 899 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps_upnp_ssdp.c | 785 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_start() 788 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_start() 888 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast() 891 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast() 904 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 580 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 595 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 607 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 627 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags() 632 else if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
|
D | mDNSPosix.c | 650 err = setsockopt(*sktPtr, IPPROTO_IP, IP_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket() 654 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVDSTADDR, &kOn, sizeof(kOn)); in SetupSocket() 660 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVIF, &kOn, sizeof(kOn)); in SetupSocket() 671 setsockopt(*sktPtr, IPPROTO_IP, IP_RECVTTL, &kOn, sizeof(kOn)); in SetupSocket() 680 err = setsockopt(*sktPtr, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imr, sizeof(imr)); in SetupSocket() 687 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_IF, &((struct sockaddr_in*)intfAddr)->sin_addr,… in SetupSocket() 694 err = setsockopt(*sktPtr, IPPROTO_IP, IP_TTL, &kIntTwoFiveFive, sizeof(kIntTwoFiveFive)); in SetupSocket() 702 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_TTL, &kByteTwoFiveFive, sizeof(kByteTwoFiveFive… in SetupSocket() 704 …err = setsockopt(*sktPtr, IPPROTO_IP, IP_MULTICAST_TTL, &kIntTwoFiveFive, sizeof(kIntTwoFiveFive)); in SetupSocket()
|
/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/ping/ |
D | ping.c | 1744 (setsockopt(icmp_sock, IPPROTO_IP, IP_TOS, in main() 1893 setsockopt(probe_fd, IPPROTO_IP, IP_TOS, (char *)&settos, sizeof(int)) < 0) in main() 2003 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, sizeof(rspace)) < 0) { in main() 2020 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, rspace[1]) < 0) { in main() 2022 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, rspace[1]) < 0) { in main() 2040 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, 4 + nroute*4) < 0) { in main() 2063 if (setsockopt(icmp_sock, IPPROTO_IP, IP_MULTICAST_LOOP, in main() 2071 if (setsockopt(icmp_sock, IPPROTO_IP, IP_MULTICAST_TTL, in main() 2076 if (setsockopt(icmp_sock, IPPROTO_IP, IP_TTL, in main()
|
/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 | network.c | 353 setsockopt(fd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 354 setsockopt(fd, IPPROTO_IP, IP_RECVIF, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 371 setsockopt(tftpfd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners() 372 setsockopt(tftpfd, IPPROTO_IP, IP_RECVIF, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
|
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 | forward.c | 78 cmptr->cmsg_level = IPPROTO_IP; in send_from() 649 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in receive_query() 651 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in receive_query()
|
/external/kernel-headers/original/linux/ |
D | in.h | 26 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator
|
/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/openssl/ |
D | e_os.h | 493 # if !defined(IPPROTO_IP) 724 #define IPPROTO_IP 0 macro
|
/external/qemu/ |
D | sockets.c | 1517 if ( setsockopt( s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in socket_mcast_inet_add_membership() 1534 if ( setsockopt( s, IPPROTO_IP, IP_DROP_MEMBERSHIP, in socket_mcast_inet_drop_membership() 1546 return socket_setoption( s, IPPROTO_IP, IP_MULTICAST_LOOP, !!enabled ); in socket_mcast_inet_set_loop() 1552 return socket_setoption( s, IPPROTO_IP, IP_MULTICAST_TTL, ttl ); in socket_mcast_inet_set_ttl()
|
/external/qemu/slirp/ |
D | udp.c | 541 s = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in udp_emu() 572 s = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in udp_emu()
|
/external/openssh/ |
D | canohost.c | 171 ipproto = IPPROTO_IP; in check_ip_options()
|
/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()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | physicalsocketserver.cc | 438 int err = getsockopt(s_, IPPROTO_IP, IP_MTU, &value, &vlen); in EstimateMTU() 479 *slevel = IPPROTO_IP; in TranslateOption() 486 *slevel = IPPROTO_IP; in TranslateOption()
|
/external/iproute2/tc/ |
D | m_xt_old.c | 73 .ipproto = IPPROTO_IP,
|
/external/strace/ |
D | net.c | 455 { IPPROTO_IP, "IPPROTO_IP" }, 734 #if !defined (SOL_IP) && defined (IPPROTO_IP) 735 #define SOL_IP IPPROTO_IP
|
/external/dropbear/ |
D | dbutil.c | 168 setsockopt(sock, IPPROTO_IP, IP_TOS, (void*)&val, sizeof(val)); in set_sock_priority()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 249 sd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in get_node_id()
|