diff options
author | Ben Pfaff <blp@nicira.com> | 2010-04-16 13:50:51 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-04-20 11:01:44 -0700 |
commit | 0ade584ebe8ca1a1de92fb7422566726f276918c (patch) | |
tree | a84cc3152bc9f10a3f92083840a726c94632a64d /ofproto/in-band.h | |
parent | f7de2cdffcadaca5f62003f9c115052aa295aa70 (diff) | |
download | openvswitch-0ade584ebe8ca1a1de92fb7422566726f276918c.tar.gz |
in-band: Support an arbitrary number of controllers.
Diffstat (limited to 'ofproto/in-band.h')
-rw-r--r-- | ofproto/in-band.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ofproto/in-band.h b/ofproto/in-band.h index ddbc5e563..80730d3f8 100644 --- a/ofproto/in-band.h +++ b/ofproto/in-band.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 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. @@ -28,14 +28,18 @@ struct settings; struct switch_status; int in_band_create(struct ofproto *, struct dpif *, struct switch_status *, - struct rconn *controller, struct in_band **); + struct in_band **); void in_band_destroy(struct in_band *); + +void in_band_set_remotes(struct in_band *, struct rconn **, size_t n); + void in_band_run(struct in_band *); +void in_band_wait(struct in_band *); + bool in_band_msg_in_hook(struct in_band *, const flow_t *, const struct ofpbuf *packet); bool in_band_rule_check(struct in_band *, const flow_t *, const struct odp_actions *); -void in_band_wait(struct in_band *); void in_band_flushed(struct in_band *); #endif /* in-band.h */ |