/external/tcpdump/ |
D | ipproto.h | 42 #ifndef IPPROTO_IP 43 #define IPPROTO_IP 0 /* dummy for IP */ macro
|
/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/ipsec-tools/src/racoon/ |
D | sockmisc.c | 307 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 | 1698 (setsockopt(icmp_sock, IPPROTO_IP, IP_TOS, in main() 1847 setsockopt(probe_fd, IPPROTO_IP, IP_TOS, (char *)&settos, sizeof(int)) < 0) in main() 1957 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, sizeof(rspace)) < 0) { in main() 1974 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, rspace[1]) < 0) { in main() 1976 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, rspace[1]) < 0) { in main() 1994 if (setsockopt(icmp_sock, IPPROTO_IP, IP_OPTIONS, rspace, 4 + nroute*4) < 0) { in main() 2017 if (setsockopt(icmp_sock, IPPROTO_IP, IP_MULTICAST_LOOP, in main() 2025 if (setsockopt(icmp_sock, IPPROTO_IP, IP_MULTICAST_TTL, in main() 2030 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 | 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 | 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 | 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/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/kernel-headers/original/linux/ |
D | in.h | 26 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator
|
/external/qemu/ |
D | sockets.c | 1496 if ( setsockopt( s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in socket_mcast_inet_add_membership() 1513 if ( setsockopt( s, IPPROTO_IP, IP_DROP_MEMBERSHIP, in socket_mcast_inet_drop_membership() 1525 return socket_setoption( s, IPPROTO_IP, IP_MULTICAST_LOOP, !!enabled ); in socket_mcast_inet_set_loop() 1531 return socket_setoption( s, IPPROTO_IP, IP_MULTICAST_TTL, ttl ); in socket_mcast_inet_set_ttl()
|
D | net.c | 1631 ret = setsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in net_socket_mcast_create() 1640 ret=setsockopt(fd, IPPROTO_IP, IP_MULTICAST_LOOP, in net_socket_mcast_create()
|
/external/openssl/ |
D | e_os.h | 499 # if !defined(IPPROTO_IP) 736 #define IPPROTO_IP 0 macro
|
/external/openssl/crypto/bio/ |
D | bss_dgram.c | 477 if ((ret = setsockopt(b->num, IPPROTO_IP, IP_MTU_DISCOVER, in dgram_ctrl() 510 if ((ret = getsockopt(b->num, IPPROTO_IP, IP_MTU, (void *)&sockopt_val, in dgram_ctrl()
|
/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/strace/ |
D | net.c | 397 { IPPROTO_IP, "IPPROTO_IP" }, 625 #if !defined (SOL_IP) && defined (IPPROTO_IP) 626 #define SOL_IP IPPROTO_IP
|
/external/iproute2/tc/ |
D | m_xt_old.c | 68 .ipproto = IPPROTO_IP,
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 206 sd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in get_node_id()
|
/external/netcat/ |
D | netcat.c | 745 rr = setsockopt (nnetfd, IPPROTO_IP, IP_OPTIONS, optbuf, x); 879 rr = getsockopt (nnetfd, IPPROTO_IP, IP_OPTIONS, optbuf, &x);
|
/external/dropbear/ |
D | dbutil.c | 168 setsockopt(sock, IPPROTO_IP, IP_TOS, (void*)&val, sizeof(val)); in set_sock_priority()
|
/external/quake/quake/src/WinQuake/ |
D | mpdosock.h | 188 #define IPPROTO_IP 0 /* dummy for IP */ macro
|
/external/iptables/libiptc/ |
D | libip4tc.c | 98 #define TC_IPPROTO IPPROTO_IP
|
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
D | radius_client.c | 926 r = setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER, &action, in radius_client_disable_pmtu_discovery()
|
D | radius_server.c | 781 r = setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER, &action, in radius_server_disable_pmtu_discovery()
|