Home
last modified time | relevance | path

Searched refs:IPPROTO_IP (Results 1 – 25 of 39) sorted by relevance

12

/external/tcpdump/
Dipproto.h42 #ifndef IPPROTO_IP
43 #define IPPROTO_IP 0 /* dummy for IP */ macro
/external/srtp/test/
Drtpw.c275 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/
Dwps_upnp_ssdp.c754 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/
Dwps_upnp_ssdp.c785 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/
DmDNSUNP.c580 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()
DmDNSPosix.c650 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/
Dsockmisc.c304 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/
Dping.c1744 (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/
Dtftp.c108 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()
Dnetwork.c353 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()
Ddhcp.c49 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()
Dforward.c78 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/
Din.h26 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator
/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y444 if (p_protocol == IPPROTO_IP) { in rule_check()
569 p_protocol = IPPROTO_IP; in policy_parse_request_init()
Dtest-policy.c162 proto = IPPROTO_IP;
/external/openssl/
De_os.h493 # if !defined(IPPROTO_IP)
724 #define IPPROTO_IP 0 macro
/external/qemu/
Dsockets.c1517 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/
Dudp.c541 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/
Dcanohost.c171 ipproto = IPPROTO_IP; in check_ip_options()
/external/netcat/
Dnetcat.c721 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/
Dphysicalsocketserver.cc438 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/
Dm_xt_old.c73 .ipproto = IPPROTO_IP,
/external/strace/
Dnet.c455 { IPPROTO_IP, "IPPROTO_IP" },
734 #if !defined (SOL_IP) && defined (IPPROTO_IP)
735 #define SOL_IP IPPROTO_IP
/external/dropbear/
Ddbutil.c168 setsockopt(sock, IPPROTO_IP, IP_TOS, (void*)&val, sizeof(val)); in set_sock_priority()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c249 sd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in get_node_id()

12