summaryrefslogtreecommitdiffstats
path: root/include/linux/veth.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-12-25 17:23:59 -0800
committerDavid S. Miller <davem@davemloft.net>2007-12-26 19:36:35 -0800
commitecef969e5b376f98b142e22deb1cec2f23e4f5d6 (patch)
treed414bbb2f0c8937705256e09ab162e2ae6f46f8c /include/linux/veth.h
parent75ec533ec3335913009c32de878d5ed7cbe0d41c (diff)
downloadop-kernel-dev-ecef969e5b376f98b142e22deb1cec2f23e4f5d6.zip
op-kernel-dev-ecef969e5b376f98b142e22deb1cec2f23e4f5d6.tar.gz
[VETH]: move veth.h to include/linux
Move veth.h from net/ to linux/ since it is a user api, and add it to user header processing Kbuild. [ Use header-y as suggested by Sam Ravnborg. -DaveM ] Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/veth.h')
-rw-r--r--include/linux/veth.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/veth.h b/include/linux/veth.h
new file mode 100644
index 0000000..3354c1e
--- /dev/null
+++ b/include/linux/veth.h
@@ -0,0 +1,12 @@
+#ifndef __NET_VETH_H_
+#define __NET_VETH_H_
+
+enum {
+ VETH_INFO_UNSPEC,
+ VETH_INFO_PEER,
+
+ __VETH_INFO_MAX
+#define VETH_INFO_MAX (__VETH_INFO_MAX - 1)
+};
+
+#endif
OpenPOWER on IntegriCloud