Searched refs:SOL_IPV6 (Results 1 - 11 of 11) sorted by relevance

/external/strace/tests/
H A Dip_mreq.c59 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, 1) == -1);
60 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, 1) == -1);
61 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, sizeof(m6)) == -1);
62 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, sizeof(m6)) == -1);
64 assert(setsockopt(0, SOL_IPV6, IPV6_JOIN_ANYCAST, &m6, 1) == -1);
65 assert(setsockopt(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, &m6, 1) == -1);
66 assert(setsockopt(0, SOL_IPV6, IPV6_JOIN_ANYCAST, &m6, sizeof(m6)) == -1);
67 assert(setsockopt(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, &m6, sizeof(m6)) == -1);
/external/strace/xlat/
H A 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),
/external/iputils/
H A Dtracepath6.c34 #ifndef SOL_IPV6
35 #define SOL_IPV6 IPPROTO_IPV6 macro
174 case SOL_IPV6:
480 if (setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)) &&
482 setsockopt(fd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on)))) {
487 if (setsockopt(fd, SOL_IPV6, IPV6_RECVERR, &on, sizeof(on))) {
493 setsockopt(fd, SOL_IPV6, IPV6_HOPLIMIT, &on, sizeof(on)) &&
494 setsockopt(fd, SOL_IPV6, IPV6_2292HOPLIMIT, &on, sizeof(on))
496 setsockopt(fd, SOL_IPV6, IPV6_HOPLIMIT, &on, sizeof(on))
542 if (setsockopt(fd, SOL_IPV6, IPV6_UNICAST_HOP
[all...]
H A Dtraceroute6.c272 #ifndef SOL_IPV6
273 #define SOL_IPV6 IPPROTO_IPV6 macro
500 setsockopt(icmp_sock, SOL_IPV6, IPV6_RECVPKTINFO, &on, sizeof(on));
501 setsockopt(icmp_sock, SOL_IPV6, IPV6_2292PKTINFO, &on, sizeof(on));
503 setsockopt(icmp_sock, SOL_IPV6, IPV6_PKTINFO, &on, sizeof(on));
708 if (cmsg->cmsg_level != SOL_IPV6)
735 i = setsockopt(sndsock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, sizeof(ttl));
H A Dping6.c86 #ifndef SOL_IPV6
87 #define SOL_IPV6 IPPROTO_IPV6 macro
211 cmsg->cmsg_level = SOL_IPV6;
1049 cmsg->cmsg_level = SOL_IPV6;
1073 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) {
1097 if (setsockopt(icmp_sock, SOL_IPV6, IPV6_RECVERR, (char *)&hold, sizeof(hold))) {
1300 if (cmsg->cmsg_level == SOL_IPV6) {
1598 if (c->cmsg_level != SOL_IPV6)
/external/dnsmasq/src/
H A Dconfig.h278 # if defined(SOL_IPV6)
279 # define IPV6_LEVEL SOL_IPV6
/external/toybox/toys/pending/
H A Dtraceroute.c72 #ifndef SOL_IPV6
73 # define SOL_IPV6 IPPROTO_IPV6 macro
151 if (setsockopt(TT.snd_sock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl,
515 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_RECVPKTINFO, &set,
517 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_2292PKTINFO, &set,
520 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_PKTINFO, &set, sizeof(set));
/external/android-clat/
H A Dsetif.c147 ret = setsockopt(sock, SOL_IPV6, what, &mreq, sizeof(mreq));
H A Dclatd.c208 if (setsockopt(rawsock, SOL_IPV6, IPV6_CHECKSUM, &off, sizeof(off)) < 0) {
/external/iproute2/doc/
H A 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/strace/
H A Dnet.c1172 case SOL_IPV6:
1502 case SOL_IPV6:

Completed in 1006 milliseconds