.\" Based on the original comments from Alexey Kuznetsov
.\" Modified 2005-12-27 by Hasso Tepper <hasso@estpak.ee>
.\" $Id: netlink.7,v 1.8 2000/06/22 13:23:00 ak Exp $
-.TH NETLINK 7 2013-03-15 "Linux" "Linux Programmer's Manual"
+.TH NETLINK 7 2015-01-10 "Linux" "Linux Programmer's Manual"
.SH NAME
netlink \- communication between kernel and user space (AF_NETLINK)
.SH SYNOPSIS
.TP
.B NETLINK_GENERIC
Generic netlink family for simplified netlink usage.
+.TP
+.BR NETLINK_CRYPTO " (since Linux 3.2)"
+.\" commit a38f7907b926e4c6c7d389ad96cc38cec2e5a9e9
+.\" Author: Steffen Klassert <steffen.klassert@secunet.com>
+Netlink interface to request information about ciphers registered
+with the kernel crypto API as well as allow configuration of the
+kernel crypto API.
.PP
Netlink messages consist of a byte stream with one or multiple
.I nlmsghdr
NLM_F_ACK:Request for an acknowledgment on success.
NLM_F_ECHO:Echo this request.
.TE
-.ad
.sp 1
.\" No right adjustment for text blocks in tables
-.na
.TS
tab(:);
l s
Return all entries matching criteria passed in message content.
Not implemented yet.
T}
-.\" FIXME NLM_F_ATOMIC is not used any more?
+.\" FIXME NLM_F_ATOMIC is not used anymore?
NLM_F_ATOMIC:Return an atomic snapshot of the table.
NLM_F_DUMP:T{
-Convenience macro; equivalent to (NLM_F_ROOT|NLM_F_MATCH).
+Convenience macro; equivalent to
+.br
+(NLM_F_ROOT|NLM_F_MATCH).
T}
.TE
-.ad
.sp 1
Note that
.B NLM_F_ATOMIC
requires the
.B CAP_NET_ADMIN
capability or an effective UID of 0.
-.na
.TS
tab(:);
l s
NLM_F_CREATE:Create object if it doesn't already exist.
NLM_F_APPEND:Add to the end of the object list.
.TE
-.ad
.sp 1
.I nlmsg_seq
and
The next example demonstrates how to send a netlink message to the
kernel (pid 0).
-Note that application must take care of message sequence numbers
+Note that the application must take care of message sequence numbers
in order to reliably track acknowledgements.
.in +4n
.UE
RFC 3549 "Linux Netlink as an IP Services Protocol"
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.