mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
7a5097a15c
commit
191702eaad
|
@ -4,7 +4,7 @@
|
||||||
.\" and in case of nontrivial modification author and date
|
.\" and in case of nontrivial modification author and date
|
||||||
.\" of the modification is added to the header.
|
.\" of the modification is added to the header.
|
||||||
.\" $Id: ipv6.7,v 1.3 2000/12/20 18:10:31 ak Exp $
|
.\" $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
|
.SH NAME
|
||||||
ipv6, AF_INET6 \- Linux IPv6 protocol implementation
|
ipv6, AF_INET6 \- Linux IPv6 protocol implementation
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -64,8 +64,8 @@ to v6 and it will be mapped to v6.
|
||||||
.in +4n
|
.in +4n
|
||||||
.nf
|
.nf
|
||||||
struct sockaddr_in6 {
|
struct sockaddr_in6 {
|
||||||
uint16_t sin6_family; /* AF_INET6 */
|
sa_family_t sin6_family; /* AF_INET6 */
|
||||||
uint16_t sin6_port; /* port number */
|
in_port_t sin6_port; /* port number */
|
||||||
uint32_t sin6_flowinfo; /* IPv6 flow information */
|
uint32_t sin6_flowinfo; /* IPv6 flow information */
|
||||||
struct in6_addr sin6_addr; /* IPv6 address */
|
struct in6_addr sin6_addr; /* IPv6 address */
|
||||||
uint32_t sin6_scope_id; /* Scope ID (new in 2.4) */
|
uint32_t sin6_scope_id; /* Scope ID (new in 2.4) */
|
||||||
|
|
Loading…
Reference in New Issue