Home
last modified time | relevance | path

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

12

/external/tcpdump/
Dipproto.h42 #ifndef IPPROTO_IP
43 #define IPPROTO_IP 0 /* dummy for IP */ macro
/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/ipsec-tools/src/racoon/
Dsockmisc.c307 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.c1698 (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/
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()
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()
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/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/kernel-headers/original/linux/
Din.h26 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator
/external/qemu/
Dsockets.c1496 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()
Dnet.c1631 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/
De_os.h499 # if !defined(IPPROTO_IP)
736 #define IPPROTO_IP 0 macro
/external/openssl/crypto/bio/
Dbss_dgram.c477 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/
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/strace/
Dnet.c397 { IPPROTO_IP, "IPPROTO_IP" },
625 #if !defined (SOL_IP) && defined (IPPROTO_IP)
626 #define SOL_IP IPPROTO_IP
/external/iproute2/tc/
Dm_xt_old.c68 .ipproto = IPPROTO_IP,
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c206 sd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in get_node_id()
/external/netcat/
Dnetcat.c745 rr = setsockopt (nnetfd, IPPROTO_IP, IP_OPTIONS, optbuf, x);
879 rr = getsockopt (nnetfd, IPPROTO_IP, IP_OPTIONS, optbuf, &x);
/external/dropbear/
Ddbutil.c168 setsockopt(sock, IPPROTO_IP, IP_TOS, (void*)&val, sizeof(val)); in set_sock_priority()
/external/quake/quake/src/WinQuake/
Dmpdosock.h188 #define IPPROTO_IP 0 /* dummy for IP */ macro
/external/iptables/libiptc/
Dlibip4tc.c98 #define TC_IPPROTO IPPROTO_IP
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_client.c926 r = setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER, &action, in radius_client_disable_pmtu_discovery()
Dradius_server.c781 r = setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER, &action, in radius_server_disable_pmtu_discovery()

12