Subject: Re: [PATCH 1/11] inet_diag: Partly rename inet_ to sock_

From: Stephen Hemminger <[email-masked]>
Date: Tue, 6 Dec 2011 10:24:47 -0800

On Tue, 06 Dec 2011 21:56:43 +0400
Pavel Emelyanov <[email-masked]> wrote:

> diff --git a/include/linux/netlink.h b/include/linux/netlink.h
> index 8374d29..9827ebf 100644
> --- a/include/linux/netlink.h
> +++ b/include/linux/netlink.h
> @@ -8,7 +8,7 @@
>  #define NETLINK_UNUSED		1	/* Unused number				*/
>  #define NETLINK_USERSOCK	2	/* Reserved for user mode socket protocols 	*/
>  #define NETLINK_FIREWALL	3	/* Firewalling hook				*/
> -#define NETLINK_INET_DIAG	4	/* INET socket monitoring			*/
> +#define NETLINK_SOCK_DIAG	4	/* socket monitoring				*/
>  #define NETLINK_NFLOG		5	/* netfilter/iptables ULOG */
>  #define NETLINK_XFRM		6	/* ipsec */
>  #define NETLINK_SELINUX		7	/* SELinux event notifications */

This is a header file that is stripped and exported by other
tools. You can add new entries but need to keep existing define's
to avoid breaking source compatibility.