summaryrefslogtreecommitdiff
path: root/lib/odp-util.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-01-26 07:03:39 -0800
committerBen Pfaff <blp@nicira.com>2011-01-27 21:08:38 -0800
commitfeebdea2e5550a71c7accda936b6a55962f60a04 (patch)
tree070c10931767d19938e8a8d55951825a92d9f2c5 /lib/odp-util.c
parentbc4a05c639ee3789d009bb6143345cf121b2d4d4 (diff)
downloadopenvswitch-feebdea2e5550a71c7accda936b6a55962f60a04.tar.gz
dpif: Eliminate "struct odp_flow" from client-visible interface.
Following this commit, "struct odp_flow" and related data structures are 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/odp-util.c')
-rw-r--r--lib/odp-util.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c
index 013a7f18f..60807ba0a 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -191,16 +191,6 @@ format_odp_flow_stats(struct ds *ds, const struct odp_flow_stats *s)
ds_put_format(ds, "never");
}
}
-
-void
-format_odp_flow(struct ds *ds, const struct odp_flow *f)
-{
- odp_flow_key_format(f->key, f->key_len, ds);
- ds_put_cstr(ds, ", ");
- format_odp_flow_stats(ds, &f->stats);
- ds_put_cstr(ds, ", actions:");
- format_odp_actions(ds, f->actions, f->actions_len);
-}
/* Returns the correct length of the payload for a flow key attribute of the
* specified 'type', or -1 if 'type' is unknown. */