aboutsummaryrefslogtreecommitdiff
path: root/lib/learning-switch.h
diff options
context:
space:
mode:
authorJean Tourrilhes <jt@hpl.hp.com>2009-11-19 12:48:32 -0800
committerBen Pfaff <blp@nicira.com>2009-11-19 12:48:36 -0800
commit9af9e2e8cff919c6053d862703ac228ce1a15bdd (patch)
tree52135fc9bcf6863b191e9a8e9ade2ad17d0a822c /lib/learning-switch.h
parentf7fed00035a1b7822c1d61e568bc31e842f192db (diff)
ovs-controller: Add --wildcard and --normal features.
This adds two command line switches to ovs-controller to: 1) Use wildcards instead of exact matches. 2) Use "normal" action instead of explicit port.
Diffstat (limited to 'lib/learning-switch.h')
-rw-r--r--lib/learning-switch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/learning-switch.h b/lib/learning-switch.h
index 8837d647..2de862e6 100644
--- a/lib/learning-switch.h
+++ b/lib/learning-switch.h
@@ -22,7 +22,9 @@
struct ofpbuf;
struct rconn;
-struct lswitch *lswitch_create(struct rconn *, bool learn_macs, int max_idle);
+struct lswitch *lswitch_create(struct rconn *, bool learn_macs,
+ bool exact_flows, int max_idle,
+ bool action_normal);
void lswitch_run(struct lswitch *, struct rconn *);
void lswitch_wait(struct lswitch *);
void lswitch_destroy(struct lswitch *);