aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/netconf.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-09-11 13:37:51 -0700
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-09-11 13:37:51 -0700
commit82b6ccde8f4e3d48d1c358275271e49881e56cf7 (patch)
treec5dbfa5dec2c28185f77e98124f483f79a9e6734 /linux-headers/include/linux/netconf.h
parent7ce82261f5b2ca8ba4835b0a73124ca25fbdd2db (diff)
downloadriscv-gnu-toolchain-82b6ccde8f4e3d48d1c358275271e49881e56cf7.zip
riscv-gnu-toolchain-82b6ccde8f4e3d48d1c358275271e49881e56cf7.tar.gz
riscv-gnu-toolchain-82b6ccde8f4e3d48d1c358275271e49881e56cf7.tar.bz2
glibc: initial port of glibc 2.20
Diffstat (limited to 'linux-headers/include/linux/netconf.h')
-rw-r--r--linux-headers/include/linux/netconf.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/linux-headers/include/linux/netconf.h b/linux-headers/include/linux/netconf.h
new file mode 100644
index 0000000..6ceb170
--- /dev/null
+++ b/linux-headers/include/linux/netconf.h
@@ -0,0 +1,25 @@
+#ifndef _LINUX_NETCONF_H_
+#define _LINUX_NETCONF_H_
+
+#include <linux/types.h>
+#include <linux/netlink.h>
+
+struct netconfmsg {
+ __u8 ncm_family;
+};
+
+enum {
+ NETCONFA_UNSPEC,
+ NETCONFA_IFINDEX,
+ NETCONFA_FORWARDING,
+ NETCONFA_RP_FILTER,
+ NETCONFA_MC_FORWARDING,
+ NETCONFA_PROXY_NEIGH,
+ __NETCONFA_MAX
+};
+#define NETCONFA_MAX (__NETCONFA_MAX - 1)
+
+#define NETCONFA_IFINDEX_ALL -1
+#define NETCONFA_IFINDEX_DEFAULT -2
+
+#endif /* _LINUX_NETCONF_H_ */