From 191702eaad2288ee79e8dea01a97858efd5f37ab Mon Sep 17 00:00:00 2001 From: Teddy Hogeborn Date: Sat, 28 Feb 2009 22:46:10 +1300 Subject: [PATCH] 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 --- man7/ipv6.7 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man7/ipv6.7 b/man7/ipv6.7 index 5209cb92c..2e5900e60 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) */