summaryrefslogtreecommitdiff
path: root/lib/flow.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-01-26 07:11:50 -0800
committerBen Pfaff <blp@nicira.com>2011-01-27 21:08:38 -0800
commitc97fb13280c565f55ed0de7cf0bf06ffe8320b70 (patch)
treec0b24d14a13526edd768dd2fe1c033c0e4c3d0ee /lib/flow.h
parentfeebdea2e5550a71c7accda936b6a55962f60a04 (diff)
downloadopenvswitch-c97fb13280c565f55ed0de7cf0bf06ffe8320b70.tar.gz
dpif: Eliminate "struct odp_flow_stats" from client-visible interface.
Following this commit, "struct odp_flow_stats" is only used in Linux-specific parts of OVS userspace code. This allows the actual Linux datapath interface to evolve more freely. Reviewed by Justin Pettit.
Diffstat (limited to 'lib/flow.h')
-rw-r--r--lib/flow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/flow.h b/lib/flow.h
index 06da995a6..54f28d583 100644
--- a/lib/flow.h
+++ b/lib/flow.h
@@ -27,6 +27,7 @@
#include "openvswitch/datapath-protocol.h"
#include "util.h"
+struct dpif_flow_stats;
struct ds;
struct flow_wildcards;
struct ofp_match;
@@ -66,7 +67,7 @@ BUILD_ASSERT_DECL(sizeof(struct flow) == FLOW_SIG_SIZE + FLOW_PAD_SIZE);
int flow_extract(struct ofpbuf *, uint64_t tun_id, uint16_t in_port,
struct flow *);
void flow_extract_stats(const struct flow *flow, struct ofpbuf *packet,
- struct odp_flow_stats *stats);
+ struct dpif_flow_stats *);
char *flow_to_string(const struct flow *);
void flow_format(struct ds *, const struct flow *);
void flow_print(FILE *, const struct flow *);