X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fconnmgr.h;h=dec5b71c6244fb1e5e0dd5430766ff2c571acd63;hb=5cb2356b599a1697825419cf4b7dda81ff07d517;hp=6d404cf9b38d399832992b1045dd8a912043d8d1;hpb=d8653c386aa8bfaed60863710da6d785797d530f;p=openvswitch diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h index 6d404cf9..dec5b71c 100644 --- a/ofproto/connmgr.h +++ b/ofproto/connmgr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011, 2012 Nicira Networks. + * Copyright (c) 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ struct ofopgroup; struct ofputil_flow_removed; struct ofputil_packet_in; struct ofputil_phy_port; +struct simap; struct sset; /* ofproto supports two kinds of OpenFlow connections: @@ -70,6 +71,8 @@ void connmgr_run(struct connmgr *, struct ofpbuf *ofp_msg)); void connmgr_wait(struct connmgr *, bool handling_openflow); +void connmgr_get_memory_usage(const struct connmgr *, struct simap *usage); + struct ofproto *ofconn_get_ofproto(const struct ofconn *); void connmgr_retry(struct connmgr *); @@ -140,7 +143,6 @@ int connmgr_get_max_probe_interval(const struct connmgr *); bool connmgr_is_any_controller_connected(const struct connmgr *); bool connmgr_is_any_controller_admitted(const struct connmgr *); int connmgr_failure_duration(const struct connmgr *); -void connmgr_broadcast(struct connmgr *, struct ofpbuf *); /* In-band configuration. */ void connmgr_set_extra_in_band_remotes(struct connmgr *,