public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Franke <nobody-e83xkrq8dvbLvtPRa3sz4w@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] ipv6.7: fix description of IPV6_PKTINFO
Date: Thu, 10 Feb 2011 02:37:00 +0100	[thread overview]
Message-ID: <20110210013700.GA17765@ts2server.com> (raw)

  IPV6_PKTINFO takes a struct in6_pktinfo as argument, not an int,
  see linux/net/ipv6/ipv6_sockglue.c
---
 man7/ipv6.7 |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/man7/ipv6.7 b/man7/ipv6.7
index 1e3b4c6..5b0482c 100644
--- a/man7/ipv6.7
+++ b/man7/ipv6.7
@@ -192,7 +192,18 @@ Only allowed for
 or
 .B SOCK_RAW
 sockets.
-Argument is a pointer to a boolean value in an integer.
+Argument is an
+.I in6_pktinfo
+structure.
+.sp
+.in +4n
+.nf
+struct in6_pktinfo {
+    struct in6_addr ipi6_addr;  /* src/dst IPv6 address */
+    unsigned int ipi6_ifindex;  /* interface index */
+};
+.fi
+.in
 .TP
 .nh
 .B IPV6_RTHDR, IPV6_AUTHHDR, IPV6_DSTOPTS, IPV6_HOPOPTS, IPV6_FLOWINFO, IPV6_HOPLIMIT
-- 
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2011-02-10  1:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10  1:37 Christian Franke [this message]
     [not found] ` <20110210013700.GA17765-FCpQSzCsxjR54TAoqtyWWQ@public.gmane.org>
2011-02-10  1:48   ` [PATCH] ipv6.7: fix description of IPV6_PKTINFO Christian Franke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110210013700.GA17765@ts2server.com \
    --to=nobody-e83xkrq8dvblvtpra3sz4w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox