ovsdb-server: Refactoring and clean up remote status reporting.
[cascardo/ovs.git] / ofproto / netflow.h
index f37cfa7..688a35d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009, 2010, 2011, 2013 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2013, 2014, 2015 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -43,18 +43,18 @@ 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 *);
 
 void netflow_run(struct netflow *);
 void netflow_wait(struct netflow *);
 
-void netflow_mask_wc(struct flow *, struct flow_wildcards *);
+void netflow_mask_wc(const struct flow *, struct flow_wildcards *);
 
-void netflow_flow_clear(struct netflow *netflow, struct flow *flow);
+void netflow_flow_clear(struct netflow *, const struct 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 *);