Home
last modified time | relevance | path

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

123

/external/tcpdump/
Dipproto.h42 #ifndef IPPROTO_IP
43 #define IPPROTO_IP 0 /* dummy for IP */ macro
/external/kernel-headers/original/uapi/linux/
Din.h26 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator
27 #define IPPROTO_IP IPPROTO_IP macro
/external/strace/xlat/
Dinet_protocols.h4 #if defined(IPPROTO_IP) || (defined(HAVE_DECL_IPPROTO_IP) && HAVE_DECL_IPPROTO_IP)
5 XLAT(IPPROTO_IP),
Dinet_protocols.in1 IPPROTO_IP
/external/chromium_org/net/udp/
Dudp_socket_libevent.cc546 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()
Dudp_socket_win.cc642 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/
Dping.c163 (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/
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/mdnsresponder/mDNSPosix/
DmDNSUNP.c587 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()
DmDNSPosix.c668 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/
Dwps_upnp_ssdp.c761 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/
Drtpw.c295 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/
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/chromium_org/net/tools/quic/
Dquic_socket_utils.cc74 return setsockopt(fd, IPPROTO_IP, IP_PKTINFO, in SetGetAddressInfo()
161 cmsg->cmsg_level = IPPROTO_IP; in SetIpInfoInCmsg()
Dquic_server.cc128 rc = setsockopt(fd_, IPPROTO_IP, IP_PKTINFO, in Listen()
/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()
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()
/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/chromium_org/third_party/webrtc/test/channel_transport/
Dudp_transport_impl.cc883 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()
Dudp_socket_posix.cc140 if (SetSockopt(IPPROTO_IP, IP_TOS ,(int8_t*)&serviceType ,4) != 0) in SetTOS()
/external/chromium_org/third_party/openssl/openssl/
De_os.h493 # if !defined(IPPROTO_IP)
724 #define IPPROTO_IP 0 macro
/external/openssl/
De_os.h500 # if !defined(IPPROTO_IP)
731 #define IPPROTO_IP 0 macro
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c771 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/
Dsockets.c1525 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()

123