X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=f28513bb7efe0ef3421045cd95ee59a864587689;hb=d2805da2cb2256e9e2efc5074fbe8df55408213f;hp=fd81dfbad0866427401e345e1ff39ffbe4d6dece;hpb=38c6ecbc8d3664daed077617bb3b3508ba8aa767;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index fd81dfba..f28513bb 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -146,6 +146,7 @@ enum csum_type { /** * struct ovs_skb_cb - OVS data in skb CB * @dp_port: The datapath port on which the skb entered the switch. + * @flow: The flow associated with this packet. May be %NULL if no flow. * @ip_summed: Consistently stores L4 checksumming status across different * kernel versions. * @tun_id: ID (in network byte order) of the tunnel that encapsulated this @@ -153,6 +154,7 @@ enum csum_type { */ struct ovs_skb_cb { struct dp_port *dp_port; + struct sw_flow *flow; enum csum_type ip_summed; __be32 tun_id; };