X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Flearning-switch.h;h=3b414a5bdf527e7ad1b465e7784e1bee1185ee35;hb=abfec865566e6cce961cc8660de1ddfdc85dae5f;hp=2de862e6ddff9abf2a7f0c8992f72aeca82bea2b;hpb=9af9e2e8cff919c6053d862703ac228ce1a15bdd;p=openvswitch diff --git a/lib/learning-switch.h b/lib/learning-switch.h index 2de862e6..3b414a5b 100644 --- a/lib/learning-switch.h +++ b/lib/learning-switch.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Nicira Networks. + * Copyright (c) 2008, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,13 +18,16 @@ #define LEARNING_SWITCH_H 1 #include +#include +#include struct ofpbuf; struct rconn; struct lswitch *lswitch_create(struct rconn *, bool learn_macs, - bool exact_flows, int max_idle, - bool action_normal); + bool exact_flows, int max_idle, + bool action_normal, FILE *default_flows); +void lswitch_set_queue(struct lswitch *sw, uint32_t queue); void lswitch_run(struct lswitch *, struct rconn *); void lswitch_wait(struct lswitch *); void lswitch_destroy(struct lswitch *);