Home
last modified time | relevance | path

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

/external/strace/tests/
Dip_mreq.expected5 setsockopt\(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, "\\377", 1\) = -1 ENOPROTOOPT .*
6 setsockopt\(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, "\\377", 1\) = -1 ENOPROTOOPT .*
7 setsockopt\(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_int…
8 setsockopt\(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_in…
9 setsockopt\(0, SOL_IPV6, IPV6_JOIN_ANYCAST, "\\377", 1\) = -1 ENOPROTOOPT .*
10 setsockopt\(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, "\\377", 1\) = -1 ENOPROTOOPT .*
11 setsockopt\(0, SOL_IPV6, IPV6_JOIN_ANYCAST, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_inter…
12 setsockopt\(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_inte…
Dip_mreq.c59 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, 1) == -1); in main()
60 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, 1) == -1); in main()
61 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, sizeof(m6)) == -1); in main()
62 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, sizeof(m6)) == -1); in main()
64 assert(setsockopt(0, SOL_IPV6, IPV6_JOIN_ANYCAST, &m6, 1) == -1); in main()
65 assert(setsockopt(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, &m6, 1) == -1); in main()
66 assert(setsockopt(0, SOL_IPV6, IPV6_JOIN_ANYCAST, &m6, sizeof(m6)) == -1); in main()
67 assert(setsockopt(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, &m6, sizeof(m6)) == -1); in main()
/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()
1300 if (cmsg->cmsg_level == SOL_IPV6) { in receive_error_msg()
1598 if (c->cmsg_level != SOL_IPV6) in parse_reply()
DRELNOTES379 [PING6,TRACEPATH6,TRACEROUTE6] Define SOL_IPV6,SOL_ICMPV6 where needed
/external/strace/xlat/
Dsetsockipv6options.in2 * Options specific to setsockopt(SOL_IPV6).
3 * Common {g,s}etsockopt(SOL_IPV6) options
Dgetsockipv6options.in2 * Options specific to getsockopt(SOL_IPV6).
3 * Common {g,s}etsockopt(SOL_IPV6) options
Dsocketlayers.h14 #if !(defined(SOL_IPV6) || (defined(HAVE_DECL_SOL_IPV6) && HAVE_DECL_SOL_IPV6))
15 # define SOL_IPV6 41 macro
117 XLAT(SOL_IPV6),
Dsocketlayers.in5 SOL_IPV6 41
/external/dnsmasq/src/
Dconfig.h278 # if defined(SOL_IPV6)
279 # 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/iproute2/doc/
Dapi-ip6-flowlabels.tex144 setsockopt(sock, SOL_IPV6, IPV6_FLOWINFO_SEND,
157 setsockopt(sock, SOL_IPV6, IPV6_FLOWINFO, (void*)&on, sizeof(on));
180 of type \verb|IPV6_FLOWINFO| and level \verb|SOL_IPV6|.
207 if (c->cmsg_level != SOL_IPV6 ||
358 if (setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR,
365 if (setsockopt(fd, SOL_IPV6, IPV6_FLOWINFO_SEND,
370 setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR,
/external/android-clat/
Dsetif.c147 ret = setsockopt(sock, SOL_IPV6, what, &mreq, sizeof(mreq)); in do_anycast_setsockopt()
Dclatd.c208 if (setsockopt(rawsock, SOL_IPV6, IPV6_CHECKSUM, &off, sizeof(off)) < 0) { in open_sockets()
/external/strace/
Dnet.c1172 case SOL_IPV6: in print_sockopt_fd_level_name()
1502 case SOL_IPV6: in print_setsockopt()
DChangeLog-CVS2681 [SOL_IPV6] (sockipv6options): New variable.
2682 (sys_getsockopt, printsockopt): Use it for SOL_IPV6 level.