blob: 7e5f0f3e31bfe060f8eca3c3b4ee2d1cc6cc27ab [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,
David Ahern24045a02017-02-20 08:03:30 -080019 NETCONFA_INPUT,
Nicolas Dichteld9000822012-10-25 22:28:49 +000020 __NETCONFA_MAX
21};
22#define NETCONFA_MAX (__NETCONFA_MAX - 1)
Zhang Shengju136ba622016-03-10 08:55:50 +000023#define NETCONFA_ALL -1
Nicolas Dichteld9000822012-10-25 22:28:49 +000024
25#define NETCONFA_IFINDEX_ALL -1
26#define NETCONFA_IFINDEX_DEFAULT -2
27
28#endif /* _UAPI_LINUX_NETCONF_H_ */