[PATCH] ipv6.7: fix description of IPV6_PKTINFO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux