X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ofproto%2Fin-band.h;h=6e0585ad3c4eeea6e9be0fbf11422e47b662d5e3;hb=4f20179ddc79843ef89f68d2c8342df0eb69a814;hp=71de6ffdb57c6fb1b260e0f056222452cc223f0c;hpb=ee382d89186673e2308b6fca5e4904279600c25b;p=cascardo%2Fovs.git diff --git a/ofproto/in-band.h b/ofproto/in-band.h index 71de6ffdb..6e0585ad3 100644 --- a/ofproto/in-band.h +++ b/ofproto/in-band.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc. + * Copyright (c) 2008, 2009, 2010, 2011, 2013, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ #include #include #include +#include "flow.h" struct flow; struct in_band; @@ -39,9 +40,8 @@ void in_band_set_remotes(struct in_band *, bool in_band_run(struct in_band *); void in_band_wait(struct in_band *); -bool in_band_msg_in_hook(struct in_band *, const struct flow *, - const struct ofpbuf *packet); -bool in_band_rule_check(const struct flow *, uint32_t local_odp_port, - const struct nlattr *odp_actions, size_t actions_len); +bool in_band_must_output_to_local_port(const struct flow *); + +int in_band_count_rules(const struct in_band *); #endif /* in-band.h */