datapath: Fix sparse warning on BUILD_BUG_ON_NOT_POWER_OF_2 definition.
[openvswitch] / ofproto / ofproto.h
index c8d98578e8876c837a9914a5e0c23496d49f152b..ea988e7bbd2cd16347438992b96c85df43bc8d9a 100644 (file)
@@ -39,6 +39,7 @@ struct netdev;
 struct ofproto;
 struct ofport;
 struct shash;
+struct simap;
 struct netdev_stats;
 
 struct ofproto_controller_info {
@@ -153,6 +154,8 @@ int ofproto_run_fast(struct ofproto *);
 void ofproto_wait(struct ofproto *);
 bool ofproto_is_alive(const struct ofproto *);
 
+void ofproto_get_memory_usage(const struct ofproto *, struct simap *);
+
 /* A port within an OpenFlow switch.
  *
  * 'name' and 'type' are suitable for passing to netdev_open(). */