]>
Commit | Line | Data |
---|---|---|
064af421 BP |
1 | /* |
2 | * Copyright (c) 2008, 2009 Nicira Networks. | |
3 | * | |
4 | * Permission to use, copy, modify, and/or distribute this software for any | |
5 | * purpose with or without fee is hereby granted, provided that the above | |
6 | * copyright notice and this permission notice appear in all copies. | |
7 | * | |
8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
15 | */ | |
16 | ||
17 | #ifndef IN_BAND_H | |
18 | #define IN_BAND_H 1 | |
19 | ||
20 | #include "flow.h" | |
21 | ||
22 | struct dpif; | |
23 | struct in_band; | |
24 | struct ofproto; | |
25 | struct rconn; | |
26 | struct secchan; | |
27 | struct settings; | |
28 | struct switch_status; | |
29 | ||
30 | int in_band_create(struct ofproto *, struct dpif *, struct switch_status *, | |
31 | struct rconn *controller, struct in_band **); | |
32 | void in_band_destroy(struct in_band *); | |
33 | void in_band_run(struct in_band *); | |
34 | void in_band_wait(struct in_band *); | |
35 | void in_band_flushed(struct in_band *); | |
36 | ||
37 | #endif /* in-band.h */ |