Setting tag sliver-openvswitch-2.2.90-1
[sliver-openvswitch.git] / ofproto / netflow.h
index f37cfa7..e89b75e 100644 (file)
@@ -43,6 +43,7 @@ struct netflow_options {
 struct netflow *netflow_create(void);
 struct netflow *netflow_ref(const struct netflow *);
 void netflow_unref(struct netflow *);
+bool netflow_exists(void);
 
 int netflow_set_options(struct netflow *, const struct netflow_options *);
 void netflow_expire(struct netflow *, struct flow *);
@@ -54,7 +55,7 @@ void netflow_mask_wc(struct flow *, struct flow_wildcards *);
 
 void netflow_flow_clear(struct netflow *netflow, struct flow *flow);
 
-void netflow_flow_update(struct netflow *nf, struct flow *flow,
+void netflow_flow_update(struct netflow *nf, const struct flow *flow,
                          ofp_port_t output_iface,
                          const struct dpif_flow_stats *);