2017-11-01 21:08:43 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2012-10-26 05:28:49 +07:00
|
|
|
#ifndef _UAPI_LINUX_NETCONF_H_
|
|
|
|
#define _UAPI_LINUX_NETCONF_H_
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/netlink.h>
|
|
|
|
|
|
|
|
struct netconfmsg {
|
|
|
|
__u8 ncm_family;
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
NETCONFA_UNSPEC,
|
|
|
|
NETCONFA_IFINDEX,
|
|
|
|
NETCONFA_FORWARDING,
|
2012-10-29 11:53:27 +07:00
|
|
|
NETCONFA_RP_FILTER,
|
2012-12-04 08:13:35 +07:00
|
|
|
NETCONFA_MC_FORWARDING,
|
2013-12-18 13:35:52 +07:00
|
|
|
NETCONFA_PROXY_NEIGH,
|
2015-07-08 00:56:57 +07:00
|
|
|
NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
|
2017-02-20 23:03:30 +07:00
|
|
|
NETCONFA_INPUT,
|
2012-10-26 05:28:49 +07:00
|
|
|
__NETCONFA_MAX
|
|
|
|
};
|
|
|
|
#define NETCONFA_MAX (__NETCONFA_MAX - 1)
|
2016-03-10 15:55:50 +07:00
|
|
|
#define NETCONFA_ALL -1
|
2012-10-26 05:28:49 +07:00
|
|
|
|
|
|
|
#define NETCONFA_IFINDEX_ALL -1
|
|
|
|
#define NETCONFA_IFINDEX_DEFAULT -2
|
|
|
|
|
|
|
|
#endif /* _UAPI_LINUX_NETCONF_H_ */
|