aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorTeddy Hogeborn <teddy@fukt.bsnet.se>2009-02-28 22:46:10 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-03-08 13:35:19 +1300
commit191702eaad2288ee79e8dea01a97858efd5f37ab (patch)
tree8559378bbccc1b4e7a5074ffe7bee56ae2f0302a /man7
parent7a5097a15cfdd90e31dcd2256f5a2989debeae78 (diff)
downloadman-pages-191702eaad2288ee79e8dea01a97858efd5f37ab.tar.gz
ipv6.7: Fix types used to declare sin6_family and sin6_port
The page should use the types specified by POSIX, rather than the (equivalent) types used in the kernel. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517074 Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/ipv6.76
1 files changed, 3 insertions, 3 deletions
diff --git a/man7/ipv6.7 b/man7/ipv6.7
index 5209cb92c9..2e5900e60e 100644
--- a/man7/ipv6.7
+++ b/man7/ipv6.7
@@ -4,7 +4,7 @@
.\" and in case of nontrivial modification author and date
.\" of the modification is added to the header.
.\" $Id: ipv6.7,v 1.3 2000/12/20 18:10:31 ak Exp $
-.TH IPV6 7 2008-08-08 "Linux" "Linux Programmer's Manual"
+.TH IPV6 7 2009-02-28 "Linux" "Linux Programmer's Manual"
.SH NAME
ipv6, AF_INET6 \- Linux IPv6 protocol implementation
.SH SYNOPSIS
@@ -64,8 +64,8 @@ to v6 and it will be mapped to v6.
.in +4n
.nf
struct sockaddr_in6 {
- uint16_t sin6_family; /* AF_INET6 */
- uint16_t sin6_port; /* port number */
+ sa_family_t sin6_family; /* AF_INET6 */
+ in_port_t sin6_port; /* port number */
uint32_t sin6_flowinfo; /* IPv6 flow information */
struct in6_addr sin6_addr; /* IPv6 address */
uint32_t sin6_scope_id; /* Scope ID (new in 2.4) */