Home
last modified time | relevance | path

Searched refs:SOL_IPV6 (Results 1 – 25 of 59) sorted by relevance

123

/external/iputils/
Dtracepath6.c34 #ifndef SOL_IPV6
35 #define SOL_IPV6 IPPROTO_IPV6 macro
174 case SOL_IPV6: in recverr()
480 if (setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)) && in main()
482 setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)))) { in main()
487 if (setsockopt(fd, SOL_IPV6, IPV6_RECVERR, &on, sizeof(on))) { in main()
493 setsockopt(fd, SOL_IPV6, IPV6_HOPLIMIT, &on, sizeof(on)) && in main()
494 setsockopt(fd, SOL_IPV6, IPV6_2292HOPLIMIT, &on, sizeof(on)) in main()
496 setsockopt(fd, SOL_IPV6, IPV6_HOPLIMIT, &on, sizeof(on)) in main()
542 if (setsockopt(fd, SOL_IPV6, IPV6_UNICAST_HOPS, &on, sizeof(on))) { in main()
Dtraceroute6.c272 #ifndef SOL_IPV6
273 #define SOL_IPV6 IPPROTO_IPV6 macro
500 setsockopt(icmp_sock, SOL_IPV6, IPV6_RECVPKTINFO, &on, sizeof(on)); in main()
501 setsockopt(icmp_sock, SOL_IPV6, IPV6_2292PKTINFO, &on, sizeof(on)); in main()
503 setsockopt(icmp_sock, SOL_IPV6, IPV6_PKTINFO, &on, sizeof(on)); in main()
708 if (cmsg->cmsg_level != SOL_IPV6)
735 i = setsockopt(sndsock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, sizeof(ttl)); in send_probe()
Dping6.c86 #ifndef SOL_IPV6
87 #define SOL_IPV6 IPPROTO_IPV6 macro
211 cmsg->cmsg_level = SOL_IPV6; in inet6_srcrt_init()
1049 cmsg->cmsg_level = SOL_IPV6; in main()
1073 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) { in main()
1097 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_RECVERR, (char *)&hold, sizeof(hold))) { in main()
1298 if (cmsg->cmsg_level == SOL_IPV6) { in receive_error_msg()
1596 if (c->cmsg_level != SOL_IPV6) in parse_reply()
/external/strace/tests-m32/
Dip_mreq.c88 ARG_STR(SOL_IPV6), ARG_STR(IPV6_ADD_MEMBERSHIP), in main()
95 ARG_STR(SOL_IPV6), ARG_STR(IPV6_DROP_MEMBERSHIP), in main()
102 ARG_STR(SOL_IPV6), ARG_STR(IPV6_JOIN_ANYCAST), in main()
109 ARG_STR(SOL_IPV6), ARG_STR(IPV6_LEAVE_ANYCAST), in main()
Dgroup_req.c97 ARG_STR(SOL_IPV6), ARG_STR(MCAST_JOIN_GROUP), greq6, in main()
104 ARG_STR(SOL_IPV6), ARG_STR(MCAST_LEAVE_GROUP), greq6, in main()
/external/strace/tests/
Dip_mreq.c88 ARG_STR(SOL_IPV6), ARG_STR(IPV6_ADD_MEMBERSHIP), in main()
95 ARG_STR(SOL_IPV6), ARG_STR(IPV6_DROP_MEMBERSHIP), in main()
102 ARG_STR(SOL_IPV6), ARG_STR(IPV6_JOIN_ANYCAST), in main()
109 ARG_STR(SOL_IPV6), ARG_STR(IPV6_LEAVE_ANYCAST), in main()
Dgroup_req.c97 ARG_STR(SOL_IPV6), ARG_STR(MCAST_JOIN_GROUP), greq6, in main()
104 ARG_STR(SOL_IPV6), ARG_STR(MCAST_LEAVE_GROUP), greq6, in main()
/external/strace/tests-mx32/
Dip_mreq.c88 ARG_STR(SOL_IPV6), ARG_STR(IPV6_ADD_MEMBERSHIP), in main()
95 ARG_STR(SOL_IPV6), ARG_STR(IPV6_DROP_MEMBERSHIP), in main()
102 ARG_STR(SOL_IPV6), ARG_STR(IPV6_JOIN_ANYCAST), in main()
109 ARG_STR(SOL_IPV6), ARG_STR(IPV6_LEAVE_ANYCAST), in main()
Dgroup_req.c97 ARG_STR(SOL_IPV6), ARG_STR(MCAST_JOIN_GROUP), greq6, in main()
104 ARG_STR(SOL_IPV6), ARG_STR(MCAST_LEAVE_GROUP), greq6, in main()
/external/ltp/testcases/network/lib6/
Dasapi_03.c189 {sizeof(uint32_t), SOL_IPV6, IPV6_TCLASS, {0x12} },
190 {sizeof(uint32_t), SOL_IPV6, IPV6_HOPLIMIT, {0x21} },
263 if (setsockopt(sr, SOL_IPV6, psoe->so_opt, &psoe->so_clrval, in so_test()
269 TEST(setsockopt(sr, SOL_IPV6, psoe->so_opt, &psoe->so_setval, in so_test()
278 TEST(getsockopt(sr, SOL_IPV6, psoe->so_opt, &sobuf, &valsize)); in so_test()
352 gotone = pcmsg->cmsg_level == SOL_IPV6 && in so_test()
/external/strace/xlat/
Dsetsock_ipv6_options.in2 * Options specific to setsockopt(SOL_IPV6).
3 * Common {g,s}etsockopt(SOL_IPV6) options
Dgetsock_ipv6_options.in2 * Options specific to getsockopt(SOL_IPV6).
3 * Common {g,s}etsockopt(SOL_IPV6) options
Dsocketlayers.h36 #if defined(SOL_IPV6) || (defined(HAVE_DECL_SOL_IPV6) && HAVE_DECL_SOL_IPV6)
38 static_assert((SOL_IPV6) == (41), "SOL_IPV6 != 41");
41 # define SOL_IPV6 41
289 XLAT(SOL_IPV6),
Dsocketlayers.in8 SOL_IPV6 41
/external/syzkaller/sys/linux/
Dnetfilter_ipv6.txt17 setsockopt$IP6T_SO_SET_REPLACE(fd sock_in6, level const[SOL_IPV6], opt const[IP6T_SO_SET_REPLACE], …
18 setsockopt$IP6T_SO_SET_ADD_COUNTERS(fd sock_in6, level const[SOL_IPV6], opt const[IP6T_SO_SET_ADD_C…
19 getsockopt$IP6T_SO_GET_INFO(fd sock_in6, level const[SOL_IPV6], opt const[IPT_SO_GET_INFO], val ptr…
20 getsockopt$IP6T_SO_GET_ENTRIES(fd sock_in6, level const[SOL_IPV6], opt const[IP6T_SO_GET_ENTRIES], …
21 getsockopt$IP6T_SO_GET_REVISION_MATCH(fd sock_in6, level const[SOL_IPV6], opt const[IP6T_SO_GET_REV…
22 getsockopt$IP6T_SO_GET_REVISION_TARGET(fd sock_in6, level const[SOL_IPV6], opt const[IP6T_SO_GET_RE…
Dnetfilter_ipv6_arm64.const81 SOL_IPV6 = 41
Dnetfilter_ipv6_arm.const81 SOL_IPV6 = 41
Dnetfilter_ipv6_386.const81 SOL_IPV6 = 41
Dnetfilter_ipv6_amd64.const81 SOL_IPV6 = 41
Dnetfilter_ipv6_ppc64le.const81 SOL_IPV6 = 41
/external/dnsmasq/src/
Dconfig.h251 #if defined(SOL_IPV6)
252 #define IPV6_LEVEL SOL_IPV6
/external/toybox/toys/pending/
Dtraceroute.c72 #ifndef SOL_IPV6
73 # define SOL_IPV6 IPPROTO_IPV6 macro
151 if (setsockopt(TT.snd_sock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, in send_probe6()
515 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_RECVPKTINFO, &set, in traceroute_main()
517 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_2292PKTINFO, &set, in traceroute_main()
520 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_PKTINFO, &set, sizeof(set)); in traceroute_main()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c196 (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg()
211 } else if (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg()
314 if (setsockopt(fd, SOL_IPV6, IPV6_RECVPKTINFO, in do_test()
/external/syzkaller/sys/freebsd/
Dsocket_amd64.const71 SOL_IPV6 = 41
/external/android-clat/
Dsetif.c151 ret = setsockopt(sock, SOL_IPV6, what, &mreq, sizeof(mreq)); in do_anycast_setsockopt()

123