]> Pileus Git - ~andy/linux/blob - include/uapi/linux/netconf.h
rtnl: add a new type of msg to advertise protocol configuration
[~andy/linux] / include / uapi / linux / netconf.h
1 #ifndef _UAPI_LINUX_NETCONF_H_
2 #define _UAPI_LINUX_NETCONF_H_
3
4 #include <linux/types.h>
5 #include <linux/netlink.h>
6
7 struct netconfmsg {
8         __u8    ncm_family;
9 };
10
11 enum {
12         NETCONFA_UNSPEC,
13         NETCONFA_IFINDEX,
14         NETCONFA_FORWARDING,
15         __NETCONFA_MAX
16 };
17 #define NETCONFA_MAX    (__NETCONFA_MAX - 1)
18
19 #define NETCONFA_IFINDEX_ALL            -1
20 #define NETCONFA_IFINDEX_DEFAULT        -2
21
22 #endif /* _UAPI_LINUX_NETCONF_H_ */