blob: 45dfad509c4dc63ea11b9a1e75c8c6860a68c1c1 [file] [log] [blame]
Nicolas Dichteld9000822012-10-25 22:28:49 +00001#ifndef _UAPI_LINUX_NETCONF_H_
2#define _UAPI_LINUX_NETCONF_H_
3
4#include <linux/types.h>
5#include <linux/netlink.h>
6
7struct netconfmsg {
8 __u8 ncm_family;
9};
10
11enum {
12 NETCONFA_UNSPEC,
13 NETCONFA_IFINDEX,
14 NETCONFA_FORWARDING,
Nicolas Dichtelcc535df2012-10-29 04:53:27 +000015 NETCONFA_RP_FILTER,
Nicolas Dichteld67b8c62012-12-04 01:13:35 +000016 NETCONFA_MC_FORWARDING,
stephen hemminger09aea5d2013-12-17 22:35:52 -080017 NETCONFA_PROXY_NEIGH,
Andy Gospodarek974d7af2015-07-07 13:56:57 -040018 NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
Nicolas Dichteld9000822012-10-25 22:28:49 +000019 __NETCONFA_MAX
20};
21#define NETCONFA_MAX (__NETCONFA_MAX - 1)
Zhang Shengju136ba622016-03-10 08:55:50 +000022#define NETCONFA_ALL -1
Nicolas Dichteld9000822012-10-25 22:28:49 +000023
24#define NETCONFA_IFINDEX_ALL -1
25#define NETCONFA_IFINDEX_DEFAULT -2
26
27#endif /* _UAPI_LINUX_NETCONF_H_ */