aboutsummaryrefslogtreecommitdiffstats
path: root/man7/ipv6.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-08-08 16:47:53 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-08-08 16:47:53 +0000
commitd4c8c97c312455631c0c22151ad19b98c2eee3fd (patch)
tree783a3dd69217af76d40f61c3858ab676e0ab71ce /man7/ipv6.7
parent77117f4fc55addbb657d1c87e2f86911d7e432c9 (diff)
downloadman-pages-d4c8c97c312455631c0c22151ad19b98c2eee3fd.tar.gz
s/PF_/AF_/ for socket family constants. Reasons: the AF_ and
PF_ constants have always had the same values; there never has been a protocol family that had more than one address family, and POSIX.1-2001 only specifies the AF_* constants.
Diffstat (limited to 'man7/ipv6.7')
-rw-r--r--man7/ipv6.710
1 files changed, 5 insertions, 5 deletions
diff --git a/man7/ipv6.7 b/man7/ipv6.7
index 024cd50732..932f5435e4 100644
--- a/man7/ipv6.7
+++ b/man7/ipv6.7
@@ -4,19 +4,19 @@
.\" 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-07-17 "Linux" "Linux Programmer's Manual"
+.TH IPV6 7 2008-08-08 "Linux" "Linux Programmer's Manual"
.SH NAME
-ipv6, PF_INET6 \- Linux IPv6 protocol implementation
+ipv6, AF_INET6 \- Linux IPv6 protocol implementation
.SH SYNOPSIS
.B #include <sys/socket.h>
.br
.B #include <netinet/in.h>
.sp
-.IB tcp6_socket " = socket(PF_INET6, SOCK_STREAM, 0);"
+.IB tcp6_socket " = socket(AF_INET6, SOCK_STREAM, 0);"
.br
-.IB raw6_socket " = socket(PF_INET6, SOCK_RAW, " protocol ");"
+.IB raw6_socket " = socket(AF_INET6, SOCK_RAW, " protocol ");"
.br
-.IB udp6_socket " = socket(PF_INET6, SOCK_DGRAM, " protocol ");"
+.IB udp6_socket " = socket(AF_INET6, SOCK_DGRAM, " protocol ");"
.SH DESCRIPTION
Linux 2.2 optionally implements the Internet Protocol, version 6.
This man page contains a description of the IPv6 basic API as