vserver 1.9.5.x5
[linux-2.6.git] / include / linux / if_tun.h
index ad1e168..096a85a 100644 (file)
@@ -45,6 +45,11 @@ struct tun_struct {
 
        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  
@@ -53,7 +58,7 @@ struct tun_struct {
 #endif /* __KERNEL__ */
 
 /* Read queue size */
-#define TUN_READQ_SIZE 10
+#define TUN_READQ_SIZE 500
 
 /* TUN device flags */
 #define TUN_TUN_DEV    0x0001