Deleted Added
sdiff udiff text old ( 162797 ) new ( 176470 )
full compact
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 $
32.\"
33.Dd September 29, 2006
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.
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 ---