projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Fix sparse warning on BUILD_BUG_ON_NOT_POWER_OF_2 definition.
[openvswitch]
/
ofproto
/
connmgr.h
diff --git
a/ofproto/connmgr.h
b/ofproto/connmgr.h
index 81ca51b79b4da6955d3ff89be2ff8fc99aba8f70..dec5b71c6244fb1e5e0dd5430766ff2c571acd63 100644
(file)
--- 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.
*
* 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 ofputil_flow_removed;
struct ofputil_packet_in;
struct ofputil_phy_port;
+struct simap;
struct sset;
/* ofproto supports two kinds of OpenFlow connections:
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);
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 *);
struct ofproto *ofconn_get_ofproto(const struct ofconn *);
void connmgr_retry(struct connmgr *);