xref: /linux/include/uapi/linux/netconf.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2d900082bSNicolas Dichtel #ifndef _UAPI_LINUX_NETCONF_H_
3d900082bSNicolas Dichtel #define _UAPI_LINUX_NETCONF_H_
4d900082bSNicolas Dichtel 
5d900082bSNicolas Dichtel #include <linux/types.h>
6d900082bSNicolas Dichtel #include <linux/netlink.h>
7d900082bSNicolas Dichtel 
8d900082bSNicolas Dichtel struct netconfmsg {
9d900082bSNicolas Dichtel 	__u8	ncm_family;
10d900082bSNicolas Dichtel };
11d900082bSNicolas Dichtel 
12d900082bSNicolas Dichtel enum {
13d900082bSNicolas Dichtel 	NETCONFA_UNSPEC,
14d900082bSNicolas Dichtel 	NETCONFA_IFINDEX,
15d900082bSNicolas Dichtel 	NETCONFA_FORWARDING,
16cc535dfbSNicolas Dichtel 	NETCONFA_RP_FILTER,
17d67b8c61SNicolas Dichtel 	NETCONFA_MC_FORWARDING,
1809aea5dfSstephen hemminger 	NETCONFA_PROXY_NEIGH,
19974d7af5SAndy Gospodarek 	NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
2024045a03SDavid Ahern 	NETCONFA_INPUT,
21*5cbf777cSXin Long 	NETCONFA_BC_FORWARDING,
22d900082bSNicolas Dichtel 	__NETCONFA_MAX
23d900082bSNicolas Dichtel };
24d900082bSNicolas Dichtel #define NETCONFA_MAX	(__NETCONFA_MAX - 1)
25136ba622SZhang Shengju #define NETCONFA_ALL	-1
26d900082bSNicolas Dichtel 
27d900082bSNicolas Dichtel #define NETCONFA_IFINDEX_ALL		-1
28d900082bSNicolas Dichtel #define NETCONFA_IFINDEX_DEFAULT	-2
29d900082bSNicolas Dichtel 
30d900082bSNicolas Dichtel #endif /* _UAPI_LINUX_NETCONF_H_ */
31