summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/netconf.h
diff options
context:
space:
mode:
authorZhang Shengju2016-03-10 09:55:50 +0100
committerDavid S. Miller2016-03-14 02:54:44 +0100
commit136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3 (patch)
treeb5fd08133d9fb1df36f4f4076a6242474b4af7ee /include/uapi/linux/netconf.h
parentsctp: fix the transports round robin issue when init is retransmitted (diff)
downloadkernel-qcow2-linux-136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3.tar.gz
kernel-qcow2-linux-136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3.tar.xz
kernel-qcow2-linux-136ba622de49a6bf1f6e5eab3391ed5d5dbe30e3.zip
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.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