aboutsummaryrefslogtreecommitdiffstats
path: root/man7/netlink.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
commit2b2581ee37f080c0a95d20aedecd5cb04e81ef4a (patch)
tree4ce1a3bcc3cd8793e50f48abba8eab04c8e7ea07 /man7/netlink.7
parent2dd578fd5b80cbfe5892b200633aa1442c4ac674 (diff)
downloadman-pages-2b2581ee37f080c0a95d20aedecd5cb04e81ef4a.tar.gz
Fix inconsistencies in order of .SH sections
Diffstat (limited to 'man7/netlink.7')
-rw-r--r--man7/netlink.755
1 files changed, 28 insertions, 27 deletions
diff --git a/man7/netlink.7 b/man7/netlink.7
index a07daf25ce..29d695fd69 100644
--- a/man7/netlink.7
+++ b/man7/netlink.7
@@ -4,6 +4,7 @@
.\" 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 $
+.\" FIXME Section titles and orderings in this page are very inconsistent
.TH NETLINK 7 2005-12-27 "Linux" "Linux Programmer's Manual"
.SH NAME
netlink \- Communication between kernel and userspace (PF_NETLINK)
@@ -345,6 +346,33 @@ Only processes with an effective UID of 0 or the
capability may send or listen to a netlink multicast group.
Any replies to a message received for a multicast group should be
sent back to the sending PID and the multicast group.
+.SH VERSIONS
+The socket interface to netlink is a new feature of Linux 2.2.
+
+Linux 2.0 supported a more primitive device based netlink interface
+(which is still available as a compatibility option).
+This obsolete interface is not described here.
+
+NETLINK_SELINUX appeared in Linux 2.6.4.
+
+NETLINK_AUDIT appeared in Linux 2.6.6.
+
+NETLINK_KOBJECT_UEVENT appeared in Linux 2.6.10.
+
+NETLINK_W1 and NETLINK_FIB_LOOKUP appeared in Linux 2.6.13.
+
+NETLINK_INET_DIAG, NETLINK_CONNECTOR and NETLINK_NETFILTER appeared in
+Linux 2.6.14.
+
+NETLINK_GENERIC and NETLINK_ISCSI appeared in Linux 2.6.15.
+.SH NOTES
+It is often better to use netlink via
+.B libnetlink
+or
+.B libnl
+than via the low level kernel interface.
+.SH BUGS
+This manual page is not complete.
.SH EXAMPLE
The following example creates a
.B NETLINK_ROUTE
@@ -420,33 +448,6 @@ for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);
}
.fi
.in -0.25i
-.SH BUGS
-This manual page is not complete.
-.SH NOTES
-It is often better to use netlink via
-.B libnetlink
-or
-.B libnl
-than via the low level kernel interface.
-.SH VERSIONS
-The socket interface to netlink is a new feature of Linux 2.2.
-
-Linux 2.0 supported a more primitive device based netlink interface
-(which is still available as a compatibility option).
-This obsolete interface is not described here.
-
-NETLINK_SELINUX appeared in Linux 2.6.4.
-
-NETLINK_AUDIT appeared in Linux 2.6.6.
-
-NETLINK_KOBJECT_UEVENT appeared in Linux 2.6.10.
-
-NETLINK_W1 and NETLINK_FIB_LOOKUP appeared in Linux 2.6.13.
-
-NETLINK_INET_DIAG, NETLINK_CONNECTOR and NETLINK_NETFILTER appeared in
-Linux 2.6.14.
-
-NETLINK_GENERIC and NETLINK_ISCSI appeared in Linux 2.6.15.
.SH "SEE ALSO"
.BR cmsg (3),
.BR netlink (3),