aboutsummaryrefslogtreecommitdiff
path: root/lib/dpif.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-01-17 14:43:30 -0800
committerBen Pfaff <blp@nicira.com>2011-01-27 21:08:39 -0800
commit693c4a01124ec5ad9253f8cfcfd99075a9d637f6 (patch)
treef0dd2d0c9b9c6e667d247c5d4fe8b4c44744794d /lib/dpif.c
parentc33087b8507ff486acd13fea85506cfe96901b01 (diff)
datapath: Eliminate 'flags' member from odp_flow.
Nothing was productively using the 'flags' member of odp_flow, so this commit removes it. ODPFF_ZERO_TCP_FLAGS isn't used at all (as of the previous commit). ODPFF_EOF has been replaced by a special case of the 'key_len' member. This will go away, too, once AF_NETLINK starts being used. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/dpif.c')
-rw-r--r--lib/dpif.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dpif.c b/lib/dpif.c
index b7e2b389..b4a1d93c 100644
--- a/lib/dpif.c
+++ b/lib/dpif.c
@@ -731,7 +731,7 @@ dpif_flow_flush(struct dpif *dpif)
* If 'stats' is nonnull, then on success it will be updated with the flow's
* statistics. */
int
-dpif_flow_get(const struct dpif *dpif, int flags,
+dpif_flow_get(const struct dpif *dpif,
const struct nlattr *key, size_t key_len,
struct ofpbuf **actionsp, struct dpif_flow_stats *stats)
{
@@ -739,8 +739,7 @@ dpif_flow_get(const struct dpif *dpif, int flags,
COVERAGE_INC(dpif_flow_get);
- error = dpif->dpif_class->flow_get(dpif, flags, key, key_len, actionsp,
- stats);
+ error = dpif->dpif_class->flow_get(dpif, key, key_len, actionsp, stats);
if (error) {
if (actionsp) {
*actionsp = NULL;