openvswitch: add tunnel protocol to sw_flow_key
[linux-2.6-block.git] / net / openvswitch / flow.h
index fe527d2dd4b7ae9d6b31a7d9d92586d1cd276c26..5688e33e2de6192c414f7a1c0686a63941f5076b 100644 (file)
@@ -63,6 +63,7 @@ struct sw_flow_key {
                u32     skb_mark;       /* SKB mark. */
                u16     in_port;        /* Input switch port (or DP_MAX_PORTS). */
        } __packed phy; /* Safe when right after 'tun_key'. */
+       u8 tun_proto;                   /* Protocol of encapsulating tunnel. */
        u32 ovs_flow_hash;              /* Datapath computed hash value.  */
        u32 recirc_id;                  /* Recirculation ID.  */
        struct {