diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-12-22 17:52:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:07:57 -0800 |
commit | a3edb08311fc559652ffc959e93eb5be9294443f (patch) | |
tree | 5e3795acaf64e34703c006a548f013ff0401e97a /include | |
parent | 7eefb04eb0761ce220890975fe33b7c262612c0d (diff) | |
download | kernel_samsung_smdk4412-a3edb08311fc559652ffc959e93eb5be9294443f.zip kernel_samsung_smdk4412-a3edb08311fc559652ffc959e93eb5be9294443f.tar.gz kernel_samsung_smdk4412-a3edb08311fc559652ffc959e93eb5be9294443f.tar.bz2 |
annotate tun
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_tun.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/if_tun.h b/include/linux/if_tun.h index 33e489d..72f1c5f 100644 --- a/include/linux/if_tun.h +++ b/include/linux/if_tun.h @@ -21,6 +21,8 @@ /* Uncomment to enable debugging */ /* #define TUN_DEBUG 1 */ +#include <linux/types.h> + #ifdef __KERNEL__ #ifdef TUN_DEBUG @@ -88,7 +90,7 @@ struct tun_struct { struct tun_pi { unsigned short flags; - unsigned short proto; + __be16 proto; }; #define TUN_PKT_STRIP 0x0001 |