2012-10-26 06:28:49 +08: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 12:53:27 +08:00
|
|
|
NETCONFA_RP_FILTER,
|
2012-12-04 09:13:35 +08:00
|
|
|
NETCONFA_MC_FORWARDING,
|
2013-12-18 14:35:52 +08:00
|
|
|
NETCONFA_PROXY_NEIGH,
|
2015-07-08 01:56:57 +08:00
|
|
|
NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
|
2012-10-26 06:28:49 +08:00
|
|
|
__NETCONFA_MAX
|
|
|
|
};
|
|
|
|
#define NETCONFA_MAX (__NETCONFA_MAX - 1)
|
|
|
|
|
|
|
|
#define NETCONFA_IFINDEX_ALL -1
|
|
|
|
#define NETCONFA_IFINDEX_DEFAULT -2
|
|
|
|
|
|
|
|
#endif /* _UAPI_LINUX_NETCONF_H_ */
|