Home
last modified time | relevance | path

Searched refs:IPPROTO_IPV6 (Results 1 – 25 of 73) sorted by relevance

123

/titanic_44/usr/src/uts/common/inet/ip/
H A Dicmp_opt_data.c197 { IPV6_MULTICAST_IF, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, 0,
200 { IPV6_MULTICAST_HOPS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
203 { IPV6_MULTICAST_LOOP, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
206 { IPV6_JOIN_GROUP, IPPROTO_IPV6, OA_X, OA_X, OP_NP, OP_NODEFAULT,
209 { IPV6_LEAVE_GROUP, IPPROTO_IPV6, OA_X, OA_X, OP_NP, OP_NODEFAULT,
212 { IPV6_UNICAST_HOPS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, OP_DEF_FN,
215 { IPV6_BOUND_IF, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, 0,
218 { IPV6_UNSPEC_SRC, IPPROTO_IPV6, OA_R, OA_RW, OP_RAW, 0,
221 { IPV6_CHECKSUM, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, 0, sizeof (int),
226 { IPV6_PKTINFO, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
[all …]
H A Drts_opt_data.c83 IPPROTO_IPV6
H A Dconn_opt.c404 toh->level = IPPROTO_IPV6; in conn_recvancillary_add()
425 toh->level = IPPROTO_IPV6; in conn_recvancillary_add()
438 toh->level = IPPROTO_IPV6; in conn_recvancillary_add()
456 toh->level = IPPROTO_IPV6; in conn_recvancillary_add()
478 toh->level = IPPROTO_IPV6; in conn_recvancillary_add()
495 toh->level = IPPROTO_IPV6; in conn_recvancillary_add()
510 toh->level = IPPROTO_IPV6; in conn_recvancillary_add()
820 case IPPROTO_IPV6: in conn_opt_get()
1023 case IPPROTO_IPV6: in conn_opt_set()
/titanic_44/usr/src/uts/common/inet/udp/
H A Dudp_opt_data.c185 { IPV6_MULTICAST_IF, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, 0,
188 { IPV6_MULTICAST_HOPS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
191 { IPV6_MULTICAST_LOOP, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
194 { IPV6_JOIN_GROUP, IPPROTO_IPV6, OA_X, OA_X, OP_NP, OP_NODEFAULT,
197 { IPV6_LEAVE_GROUP, IPPROTO_IPV6, OA_X, OA_X, OP_NP,
201 { IPV6_UNICAST_HOPS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, OP_DEF_FN,
204 { IPV6_BOUND_IF, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, 0,
207 { IPV6_UNSPEC_SRC, IPPROTO_IPV6, OA_R, OA_RW, OP_RAW, 0,
210 { IPV6_PKTINFO, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
213 { IPV6_HOPLIMIT, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
[all …]
/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_opt_data.c163 { IPV6_UNICAST_HOPS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, OP_DEF_FN,
166 { IPV6_BOUND_IF, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, 0,
174 { IPV6_UNSPEC_SRC, IPPROTO_IPV6, OA_R, OA_RW, OP_RAW, 0,
177 { IPV6_PKTINFO, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
180 { IPV6_NEXTHOP, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
183 { IPV6_HOPOPTS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
186 { IPV6_DSTOPTS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
189 { IPV6_RTHDRDSTOPTS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
192 { IPV6_RTHDR, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
195 { IPV6_TCLASS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
[all …]
/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_opt_data.c709 { IPV6_UNICAST_HOPS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, OP_DEF_FN,
712 { IPV6_BOUND_IF, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP, 0,
720 { IPV6_UNSPEC_SRC, IPPROTO_IPV6, OA_R, OA_RW, OP_RAW, 0,
723 { IPV6_PKTINFO, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
726 { IPV6_NEXTHOP, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
729 { IPV6_HOPOPTS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
732 { IPV6_DSTOPTS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
735 { IPV6_RTHDRDSTOPTS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
738 { IPV6_RTHDR, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
741 { IPV6_TCLASS, IPPROTO_IPV6, OA_RW, OA_RW, OP_NP,
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c400 if (setsockopt(sock, IPPROTO_IPV6, IPV6_BOUND_IF, (char *)&ifindex, in setup_listen_sock()
408 if (setsockopt(sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, (char *)&hops, in setup_listen_sock()
415 if (setsockopt(sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, (char *)&hops, in setup_listen_sock()
422 if (setsockopt(sock, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, (char *)&off, in setup_listen_sock()
431 if (setsockopt(sock, IPPROTO_IPV6, IPV6_JOIN_GROUP, in setup_listen_sock()
441 if (setsockopt(sock, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, (char *)&on, in setup_listen_sock()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c199 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data()
211 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data()
247 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data()
285 if (cmsg->cmsg_level == IPPROTO_IPV6 && in update_hoplimit_ancillary_data()
507 IPPROTO_IPV6, IPV6_PKTINFO); in check_reply6()
/titanic_44/usr/src/cmd/ipf/lib/common/
H A Dv6ionames.c15 { IPPROTO_IPV6, 0x000002, 0, "ipv6" },
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c881 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_RECVPKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
888 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
897 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, &kOn, sizeof(kOn)); in SetupSocket()
904 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_HOPLIMIT, &kOn, sizeof(kOn)); in SetupSocket()
915 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_JOIN_GROUP, &imr6, sizeof(imr6)); in SetupSocket()
928 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_MULTICAST_IF, &multicast_if, sizeof(multicast_if)); in SetupSocket()
936 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_V6ONLY, &kOn, sizeof(kOn)); in SetupSocket()
943 …err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &kIntTwoFiveFive, sizeof(kIntTwoFiveFiv… in SetupSocket()
951 …err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &kByteTwoFiveFive, sizeof(kByteTwoFiv… in SetupSocket()
953 …err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &kIntTwoFiveFive, sizeof(kIntTwoFiveF… in SetupSocket()
/titanic_44/usr/src/uts/common/io/mac/plugins/
H A Dmac_6to4.c100 if (sap == IPPROTO_IPV6 || sap == 0) { in mac_6to4_sap_verify()
H A Dmac_ipv4.c124 if (sap == IPPROTO_ENCAP || sap == IPPROTO_IPV6 || sap == 0) { in mac_ipv4_sap_verify()
H A Dmac_ipv6.c198 while (nexthdr != IPPROTO_ENCAP && nexthdr != IPPROTO_IPV6) { in mac_ipv6_header_info()
/titanic_44/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c151 if (setsockopt(s, IPPROTO_IPV6, IPV6_UNICAST_HOPS, in spoof_set_max_hops()
156 if (setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, in spoof_set_max_hops()
662 if (setsockopt(s, IPPROTO_IPV6, IPV6_BOUND_IF, in main()
/titanic_44/usr/src/lib/libdtrace/common/
H A Dip.d.in55 #pragma D binding "1.5" IPPROTO_IPV6
56 inline int IPPROTO_IPV6 = @IPPROTO_IPV6@; variable
326 I->ipha_protocol == IPPROTO_IPV6 ? "IPv6" :
359 I->ip6_ctlun.ip6_un1.ip6_un1_nxt == IPPROTO_IPV6 ? "IPv6" :
H A Dip.sed.in58 SED_REPLACE(IPPROTO_IPV6)
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c179 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data()
193 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data()
228 cmsgp->cmsg_level = IPPROTO_IPV6; in set_ancillary_data()
1026 if (cmsg->cmsg_level == IPPROTO_IPV6) { in pr_ext_headers()
H A Dping.c1250 if (setsockopt(sock, IPPROTO_IPV6, IPV6_NEXTHOP, in set_nexthop()
1300 IPPROTO_IPV6, IP_SEC_OPT, &req, sizeof (req)) < 0) { in setup_socket()
1336 IPPROTO_IP : IPPROTO_IPV6, IP_SEC_OPT, &req, in setup_socket()
1445 if (setsockopt(send_sock, IPPROTO_IPV6, in setup_socket()
1577 if (setsockopt(send_sock, IPPROTO_IPV6, IPV6_DONTFRAG, in setup_socket()
1587 if (setsockopt(recv_sock, IPPROTO_IPV6, IPV6_RECVHOPOPTS, in setup_socket()
1594 if (setsockopt(recv_sock, IPPROTO_IPV6, IPV6_RECVDSTOPTS, in setup_socket()
1601 if (setsockopt(recv_sock, IPPROTO_IPV6, IPV6_RECVRTHDR, in setup_socket()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c342 if (setsockopt(sd, IPPROTO_IPV6, IPV6_NEXTHOP, in tcp_query()
668 if (setsockopt(send_sd, IPPROTO_IPV6, IPV6_NEXTHOP, in udp_query()
788 if (setsockopt(sd, IPPROTO_IPV6, IPV6_NEXTHOP, in ping_query()
/titanic_44/usr/src/lib/libnsl/rpc/
H A Dsvc_generic.c285 ret = __rpc_tli_set_options(fd, IPPROTO_IPV6, in svc_tli_create_common()
412 ret = __rpc_tli_set_options(fd, IPPROTO_IPV6, in svc_tli_create_common()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c331 if (tlx_setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &on, in create_bound_endpoint()
552 if (tlx_setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &on, in tlx_accept()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c90 { DL_IPV4, 0, 9, 1, IPPROTO_ENCAP, IPPROTO_IPV6,
94 { DL_IPV6, 0, 40, 1, IPPROTO_ENCAP, IPPROTO_IPV6,
98 { DL_6TO4, 0, 9, 1, IPPROTO_ENCAP, IPPROTO_IPV6,
1771 while (nxt != IPPROTO_ENCAP && nxt != IPPROTO_IPV6) { in ipv6_header_len()
H A Dsnoop_ipsec.c206 case IPPROTO_IPV6: in interpret_ah()
/titanic_44/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c463 case IPPROTO_IPV6: { in ilb_full_nat()
533 case IPPROTO_IPV6: { in ilb_half_nat()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c318 if (setsockopt(fd, IPPROTO_IPV6, in phyint_init_from_k()
327 if (setsockopt(fd, IPPROTO_IPV6, IPV6_UNICAST_HOPS, in phyint_init_from_k()
334 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, in phyint_init_from_k()
343 if (setsockopt(fd, IPPROTO_IPV6, IPV6_JOIN_GROUP, in phyint_init_from_k()
381 if (setsockopt(fd, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, in phyint_init_from_k()
387 if (setsockopt(fd, IPPROTO_IPV6, IPV6_RECVRTHDR, in phyint_init_from_k()
399 if (setsockopt(fd, IPPROTO_IPV6, IPV6_JOIN_GROUP, in phyint_init_from_k()

123