Deleted Added
full compact
ip.4 (112929) ip.4 (112985)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)ip.4 8.2 (Berkeley) 11/30/93
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)ip.4 8.2 (Berkeley) 11/30/93
33.\" $FreeBSD: head/share/man/man4/ip.4 112929 2003-04-01 08:21:44Z mdodd $
33.\" $FreeBSD: head/share/man/man4/ip.4 112985 2003-04-02 20:14:44Z mdodd $
34.\"
35.Dd March 3, 2001
36.Dt IP 4
37.Os
38.Sh NAME
39.Nm ip
40.Nd Internet Protocol
41.Sh SYNOPSIS

--- 117 unchanged lines hidden (view full) ---

159.Dv IP_RECVDSTADDR ,
160so the
161.Dv IP_RECVDSTADDR
162control message from
163.Xr recvmsg 2
164can be used directly as a control message for
165.Xr sendmsg 2 .
166.Pp
34.\"
35.Dd March 3, 2001
36.Dt IP 4
37.Os
38.Sh NAME
39.Nm ip
40.Nd Internet Protocol
41.Sh SYNOPSIS

--- 117 unchanged lines hidden (view full) ---

159.Dv IP_RECVDSTADDR ,
160so the
161.Dv IP_RECVDSTADDR
162control message from
163.Xr recvmsg 2
164can be used directly as a control message for
165.Xr sendmsg 2 .
166.Pp
167.Dv IP_EVIL_INTENT can be used to specify that IP packets should have their
168EVIL option set as per RFC3514.
169The cmsghdr fields should have the following values:
170.Bd -literal
171cmsg_len = sizeof(struct in_addr)
172cmsg_level = IPPROTO_IP
173cmsg_type = IP_EVIL_INTENT
174.Ed
175.Pp
176.Dv IP_PORTRANGE
177may be used to set the port range used for selecting a local port number
178on a socket with an unspecified (zero) port number.
179It has the following
180possible values:
181.Bl -tag -width IP_PORTRANGE_DEFAULT
182.It Dv IP_PORTRANGE_DEFAULT
183use the default range of values, normally

--- 297 unchanged lines hidden ---
167.Dv IP_PORTRANGE
168may be used to set the port range used for selecting a local port number
169on a socket with an unspecified (zero) port number.
170It has the following
171possible values:
172.Bl -tag -width IP_PORTRANGE_DEFAULT
173.It Dv IP_PORTRANGE_DEFAULT
174use the default range of values, normally

--- 297 unchanged lines hidden ---