diff options
author | Sridhar Samudrala <sri@us.ibm.com> | 2009-07-14 18:21:04 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-17 21:11:00 +0400 |
commit | e36aa25a533962b08402530e8443ac804a454e27 (patch) | |
tree | 2b61eba6b8cac10487467d1dec8f1d9072a75621 /include | |
parent | 5c5167515d80f78f6bb538492c423adcae31ad65 (diff) | |
download | linux-e36aa25a533962b08402530e8443ac804a454e27.tar.xz |
tun: Allow tap device to send/receive UFO packets.
- Allow setting UFO on tap device and handle UFO packets.
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
---------------------------------------------------------
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_tun.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_tun.h b/include/linux/if_tun.h index 915ba5789f0e..3f5fd523b49d 100644 --- a/include/linux/if_tun.h +++ b/include/linux/if_tun.h @@ -62,6 +62,7 @@ #define TUN_F_TSO4 0x02 /* I can handle TSO for IPv4 packets */ #define TUN_F_TSO6 0x04 /* I can handle TSO for IPv6 packets */ #define TUN_F_TSO_ECN 0x08 /* I can handle TSO with ECN bits. */ +#define TUN_F_UFO 0x10 /* I can handle UFO packets */ /* Protocol info prepended to the packets (when IFF_NO_PI is not set) */ #define TUN_PKT_STRIP 0x0001 |