1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_NETCONF_H_
3 #define _UAPI_LINUX_NETCONF_H_
4 
5 #include <linux/types.h>
6 #include <linux/netlink.h>
7 
8 struct netconfmsg {
9 	__u8	ncm_family;
10 };
11 
12 enum {
13 	NETCONFA_UNSPEC,
14 	NETCONFA_IFINDEX,
15 	NETCONFA_FORWARDING,
16 	NETCONFA_RP_FILTER,
17 	NETCONFA_MC_FORWARDING,
18 	NETCONFA_PROXY_NEIGH,
19 	NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
20 	NETCONFA_INPUT,
21 	__NETCONFA_MAX
22 };
23 #define NETCONFA_MAX	(__NETCONFA_MAX - 1)
24 #define NETCONFA_ALL	-1
25 
26 #define NETCONFA_IFINDEX_ALL		-1
27 #define NETCONFA_IFINDEX_DEFAULT	-2
28 
29 #endif /* _UAPI_LINUX_NETCONF_H_ */
30