X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ofproto%2Ffail-open.h;h=4056b3e8d1c80514073259218e931baab9867c18;hb=7e7e8dbb6749034d5229ed17ebdc5fe5a3ad98b0;hp=c8e1f32fc8f5478328559c18132091665816657b;hpb=ee1afdd55567263f8a10f9bff3e5ae6fc8e42fdb;p=cascardo%2Fovs.git diff --git a/ofproto/fail-open.h b/ofproto/fail-open.h index c8e1f32fc..4056b3e8d 100644 --- a/ofproto/fail-open.h +++ b/ofproto/fail-open.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2013 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. @@ -40,11 +40,13 @@ is_fail_open_rule(const struct rule *rule) } struct fail_open *fail_open_create(struct ofproto *, struct connmgr *); -void fail_open_destroy(struct fail_open *); +void fail_open_destroy(struct fail_open *) OVS_EXCLUDED(ofproto_mutex); void fail_open_wait(struct fail_open *); bool fail_open_is_active(const struct fail_open *); void fail_open_run(struct fail_open *); -void fail_open_maybe_recover(struct fail_open *); -void fail_open_flushed(struct fail_open *); +void fail_open_maybe_recover(struct fail_open *) OVS_EXCLUDED(ofproto_mutex); +void fail_open_flushed(struct fail_open *) OVS_EXCLUDED(ofproto_mutex); + +int fail_open_count_rules(const struct fail_open *); #endif /* fail-open.h */