diff options
author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2016-03-10 11:55:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-14 04:54:44 +0300 |
commit | 136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3 (patch) | |
tree | b5fd08133d9fb1df36f4f4076a6242474b4af7ee /include/uapi/linux/netconf.h | |
parent | 39d2adebf137de5f900843f69f5e500932e31047 (diff) | |
download | linux-136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3.tar.xz |
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/linux/netconf.h')
-rw-r--r-- | include/uapi/linux/netconf.h | 1 |
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 |