ip.7: Document IP_RECVORIGDSTADDR

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Balazs Scheidler 2010-10-13 07:16:28 +02:00 committed by Michael Kerrisk
parent e85dc06262
commit 48029bbfa2
1 changed files with 14 additions and 2 deletions

View File

@ -7,10 +7,9 @@
.\" of the modification is added to the header.
.\" $Id: ip.7,v 1.19 2000/12/20 18:10:31 ak Exp $
.\"
.\" FIXME: Document IP_ORIGDSTADDR+IP_RECVORIGDSTADDR, added in Linux 2.6.29
.\" FIXME: Document IP_MINTTL, added in Linux 2.6.34
.\"
.TH IP 7 2010-09-11 "Linux" "Linux Programmer's Manual"
.TH IP 7 2010-10-13 "Linux" "Linux Programmer's Manual"
.SH NAME
ip \- Linux IPv4 protocol implementation
.SH SYNOPSIS
@ -450,6 +449,18 @@ puts the current IP options used for sending into the supplied buffer.
.\" commit 2c7946a7bf45ae86736ab3b43d0085e43947945c
.\" Author: Catherine Zhang <cxzhang@watson.ibm.com>
.TP
.BR IP_RECVORIGDSTADDR " (since Linux 2.6.29)"
.\" FIXME: Document IP_ORIGDSTADDR+IP_RECVORIGDSTADDR, added in Linux 2.6.29
.\" commit e8b2dfe9b4501ed0047459b2756ba26e5a940a69
This boolean option enables the
.B IP_ORIGDSTADDR
ancillary message in
.BR recvmsg (2),
in which the kernel returns the original destination address
of the datagram being received.
The ancillary message contains a
.IR "struct sockaddr_in" .
.TP
.BR IP_PKTINFO " (since Linux 2.2)"
.\" Precisely: 2.1.68
Pass an
@ -984,6 +995,7 @@ and
.BR IP_FREEBIND ,
.BR IP_MTU ,
.BR IP_MTU_DISCOVER ,
.BR IP_RECVORIGDSTADDR ,
.BR IP_PKTINFO ,
.BR IP_RECVERR ,
.BR IP_ROUTER_ALERT ,