X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fflow.h;h=a31dab0d4e378e6ea8ff682cfaf44bd9c49d998e;hb=04b13268fd76434019fa433da299da87a759272a;hp=2b6f217dc02446114123e8ad930fe7471b1c18f5;hpb=a1c564be1e2ffc31f8da09ab654c8ed987907fe5;p=sliver-openvswitch.git diff --git a/datapath/flow.h b/datapath/flow.h index 2b6f217dc..a31dab0d4 100644 --- a/datapath/flow.h +++ b/datapath/flow.h @@ -30,7 +30,9 @@ #include #include #include + #include +#include struct sk_buff; struct sw_flow_mask; @@ -42,11 +44,6 @@ struct sw_flow_actions { struct nlattr actions[]; }; -/* Tunnel flow flags. */ -#define OVS_TNL_F_DONT_FRAGMENT (1 << 0) -#define OVS_TNL_F_CSUM (1 << 1) -#define OVS_TNL_F_KEY (1 << 2) - /* Used to memset ovs_key_ipv4_tunnel padding. */ #define OVS_TUNNEL_KEY_SIZE \ (offsetof(struct ovs_key_ipv4_tunnel, ipv4_ttl) + \ @@ -56,7 +53,7 @@ struct ovs_key_ipv4_tunnel { __be64 tun_id; __be32 ipv4_src; __be32 ipv4_dst; - u16 tun_flags; + __be16 tun_flags; u8 ipv4_tos; u8 ipv4_ttl; }; @@ -194,7 +191,7 @@ struct flow_table { struct flex_array *buckets; unsigned int count, n_buckets; struct rcu_head rcu; - struct list_head mask_list; + struct list_head *mask_list; int node_ver; u32 hash_seed; bool keep_flows;