From 6cab1c1f5fd10b4d88c270ff066afa01a5c59187 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 20 Jun 2016 15:13:16 +0200 Subject: [PATCH] netlink.7: Rework version information (No changes in technical details.) Signed-off-by: Michael Kerrisk --- man7/netlink.7 | 47 +++++++++++++++++------------------------------ 1 file changed, 17 insertions(+), 30 deletions(-) diff --git a/man7/netlink.7 b/man7/netlink.7 index 7614a881b..cf1b66f1b 100644 --- a/man7/netlink.7 +++ b/man7/netlink.7 @@ -43,62 +43,62 @@ and raw sockets. selects the kernel module or netlink group to communicate with. The currently assigned netlink families are: .TP -.B NETLINK_ROUTE +.BR NETLINK_ROUTE Receives routing and link updates and may be used to modify the routing tables (both IPv4 and IPv6), IP addresses, link parameters, neighbor setups, queueing disciplines, traffic classes and packet classifiers (see .BR rtnetlink (7)). .TP -.B NETLINK_W1 +.BR NETLINK_W1 " (since Linux 2.6.13)" Messages from 1-wire subsystem. .TP -.B NETLINK_USERSOCK +.BR NETLINK_USERSOCK Reserved for user-mode socket protocols. .TP -.B NETLINK_FIREWALL +.BR NETLINK_FIREWALL Transport IPv4 packets from netfilter to user space. Used by .I ip_queue kernel module. .TP -.B NETLINK_INET_DIAG +.BR NETLINK_INET_DIAG " (since Linux 2.6.14)" .\" FIXME More details on NETLINK_INET_DIAG needed. INET socket monitoring. .TP -.B NETLINK_NFLOG +.BR NETLINK_NFLOG Netfilter/iptables ULOG. .TP -.B NETLINK_XFRM +.BR NETLINK_XFRM .\" FIXME More details on NETLINK_XFRM needed. IPsec. .TP -.B NETLINK_SELINUX +.BR NETLINK_SELINUX " (since Linux 2.6.4)" SELinux event notifications. .TP -.B NETLINK_ISCSI +.BR NETLINK_ISCSI " (since Linux 2.6.15)" .\" FIXME More details on NETLINK_ISCSI needed. Open-iSCSI. .TP -.B NETLINK_AUDIT +.BR NETLINK_AUDIT " (since Linux 2.6.6)" .\" FIXME More details on NETLINK_AUDIT needed. Auditing. .TP -.B NETLINK_FIB_LOOKUP +.BR NETLINK_FIB_LOOKUP " (since Linux 2.6.13)" .\" FIXME More details on NETLINK_FIB_LOOKUP needed. Access to FIB lookup from user space. .TP -.B NETLINK_CONNECTOR +.BR NETLINK_CONNECTOR " (since Linux 2.6.14)" Kernel connector. See .I Documentation/connector/* in the Linux kernel source tree for further information. .TP -.B NETLINK_NETFILTER +.B NETLINK_NETFILTER " (since Linux 2.6.14)" .\" FIXME More details on NETLINK_NETFILTER needed. Netfilter subsystem. .TP -.B NETLINK_IP6_FW +.BR NETLINK_IP6_FW Transport IPv6 packets from netfilter to user space. Used by .I ip6_queue @@ -107,11 +107,11 @@ kernel module. .B NETLINK_DNRTMSG DECnet routing messages. .TP -.B NETLINK_KOBJECT_UEVENT +.BR NETLINK_KOBJECT_UEVENT " (since Linux 2.6.10)" .\" FIXME More details on NETLINK_KOBJECT_UEVENT needed. Kernel messages to user space. .TP -.B NETLINK_GENERIC +.BR NETLINK_GENERIC " (since Linux 2.6.15)" Generic netlink family for simplified netlink usage. .TP .BR NETLINK_CRYPTO " (since Linux 3.2)" @@ -447,24 +447,11 @@ This option trims off the payload of the original netlink message. The netlink message header is still included, so the user can guess from the sequence number which message triggered the acknowledgment. .SH VERSIONS -The socket interface to netlink is a new feature of Linux 2.2. +The socket interface to netlink first appeared 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 .I libnetlink