diff options
| author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-17 17:50:18 -0700 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-06-19 18:07:41 -0700 | 
| commit | 7d5437c709ded4f152cb8b305d17972d6707f20c (patch) | |
| tree | d69da5004c4a65a0d4f60f5f8884f2aad120698f /net/openvswitch/datapath.h | |
| parent | 74f84a5726c7d08c27745305e67474b8645c541d (diff) | |
openvswitch: Add tunneling interface.
Add ovs tunnel interface for set tunnel action for userspace.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/datapath.h')
| -rw-r--r-- | net/openvswitch/datapath.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/net/openvswitch/datapath.h b/net/openvswitch/datapath.h index 16b840695216..e88ebc2f1c54 100644 --- a/net/openvswitch/datapath.h +++ b/net/openvswitch/datapath.h @@ -88,9 +88,12 @@ struct datapath {  /**   * struct ovs_skb_cb - OVS data in skb CB   * @flow: The flow associated with this packet.  May be %NULL if no flow. + * @tun_key: Key for the tunnel that encapsulated this packet. NULL if the + * packet is not being tunneled.   */  struct ovs_skb_cb {  	struct sw_flow		*flow; +	struct ovs_key_ipv4_tunnel  *tun_key;  };  #define OVS_CB(skb) ((struct ovs_skb_cb *)(skb)->cb) | 
