aboutsummaryrefslogtreecommitdiffstats
path: root/man7/raw.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/raw.7')
-rw-r--r--man7/raw.74
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