Re: [PATCH] netlink.7: Change NETLINK_INET_DIAG to NETLINK_SOCK_DIAG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Fabien,

Thanks for the patch, and sorry that it got lost long ago.

On Wed, 8 Jun 2016 at 18:09, Fabien Siron <fabien.siron@xxxxxxxx> wrote:
>
> As NETLINK_INET_DIAG should not longer be used, NETLINK_SOCK_DIAG should be
> written instead.
>
> Signed-off-by: Fabien Siron <fabien.siron@xxxxxxxx>
> ---
>  man7/netlink.7 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/man7/netlink.7 b/man7/netlink.7
> index 513f854..88e3dc1 100644
> --- a/man7/netlink.7
> +++ b/man7/netlink.7
> @@ -62,9 +62,9 @@ Used by
>  .I ip_queue
>  kernel module.
>  .TP
> -.B NETLINK_INET_DIAG
> -.\" FIXME More details on NETLINK_INET_DIAG needed.
> -INET socket monitoring.
> +.B NETLINK_SOCK_DIAG
> +.\" FIXME More details on NETLINK_SOCK_DIAG needed.
> +Socket monitoring.
>  .TP
>  .B NETLINK_NFLOG
>  Netfilter/iptables ULOG.
> @@ -383,7 +383,7 @@ 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
> +NETLINK_SOCK_DIAG, NETLINK_CONNECTOR and NETLINK_NETFILTER appeared in
>  Linux 2.6.14.
>
>  NETLINK_GENERIC and NETLINK_ISCSI appeared in Linux 2.6.15.

I made a different change, as below.

Cheers,

Michael

diff --git a/man7/netlink.7 b/man7/netlink.7
index 4a7ba62a3..20aaa9716 100644
--- a/man7/netlink.7
+++ b/man7/netlink.7
@@ -68,15 +68,15 @@ feature),
 .BR NETLINK_FIREWALL
 was removed in Linux 3.5.
 .TP
-.BR NETLINK_INET_DIAG " (since Linux 2.6.14)"
+.BR NETLINK_SOCK_DIAG " (since Linux 3.3)"
+.\" commit 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6
 Query information about sockets of various protocol families from the kernel
 (see
 .BR sock_diag (7)).
 .TP
-.BR NETLINK_SOCK_DIAG " (since Linux 3.3)"
-.\" commit 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6
-A synonym for
-.BR NETLINK_INET_DIAG .
+.BR NETLINK_INET_DIAG " (since Linux 2.6.14)"
+An obsolete synonym for
+.BR NETLINK_SOCK_DIAG .
 .TP
 .BR NETLINK_NFLOG " (up to and including Linux 3.16)"
 Netfilter/iptables ULOG.


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux