diff options
author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2016-03-10 03:55:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-13 21:54:44 -0400 |
commit | 136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3 (patch) | |
tree | b5fd08133d9fb1df36f4f4076a6242474b4af7ee /include/uapi | |
parent | 39d2adebf137de5f900843f69f5e500932e31047 (diff) |
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.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 { | |||
19 | __NETCONFA_MAX | 19 | __NETCONFA_MAX |
20 | }; | 20 | }; |
21 | #define NETCONFA_MAX (__NETCONFA_MAX - 1) | 21 | #define NETCONFA_MAX (__NETCONFA_MAX - 1) |
22 | #define NETCONFA_ALL -1 | ||
22 | 23 | ||
23 | #define NETCONFA_IFINDEX_ALL -1 | 24 | #define NETCONFA_IFINDEX_ALL -1 |
24 | #define NETCONFA_IFINDEX_DEFAULT -2 | 25 | #define NETCONFA_IFINDEX_DEFAULT -2 |