aboutsummaryrefslogtreecommitdiff
path: root/lib/dpif.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-08-17 23:27:39 -0700
committerBen Pfaff <blp@nicira.com>2012-08-21 14:13:15 -0700
commita7752d4ab7a6e7e9aaf83678b57790fc1c56ac83 (patch)
tree62fa284f92fb5490445d1ba159b3d92309af6e9c /lib/dpif.h
parent00ed83143a0a2df95304926b4e8de3cdc9b89065 (diff)
dpif: Add 'used' argument to dpif_flow_stats_extract().
The following commit will need to use a value other than a literal time_msec() in one case. This commit is just preparation. Factoring the time_msec() call out of the loop in handle_flow_miss_without_facet() is a really minor optimization. It isn't the main point here. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/dpif.h')
-rw-r--r--lib/dpif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dpif.h b/lib/dpif.h
index 02029150..45c78a55 100644
--- a/lib/dpif.h
+++ b/lib/dpif.h
@@ -129,7 +129,7 @@ struct dpif_flow_stats {
};
void dpif_flow_stats_extract(const struct flow *, const struct ofpbuf *packet,
- struct dpif_flow_stats *);
+ long long int used, struct dpif_flow_stats *);
void dpif_flow_stats_format(const struct dpif_flow_stats *, struct ds *);
enum dpif_flow_put_flags {