git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
linux
/
if_tun.h
diff --git
a/include/linux/if_tun.h
b/include/linux/if_tun.h
index
ad1e168
..
096a85a
100644
(file)
--- a/
include/linux/if_tun.h
+++ b/
include/linux/if_tun.h
@@
-45,6
+45,11
@@
struct tun_struct {
struct fasync_struct *fasync;
struct fasync_struct *fasync;
+ unsigned long if_flags;
+ u8 dev_addr[ETH_ALEN];
+ u32 chr_filter[2];
+ u32 net_filter[2];
+
#ifdef TUN_DEBUG
int debug;
#endif
#ifdef TUN_DEBUG
int debug;
#endif
@@
-53,7
+58,7
@@
struct tun_struct {
#endif /* __KERNEL__ */
/* Read queue size */
#endif /* __KERNEL__ */
/* Read queue size */
-#define TUN_READQ_SIZE
1
0
+#define TUN_READQ_SIZE
50
0
/* TUN device flags */
#define TUN_TUN_DEV 0x0001
/* TUN device flags */
#define TUN_TUN_DEV 0x0001