Home
last modified time | relevance | path

Searched refs:SOL_IP (Results 1 – 10 of 10) sorted by relevance

/external/iptables/extensions/
Dlibxt_set.h27 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req_version, &size); in get_version()
47 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size); in get_set_byid()
77 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size); in get_set_byname()
/external/strace/
Dnet.c335 #if defined(SOL_IP)
336 { SOL_IP, "SOL_IP" },
625 #if !defined (SOL_IP) && defined (IPPROTO_IP)
626 #define SOL_IP IPPROTO_IP macro
629 #ifdef SOL_IP
1530 #ifdef SOL_IP
1531 case SOL_IP:
1661 #ifdef SOL_IP
1662 case SOL_IP:
DChangeLog2646 SOL_IP and SOL_TCP
/external/wpa_supplicant_8/src/ap/
Diapp.c468 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init()
522 if (setsockopt(iapp->udp_sock, SOL_IP, IP_DROP_MEMBERSHIP, in iapp_deinit()
/external/dnsmasq/src/
Ddhcp.c44 setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &mtu, sizeof(mtu)) == -1 || in dhcp_init()
47 setsockopt(fd, SOL_IP, IP_PKTINFO, &oneopt, sizeof(oneopt)) == -1 || in dhcp_init()
176 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in dhcp_packet()
299 cmptr->cmsg_level = SOL_IP; in dhcp_packet()
Dtftp.c100 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in tftp_request()
168 setsockopt(transfer->sockfd, SOL_IP, IP_MTU_DISCOVER, &mtuflag, sizeof(mtuflag)) == -1 || in tftp_request()
Dnetwork.c351 setsockopt(fd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
369 setsockopt(tftpfd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
Dforward.c72 cmptr->cmsg_level = SOL_IP; in send_from()
640 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in receive_query()
/external/ping/
Dping.c959 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},
997 if (cmsg->cmsg_level == SOL_IP) { in receive_error_msg()
1884 if (setsockopt(probe_fd, SOL_IP, IP_MULTICAST_IF, &imr, sizeof(imr)) == -1) { in main()
1967 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
1992 if (setsockopt(icmp_sock, SOL_IP, IP_RECVERR, (char *)&hold, sizeof(hold))) in main()
/external/kernel-headers/original/linux/
Dsocket.h262 #define SOL_IP 0 macro