Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / uapi / linux / netconf.h
blobc84fcdfca862e67887bfe89dc8bea523c9a1d4d2
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_NETCONF_H_
3 #define _UAPI_LINUX_NETCONF_H_
5 #include <linux/types.h>
6 #include <linux/netlink.h>
8 struct netconfmsg {
9 __u8 ncm_family;
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
23 #define NETCONFA_MAX (__NETCONFA_MAX - 1)
24 #define NETCONFA_ALL -1
26 #define NETCONFA_IFINDEX_ALL -1
27 #define NETCONFA_IFINDEX_DEFAULT -2
29 #endif /* _UAPI_LINUX_NETCONF_H_ */