netdev: Assert that the type of a new network device is correct.
[openvswitch] / include / openvswitch / tunnel.h
index 373797513333f9bb0e077cf42d48664511b4a0fa..dd700d0dc006960a7e49d44600c55c68523a8314 100644 (file)
@@ -48,6 +48,7 @@
 #define TNL_F_TOS_INHERIT      (1 << 4) /* Inherit the ToS from the inner packet. */
 #define TNL_F_TTL_INHERIT      (1 << 5) /* Inherit the TTL from the inner packet. */
 #define TNL_F_PMTUD            (1 << 6) /* Enable path MTU discovery. */
+#define TNL_F_HDR_CACHE                (1 << 7) /* Enable tunnel header caching. */
 
 struct tnl_port_config {
        __u32   flags;