Home
last modified time | relevance | path

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

/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/
Dsocketlayers.h16 #if defined(SOL_IPV6) || (defined(HAVE_DECL_SOL_IPV6) && HAVE_DECL_SOL_IPV6)
17 XLAT(SOL_IPV6),
Dsocketlayers.in5 SOL_IPV6
/external/dnsmasq/src/
Dconfig.h278 # if defined(SOL_IPV6)
279 # define IPV6_LEVEL SOL_IPV6
/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/strace/
Dnet.c124 #ifdef SOL_IPV6
919 #ifdef SOL_IPV6 in sys_getsockopt()
920 case SOL_IPV6: in sys_getsockopt()
1087 #ifdef SOL_IPV6 in printsockopt()
1088 case SOL_IPV6: in printsockopt()
DChangeLog-CVS2681 [SOL_IPV6] (sockipv6options): New variable.
2682 (sys_getsockopt, printsockopt): Use it for SOL_IPV6 level.
/external/android-clat/
Dsetif.c147 ret = setsockopt(sock, SOL_IPV6, what, &mreq, sizeof(mreq)); in do_anycast_setsockopt()
Dclatd.c244 if (setsockopt(rawsock, SOL_IPV6, IPV6_CHECKSUM, &off, sizeof(off)) < 0) { in open_sockets()