Home
last modified time | relevance | path

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

12

/external/iptables/extensions/
Dlibxt_set.h35 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req_version, &size); in get_version()
55 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size); in get_set_byid()
85 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size); in get_set_byname_only()
116 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size); in get_set_byname()
/external/strace/xlat/
Dgetsockipoptions.in2 * Options specific to getsockopt(SOL_IP).
3 * Common {g,s}etsockopt(SOL_IP) options
Dsetsockipoptions.in2 * Options specific to setsockopt(SOL_IP).
3 * Common {g,s}etsockopt(SOL_IP) options
Dsocketlayers.h2 #if !(defined(SOL_IP) || (defined(HAVE_DECL_SOL_IP) && HAVE_DECL_SOL_IP))
3 # define SOL_IP 0 macro
111 XLAT(SOL_IP),
Dsocketlayers.in1 SOL_IP 0
/external/iputils/
Dtracepath.c150 if (cmsg->cmsg_level == SOL_IP) { in recverr()
395 if (setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &on, sizeof(on)) && in main()
397 setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &on, sizeof(on)))) { in main()
402 if (setsockopt(fd, SOL_IP, IP_RECVERR, &on, sizeof(on))) { in main()
406 if (setsockopt(fd, SOL_IP, IP_RECVTTL, &on, sizeof(on))) { in main()
422 if (setsockopt(fd, SOL_IP, IP_TTL, &on, sizeof(on))) { in main()
Dtracepath6.c189 case SOL_IP: in recverr()
514 if (setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &on, sizeof(on))) { in main()
519 if (setsockopt(fd, SOL_IP, IP_RECVERR, &on, sizeof(on))) { in main()
523 if (setsockopt(fd, SOL_IP, IP_RECVTTL, &on, sizeof(on))) { in main()
550 if (setsockopt(fd, SOL_IP, IP_TTL, &on, sizeof(on))) { in main()
Dping.c109 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},
345 if (setsockopt(probe_fd, SOL_IP, IP_MULTICAST_IF, &imr, sizeof(imr)) == -1) { in main()
458 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
483 if (setsockopt(icmp_sock, SOL_IP, IP_RECVERR, (char *)&hold, sizeof(hold))) in main()
486 if (setsockopt(icmp_sock, SOL_IP, IP_RECVTTL, (char *)&hold, sizeof(hold))) in main()
488 if (setsockopt(icmp_sock, SOL_IP, IP_RETOPTS, (char *)&hold, sizeof(hold))) in main()
638 if (cmsg->cmsg_level == SOL_IP) { in receive_error_msg()
815 if (cmsg->cmsg_level != SOL_IP) in parse_reply()
/external/strace/tests-m32/
Dip_mreq.c74 ARG_STR(SOL_IP), ARG_STR(IP_ADD_MEMBERSHIP), in main()
78 ARG_STR(SOL_IP), ARG_STR(IP_DROP_MEMBERSHIP), in main()
129 rc = setsockopt(0, SOL_IP, long_ip[i].optname, in main()
Dmsg_control.c46 #ifndef SOL_IP
47 # define SOL_IP 0 macro
543 cmsg->cmsg_level = SOL_IP; in test_ip_pktinfo()
582 cmsg->cmsg_level = SOL_IP; in test_ip_uint()
608 cmsg->cmsg_level = SOL_IP; in test_ip_uint8_t()
651 cmsg->cmsg_level = SOL_IP; in test_ip_opts()
690 cmsg->cmsg_level = SOL_IP; in test_ip_recverr()
732 cmsg->cmsg_level = SOL_IP; in test_ip_origdstaddr()
781 ARG_STR(SOL_IP)); in test_sol_ip()
782 test_unknown_type(mh, page, ARG_STR(SOL_IP), "IP_???"); in test_sol_ip()
/external/strace/tests-mx32/
Dip_mreq.c74 ARG_STR(SOL_IP), ARG_STR(IP_ADD_MEMBERSHIP), in main()
78 ARG_STR(SOL_IP), ARG_STR(IP_DROP_MEMBERSHIP), in main()
129 rc = setsockopt(0, SOL_IP, long_ip[i].optname, in main()
Dmsg_control.c46 #ifndef SOL_IP
47 # define SOL_IP 0 macro
543 cmsg->cmsg_level = SOL_IP; in test_ip_pktinfo()
582 cmsg->cmsg_level = SOL_IP; in test_ip_uint()
608 cmsg->cmsg_level = SOL_IP; in test_ip_uint8_t()
651 cmsg->cmsg_level = SOL_IP; in test_ip_opts()
690 cmsg->cmsg_level = SOL_IP; in test_ip_recverr()
732 cmsg->cmsg_level = SOL_IP; in test_ip_origdstaddr()
781 ARG_STR(SOL_IP)); in test_sol_ip()
782 test_unknown_type(mh, page, ARG_STR(SOL_IP), "IP_???"); in test_sol_ip()
/external/strace/tests/
Dip_mreq.c74 ARG_STR(SOL_IP), ARG_STR(IP_ADD_MEMBERSHIP), in main()
78 ARG_STR(SOL_IP), ARG_STR(IP_DROP_MEMBERSHIP), in main()
129 rc = setsockopt(0, SOL_IP, long_ip[i].optname, in main()
Dmsg_control.c46 #ifndef SOL_IP
47 # define SOL_IP 0 macro
543 cmsg->cmsg_level = SOL_IP; in test_ip_pktinfo()
582 cmsg->cmsg_level = SOL_IP; in test_ip_uint()
608 cmsg->cmsg_level = SOL_IP; in test_ip_uint8_t()
651 cmsg->cmsg_level = SOL_IP; in test_ip_opts()
690 cmsg->cmsg_level = SOL_IP; in test_ip_recverr()
732 cmsg->cmsg_level = SOL_IP; in test_ip_origdstaddr()
781 ARG_STR(SOL_IP)); in test_sol_ip()
782 test_unknown_type(mh, page, ARG_STR(SOL_IP), "IP_???"); in test_sol_ip()
/external/iproute2/tc/
Dem_ipset.c84 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req_version, &size); in get_version()
101 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, req, &size); in do_getsockopt()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c192 } else if ((cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg()
204 } else if (cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg()
316 if (setsockopt(fd, SOL_IP, IP_PKTINFO, in do_test()
Dtimestamping.c446 if (setsockopt(sock, SOL_IP, IP_PKTINFO, in main()
/external/ltp/testcases/network/sockets/
DltpClient.c500 if (setsockopt(rawSocket, SOL_IP, IP_TTL, &value, sizeof(value)) != 0) { in ping_network()
583 if (setsockopt(rawTraceSocket, SOL_IP, SO_ERROR, &flag, sizeof(flag)) != in ltp_traceroute()
593 (rawTraceSocket, SOL_IP, IP_TTL, &TimeToLive, in ltp_traceroute()
/external/autotest/client/cros/netprotos/
Dinterface_host.py135 self._send_sock.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_TTL,
/external/wpa_supplicant_8/src/ap/
Diapp.c471 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init()
528 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()
181 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in dhcp_packet()
304 cmptr->cmsg_level = SOL_IP; in dhcp_packet()
/external/strace/
Dnet.c456 case SOL_IP: in print_sockopt_fd_level_name()
762 case SOL_IP: in print_setsockopt()
Dmsghdr.c246 case SOL_IP: in print_cmsg_type_data()
/external/python/cpython2/Lib/plat-atheos/
DIN.py777 SOL_IP = 0 variable
860 SOL_IP = 0 variable
/external/python/cpython2/Lib/plat-linux2/
DIN.py508 SOL_IP = 0 variable

12