diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-08-08 16:47:53 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-08-08 16:47:53 +0000 |
| commit | d4c8c97c312455631c0c22151ad19b98c2eee3fd (patch) | |
| tree | 783a3dd69217af76d40f61c3858ab676e0ab71ce /man7/raw.7 | |
| parent | 77117f4fc55addbb657d1c87e2f86911d7e432c9 (diff) | |
| download | man-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/raw.7')
| -rw-r--r-- | man7/raw.7 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/raw.7 b/man7/raw.7 index 3b42f75eee..3b08ee42ab 100644 --- a/man7/raw.7 +++ b/man7/raw.7 @@ -6,7 +6,7 @@ .\" and in case of nontrivial modification author and date .\" of the modification is added to the header. .\" $Id: raw.7,v 1.6 1999/06/05 10:32:08 freitag Exp $ -.TH RAW 7 1998-10-02 "Linux" "Linux Programmer's Manual" +.TH RAW 7 2008-08-08 "Linux" "Linux Programmer's Manual" .SH NAME raw, SOCK_RAW \- Linux IPv4 raw sockets .SH SYNOPSIS @@ -14,7 +14,7 @@ raw, SOCK_RAW \- Linux IPv4 raw sockets .br .B #include <netinet/in.h> .br -.BI "raw_socket = socket(PF_INET, SOCK_RAW, int " protocol ); +.BI "raw_socket = socket(AF_INET, SOCK_RAW, int " protocol ); .SH DESCRIPTION Raw sockets allow new IPv4 protocols to be implemented in user space. A raw socket receives or sends the raw datagram not |
