Squashed commit of the following:
commit
af18eb5c0005d65a1c4879d74dbfa80f736e81b8
Author: Vigneshwari Viswanathan <vignvisw@cisco.com>
Date: Fri May 17 07:01:05 2019 -0400
stream: add convenient method for flow deletion
void Stream::delete_flow(const FlowKey* key)
{ flow_con->delete_flow(key); }
+void Stream::delete_flow(Flow* flow)
+{
+ flow_con->delete_flow(flow, PruneReason::NONE);
+}
+
//-------------------------------------------------------------------------
// key foo
//-------------------------------------------------------------------------
// Removes the flow session object from the flow cache table and returns
// the resources allocated to that flow to the free list.
static void delete_flow(const FlowKey*);
+ static void delete_flow(Flow*);
// Examines the source and destination ip addresses and ports to determine if the
// packet is from the client or server side of the flow and sets bits in the