comparison usr/src/man/man7p/ip6.7p @ 23918:f3c8f3a2a25c

13404 man page spelling errors Reviewed by: Ryan Zezeski <ryan@oxide.computer> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Richard Lowe <richlowe@richlowe.net>
author Peter Tribble <peter.tribble@gmail.com>
date Thu, 31 Dec 2020 10:47:42 +0000
parents 5b2854ecc12d
children
comparison
equal deleted inserted replaced
23917:265d423ec4f7 23918:f3c8f3a2a25c
1 '\" te 1 '\" te
2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved 2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. 4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] 5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH IP6 7P "Dec 2, 2008" 6 .TH IP6 7P "December 28, 2020"
7 .SH NAME 7 .SH NAME
8 ip6 \- Internet Protocol Version 6 8 ip6 \- Internet Protocol Version 6
9 .SH SYNOPSIS 9 .SH SYNOPSIS
10 .LP
11 .nf 10 .nf
12 #include <sys/socket.h> 11 #include <sys/socket.h>
13 #include <netinet/in.h> 12 #include <netinet/in.h>
14 #include <netinet/ip6.h> 13 #include <netinet/ip6.h>
15 .fi 14 .fi
23 .nf 22 .nf
24 t = t_open ("/dev/rawip6", O_RDWR); 23 t = t_open ("/dev/rawip6", O_RDWR);
25 .fi 24 .fi
26 25
27 .SH DESCRIPTION 26 .SH DESCRIPTION
28 .sp
29 .LP
30 The \fBIPv6\fR protocol is the next generation of the internetwork datagram 27 The \fBIPv6\fR protocol is the next generation of the internetwork datagram
31 delivery protocol of the Internet protocol family. Programs may use \fBIPv6\fR 28 delivery protocol of the Internet protocol family. Programs may use \fBIPv6\fR
32 through higher-level protocols such as the Transmission Control Protocol 29 through higher-level protocols such as the Transmission Control Protocol
33 (\fBTCP\fR) or the User Datagram Protocol (\fBUDP\fR), or may interface 30 (\fBTCP\fR) or the User Datagram Protocol (\fBUDP\fR), or may interface
34 directly to \fBIPv6\fR. See \fBtcp\fR(7P) and \fBudp\fR(7P). Direct access may 31 directly to \fBIPv6\fR. See \fBtcp\fR(7P) and \fBudp\fR(7P). Direct access may
35 be by means of the socket interface, using a "raw socket," or by means of the 32 be by means of the socket interface, using a "raw socket," or by means of the
36 Transport Level Interface (\fBTLI\fR). The protocol options and \fBIPv6\fR 33 Transport Level Interface (\fBTLI\fR). The protocol options and \fBIPv6\fR
37 extension headers defined in the \fBIPv6\fR specification may be set in 34 extension headers defined in the \fBIPv6\fR specification may be set in
38 outgoing datagrams. 35 outgoing datagrams.
39 .SH APPLICATION PROGRAMMING INTERFACE 36 .SH APPLICATION PROGRAMMING INTERFACE
40 .sp
41 .LP
42 The \fBSTREAMS\fR driver \fB/dev/rawip6\fR is the \fBTLI\fR transport provider 37 The \fBSTREAMS\fR driver \fB/dev/rawip6\fR is the \fBTLI\fR transport provider
43 that provides raw access to \fBIPv6\fR. 38 that provides raw access to \fBIPv6\fR.
44 .sp 39 .sp
45 .LP 40 .LP
46 Raw \fBIPv6\fR sockets are connectionless and are normally used with the 41 Raw \fBIPv6\fR sockets are connectionless and are normally used with the
80 .na 75 .na
81 \fB\fBIPV6_BOUND_IF\fR\fR 76 \fB\fBIPV6_BOUND_IF\fR\fR
82 .ad 77 .ad
83 .RS 24n 78 .RS 24n
84 Limit reception and transmission of packets to this interface. Takes an integer 79 Limit reception and transmission of packets to this interface. Takes an integer
85 as an argument; the integer is the selected interace index. 80 as an argument; the integer is the selected interface index.
86 .RE 81 .RE
87 82
88 .sp 83 .sp
89 .ne 2 84 .ne 2
90 .na 85 .na
576 .sp 571 .sp
577 .LP 572 .LP
578 Errors in sending discovered at the network interface driver layer are passed 573 Errors in sending discovered at the network interface driver layer are passed
579 by IPv6 back up to the user process. 574 by IPv6 back up to the user process.
580 .SH SEE ALSO 575 .SH SEE ALSO
581 .sp
582 .LP
583 \fBsvcs\fR(1), \fBndd\fR(1M), \fBrouteadm\fR(1M), \fBsvcadm\fR(1M), 576 \fBsvcs\fR(1), \fBndd\fR(1M), \fBrouteadm\fR(1M), \fBsvcadm\fR(1M),
584 \fBread\fR(2), \fBwrite\fR(2), \fBbind\fR(3SOCKET), \fBconnect\fR(3SOCKET), 577 \fBread\fR(2), \fBwrite\fR(2), \fBbind\fR(3SOCKET), \fBconnect\fR(3SOCKET),
585 \fBgetsockopt\fR(3SOCKET), \fBrecv\fR(3SOCKET), \fBrecvmsg\fR(3SOCKET), 578 \fBgetsockopt\fR(3SOCKET), \fBrecv\fR(3SOCKET), \fBrecvmsg\fR(3SOCKET),
586 \fBsend\fR(3SOCKET), \fBsendmsg\fR(3SOCKET), \fBsetsockopt\fR(3SOCKET), 579 \fBsend\fR(3SOCKET), \fBsendmsg\fR(3SOCKET), \fBsetsockopt\fR(3SOCKET),
587 \fBdefaultrouter\fR(4), \fBsmf\fR(5), \fBicmp6\fR(7P), \fBif_tcp\fR(7P), 580 \fBdefaultrouter\fR(4), \fBsmf\fR(5), \fBicmp6\fR(7P), \fBif_tcp\fR(7P),
594 .sp 587 .sp
595 .LP 588 .LP
596 Stevens, W., and Thomas, M. \fIRFC 2292, Advanced Sockets API for IPv6\fR. 589 Stevens, W., and Thomas, M. \fIRFC 2292, Advanced Sockets API for IPv6\fR.
597 Network Working Group. February 1998. 590 Network Working Group. February 1998.
598 .SH DIAGNOSTICS 591 .SH DIAGNOSTICS
599 .sp
600 .LP
601 A socket operation may fail with one of the following errors returned: 592 A socket operation may fail with one of the following errors returned:
602 .sp 593 .sp
603 .ne 2 594 .ne 2
604 .na 595 .na
605 \fB\fBEPROTONOSUPPORT\fR\fR 596 \fB\fBEPROTONOSUPPORT\fR\fR
764 .RS 19n 755 .RS 19n
765 Invalid socket type for the option. 756 Invalid socket type for the option.
766 .RE 757 .RE
767 758
768 .SH NOTES 759 .SH NOTES
769 .sp
770 .LP
771 Applications using the sockets \fBAPI\fR must use the Advanced Sockets 760 Applications using the sockets \fBAPI\fR must use the Advanced Sockets
772 \fBAPI\fR for \fBIPv6\fR (\fIRFC 2292\fR) to see elements of the inbound 761 \fBAPI\fR for \fBIPv6\fR (\fIRFC 2292\fR) to see elements of the inbound
773 packet's \fBIPv6\fR header or extension headers. 762 packet's \fBIPv6\fR header or extension headers.
774 .sp 763 .sp
775 .LP 764 .LP