diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-12-25 20:23:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-26 22:36:35 -0500 |
commit | ecef969e5b376f98b142e22deb1cec2f23e4f5d6 (patch) | |
tree | d414bbb2f0c8937705256e09ab162e2ae6f46f8c /include/linux | |
parent | 75ec533ec3335913009c32de878d5ed7cbe0d41c (diff) |
[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')
-rw-r--r-- | include/linux/Kbuild | 1 | ||||
-rw-r--r-- | include/linux/veth.h | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 9abf5a806c15..f30fa92a44a1 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -153,6 +153,7 @@ header-y += toshiba.h | |||
153 | header-y += ultrasound.h | 153 | header-y += ultrasound.h |
154 | header-y += un.h | 154 | header-y += un.h |
155 | header-y += utime.h | 155 | header-y += utime.h |
156 | header-y += veth.h | ||
156 | header-y += video_decoder.h | 157 | header-y += video_decoder.h |
157 | header-y += video_encoder.h | 158 | header-y += video_encoder.h |
158 | header-y += videotext.h | 159 | header-y += videotext.h |
diff --git a/include/linux/veth.h b/include/linux/veth.h new file mode 100644 index 000000000000..3354c1eb424e --- /dev/null +++ b/include/linux/veth.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #ifndef __NET_VETH_H_ | ||
2 | #define __NET_VETH_H_ | ||
3 | |||
4 | enum { | ||
5 | VETH_INFO_UNSPEC, | ||
6 | VETH_INFO_PEER, | ||
7 | |||
8 | __VETH_INFO_MAX | ||
9 | #define VETH_INFO_MAX (__VETH_INFO_MAX - 1) | ||
10 | }; | ||
11 | |||
12 | #endif | ||