annotate tun

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Al Viro 2007-12-22 17:52:42 +00:00 committed by David S. Miller
parent 7eefb04eb0
commit a3edb08311
2 changed files with 4 additions and 2 deletions

View file

@ -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