OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / socket.2
index 9dffdaa..8d61436 100644 (file)
@@ -40,7 +40,7 @@
 .\" Modified 2002-07-17 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\" Modified 2004-06-17 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
-.TH SOCKET 2 2013-12-31 "Linux" "Linux Programmer's Manual"
+.TH SOCKET 2 2015-02-01 "Linux" "Linux Programmer's Manual"
 .SH NAME
 socket \- create an endpoint for communication
 .SH SYNOPSIS
@@ -116,6 +116,11 @@ Low level packet interface
 T}:T{
 .BR packet (7)
 T}
+T{
+.B AF_ALG
+T}:T{
+Interface to kernel crypto API
+T}
 .TE
 .PP
 The socket has the indicated
@@ -378,6 +383,12 @@ families.
 However, already the BSD man page promises: "The protocol
 family generally is the same as the address family", and subsequent
 standards use AF_* everywhere.
+
+The
+.B AF_ALG
+protocol type was added in Linux 2.6.38.
+More information on this interface is provided in the kernel source file,
+.IR Documentation/crypto/crypto-API-userspace.txt .
 .SH EXAMPLE
 An example of the use of
 .BR socket ()
@@ -413,7 +424,7 @@ and
 reprinted in
 .I UNIX Programmer's Supplementary Documents Volume 1.
 .SH COLOPHON
-This page is part of release 3.78 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,