ip6.4 (162797) | ip6.4 (176470) |
---|---|
1.\" $KAME: ip6.4,v 1.23 2005/01/11 05:56:25 itojun Exp $ 2.\" $OpenBSD: ip6.4,v 1.21 2005/01/06 03:50:46 itojun Exp $ 3.\" 4.\" Copyright (c) 1983, 1991, 1993 5.\" The Regents of the University of California. All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" | 1.\" $KAME: ip6.4,v 1.23 2005/01/11 05:56:25 itojun Exp $ 2.\" $OpenBSD: ip6.4,v 1.21 2005/01/06 03:50:46 itojun Exp $ 3.\" 4.\" Copyright (c) 1983, 1991, 1993 5.\" The Regents of the University of California. All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" |
31.\" $FreeBSD: head/share/man/man4/ip6.4 162797 2006-09-29 16:16:41Z bms $ | 31.\" $FreeBSD: head/share/man/man4/ip6.4 176470 2008-02-22 21:02:36Z bms $ |
32.\" | 32.\" |
33.Dd September 29, 2006 | 33.Dd February 21, 2008 |
34.Dt IP6 4 35.Os 36.Sh NAME 37.Nm ip6 38.Nd Internet Protocol version 6 (IPv6) network layer 39.Sh SYNOPSIS 40.In sys/socket.h 41.In netinet/in.h --- 100 unchanged lines hidden (view full) --- 142extension headers. 143.Pp 144The following socket options are supported: 145.Bl -tag -width Ds 146.\" .It Dv IPV6_OPTIONS 147.It Dv IPV6_UNICAST_HOPS Fa "int *" 148Get or set the default hop limit header field for outgoing unicast 149datagrams sent on this socket. | 34.Dt IP6 4 35.Os 36.Sh NAME 37.Nm ip6 38.Nd Internet Protocol version 6 (IPv6) network layer 39.Sh SYNOPSIS 40.In sys/socket.h 41.In netinet/in.h --- 100 unchanged lines hidden (view full) --- 142extension headers. 143.Pp 144The following socket options are supported: 145.Bl -tag -width Ds 146.\" .It Dv IPV6_OPTIONS 147.It Dv IPV6_UNICAST_HOPS Fa "int *" 148Get or set the default hop limit header field for outgoing unicast 149datagrams sent on this socket. |
150A value of \-1 resets to the default value. | |
151.\" .It Dv IPV6_RECVOPTS Fa "int *" 152.\" Get or set the status of whether all header options will be 153.\" delivered along with the datagram when it is received. 154.\" .It Dv IPV6_RECVRETOPTS Fa "int *" 155.\" Get or set the status of whether header options will be delivered 156.\" for reply. 157.\" .It Dv IPV6_RECVDSTADDR Fa "int *" 158.\" Get or set the status of whether datagrams are received with --- 148 unchanged lines hidden (view full) --- 307} __packed; 308.Ed 309.Pp 310The 311.Fn inet6_option_space 312routine and family of routines may be used to manipulate this data. 313.Pp 314This option requires superuser privileges. | 150.\" .It Dv IPV6_RECVOPTS Fa "int *" 151.\" Get or set the status of whether all header options will be 152.\" delivered along with the datagram when it is received. 153.\" .It Dv IPV6_RECVRETOPTS Fa "int *" 154.\" Get or set the status of whether header options will be delivered 155.\" for reply. 156.\" .It Dv IPV6_RECVDSTADDR Fa "int *" 157.\" Get or set the status of whether datagrams are received with --- 148 unchanged lines hidden (view full) --- 306} __packed; 307.Ed 308.Pp 309The 310.Fn inet6_option_space 311routine and family of routines may be used to manipulate this data. 312.Pp 313This option requires superuser privileges. |
314.It Dv IPV6_TCLASS Fa "int *" 315Get or set the value of the traffic class field used for outgoing datagrams 316on this socket. 317The value must be between \-1 and 255. 318A value of \-1 resets to the default value. 319.It Dv IPV6_RECVTCLASS Fa "int *" 320Get or set the status of whether the traffic class header field will be 321provided as ancillary data along with the payload in subsequent 322.Xr recvmsg 2 323calls. 324The header field is stored as a single value of type 325.Vt int . |
|
315.It Dv IPV6_RTHDR Fa "int *" 316Get or set whether the routing header from subsequent packets will be 317provided as ancillary data along with the payload in subsequent 318.Xr recvmsg 2 319calls. 320The header is stored in the following structure in the ancillary data 321returned: 322.Bd -literal --- 366 unchanged lines hidden --- | 326.It Dv IPV6_RTHDR Fa "int *" 327Get or set whether the routing header from subsequent packets will be 328provided as ancillary data along with the payload in subsequent 329.Xr recvmsg 2 330calls. 331The header is stored in the following structure in the ancillary data 332returned: 333.Bd -literal --- 366 unchanged lines hidden --- |