X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=abc6aeab2af415a77811eef5f39df955711d915f;hb=7d0ab001dbc7bd4285aaf1dbcb881312ec32608c;hp=8e272836e0d05964d280dd57872d784dda623212;hpb=66cd496a30819638c198c614c5502cf6fa116500;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index 8e272836..abc6aeab 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include "flow.h" @@ -53,6 +54,7 @@ struct dp_stats_percpu { u64 n_hit; u64 n_missed; u64 n_lost; + seqcount_t seqlock; }; struct dp_port_group { @@ -148,11 +150,13 @@ enum csum_type { * kernel versions. * @tun_id: ID (in network byte order) of the tunnel that encapsulated this * packet. It is 0 if the packet was not received on a tunnel. + * @is_frag: %true if this packet is an IPv4 fragment, %false otherwise. */ struct ovs_skb_cb { struct dp_port *dp_port; enum csum_type ip_summed; __be32 tun_id; + bool is_frag; }; #define OVS_CB(skb) ((struct ovs_skb_cb *)(skb)->cb)