Nicolas Dichtel | d900082 | 2012-10-25 22:28:49 +0000 | [diff] [blame] | 1 | #ifndef _UAPI_LINUX_NETCONF_H_ |
| 2 | #define _UAPI_LINUX_NETCONF_H_ |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | #include <linux/netlink.h> |
| 6 | |
| 7 | struct netconfmsg { |
| 8 | __u8 ncm_family; |
| 9 | }; |
| 10 | |
| 11 | enum { |
| 12 | NETCONFA_UNSPEC, |
| 13 | NETCONFA_IFINDEX, |
| 14 | NETCONFA_FORWARDING, |
Nicolas Dichtel | cc535df | 2012-10-29 04:53:27 +0000 | [diff] [blame] | 15 | NETCONFA_RP_FILTER, |
Nicolas Dichtel | d67b8c6 | 2012-12-04 01:13:35 +0000 | [diff] [blame] | 16 | NETCONFA_MC_FORWARDING, |
stephen hemminger | 09aea5d | 2013-12-17 22:35:52 -0800 | [diff] [blame] | 17 | NETCONFA_PROXY_NEIGH, |
Andy Gospodarek | 974d7af | 2015-07-07 13:56:57 -0400 | [diff] [blame] | 18 | NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, |
Nicolas Dichtel | d900082 | 2012-10-25 22:28:49 +0000 | [diff] [blame] | 19 | __NETCONFA_MAX |
| 20 | }; |
| 21 | #define NETCONFA_MAX (__NETCONFA_MAX - 1) |
Zhang Shengju | 136ba62 | 2016-03-10 08:55:50 +0000 | [diff] [blame] | 22 | #define NETCONFA_ALL -1 |
Nicolas Dichtel | d900082 | 2012-10-25 22:28:49 +0000 | [diff] [blame] | 23 | |
| 24 | #define NETCONFA_IFINDEX_ALL -1 |
| 25 | #define NETCONFA_IFINDEX_DEFAULT -2 |
| 26 | |
| 27 | #endif /* _UAPI_LINUX_NETCONF_H_ */ |