mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
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.
This commit is contained in:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user