Skip to contentSkip to conversation

socket.2: document AF_ALG

PATCH In review Stephan Mueller 2 participants 2 messages Jan 29, 2015 – Jan 30, 2015 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 socket.2: document AF_ALG

Add a reference to the AF_ALG protocol accessible via socket(2).

---
 man2/socket.2 | 11 +++++++++++
 1 file changed, 11 insertions(+)
man2/socket.2 +11 -0
index 229dab3..8885079 100644
@@ -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 AF_ALG protocol type is added with kernel version 2.6.38. More
+information on this interface is provided with
+Documentation/crypto/crypto-API-userspace.txt provided in the
+Linux kernel source code tree.
+
 .SH EXAMPLE
 An example of the use of
 .BR socket ()
Signature · 7 lines
2.1.0


--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 25 lines · Stephan Mueller

Add a reference to the AF_ALG protocol accessible via socket(2).

---
 man2/socket.2 | 11 +++++++++++
 1 file changed, 11 insertions(+)
man2/socket.2 +5 -0
index 229dab3..8885079 100644
@@ -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

man2/socket.2 families. · line 391

Quoted 9 lines
man2/socket.2 +6 -0
@@ -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 AF_ALG protocol type is added with kernel version 2.6.38. More
+information on this interface is provided with
+Documentation/crypto/crypto-API-userspace.txt provided in the
+Linux kernel source code tree.
+

Thanks, Stephan. Applied.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html