mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
39d2adebf1
commit
136ba622de
3 changed files with 45 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue