ovs-ofctl: Add --more option to increase OpenFlow message verbosity.
[openvswitch] / include / openvswitch / tunnel.h
index 373797513333f9bb0e077cf42d48664511b4a0fa..e7d3fce7162d9ae079f2ff4709c69a0449f46e60 100644 (file)
@@ -41,6 +41,7 @@
 #define OPENVSWITCH_TUNNEL_H 1
 
 #include <linux/types.h>
+#include "openvswitch/datapath-protocol.h"
 
 #define TNL_F_CSUM             (1 << 1) /* Checksum packets. */
 #define TNL_F_IN_KEY_MATCH     (1 << 2) /* Store the key in tun_id to match in flow table. */
@@ -48,7 +49,9 @@
 #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. */
 
+/* This goes in the "config" member of struct odp_port for tunnel vports. */
 struct tnl_port_config {
        __u32   flags;
        __be32  saddr;