summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>2016-03-10 08:55:50 +0000
committerDavid S. Miller <davem@davemloft.net>2016-03-13 21:54:44 -0400
commit136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3 (patch)
treeb5fd08133d9fb1df36f4f4076a6242474b4af7ee /include/uapi
parent39d2adebf137de5f900843f69f5e500932e31047 (diff)
downloadlinux-136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3.tar.bz2
netconf: add macro to represent all attributes
This patch adds macro NETCONFA_ALL to represent all type of netconf attributes for IPv4 and IPv6. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/netconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/netconf.h b/include/uapi/linux/netconf.h
index 23cbd34e4ac7..45dfad509c4d 100644
--- a/include/uapi/linux/netconf.h
+++ b/include/uapi/linux/netconf.h
@@ -19,6 +19,7 @@ enum {
__NETCONFA_MAX
};
#define NETCONFA_MAX (__NETCONFA_MAX - 1)
+#define NETCONFA_ALL -1
#define NETCONFA_IFINDEX_ALL -1
#define NETCONFA_IFINDEX_DEFAULT -2