summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2011-07-01 14:13:56 -0700
committerJustin Pettit <jpettit@nicira.com>2011-07-01 14:13:56 -0700
commit5bee6e2638989aff14429c5a85fa7cef196f2106 (patch)
tree4aed6c5ba7f34826995ba766c4f875632759aa73 /ofproto
parentb69fe6b1031990bd9c86993864f43ecd89f62717 (diff)
downloadopenvswitch-5bee6e2638989aff14429c5a85fa7cef196f2106.tar.gz
ofproto: Rename "private.h" to "ofproto->provider.h".
To be more consistent with other providers, rename "private.h" to "ofproto-provider.h".
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/automake.mk4
-rw-r--r--ofproto/connmgr.c2
-rw-r--r--ofproto/fail-open.c2
-rw-r--r--ofproto/in-band.c2
-rw-r--r--ofproto/ofproto-dpif.c2
-rw-r--r--ofproto/ofproto-provider.h (renamed from ofproto/private.h)6
-rw-r--r--ofproto/ofproto.c10
7 files changed, 14 insertions, 14 deletions
diff --git a/ofproto/automake.mk b/ofproto/automake.mk
index 9ce40ab30..df83aef09 100644
--- a/ofproto/automake.mk
+++ b/ofproto/automake.mk
@@ -23,10 +23,10 @@ ofproto_libofproto_a_SOURCES = \
ofproto/ofproto-dpif.c \
ofproto/ofproto-dpif-sflow.c \
ofproto/ofproto-dpif-sflow.h \
+ ofproto/ofproto-provider.h \
ofproto/pktbuf.c \
ofproto/pktbuf.h \
ofproto/pinsched.c \
- ofproto/pinsched.h \
- ofproto/private.h
+ ofproto/pinsched.h
EXTRA_DIST += ofproto/ofproto-unixctl.man
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 7776c8898..44e1b2846 100644
--- a/ofproto/connmgr.c
+++ b/ofproto/connmgr.c
@@ -27,10 +27,10 @@
#include "odp-util.h"
#include "ofp-util.h"
#include "ofpbuf.h"
+#include "ofproto-provider.h"
#include "pinsched.h"
#include "poll-loop.h"
#include "pktbuf.h"
-#include "private.h"
#include "rconn.h"
#include "shash.h"
#include "timeval.h"
diff --git a/ofproto/fail-open.c b/ofproto/fail-open.c
index 197e5183e..541bb054b 100644
--- a/ofproto/fail-open.c
+++ b/ofproto/fail-open.c
@@ -26,9 +26,9 @@
#include "ofp-util.h"
#include "ofpbuf.h"
#include "ofproto.h"
+#include "ofproto-provider.h"
#include "pktbuf.h"
#include "poll-loop.h"
-#include "private.h"
#include "rconn.h"
#include "timeval.h"
#include "vconn.h"
diff --git a/ofproto/in-band.c b/ofproto/in-band.c
index 14cfa040a..ae1f1b13c 100644
--- a/ofproto/in-band.c
+++ b/ofproto/in-band.c
@@ -32,10 +32,10 @@
#include "odp-util.h"
#include "ofproto.h"
#include "ofpbuf.h"
+#include "ofproto-provider.h"
#include "openflow/openflow.h"
#include "packets.h"
#include "poll-loop.h"
-#include "private.h"
#include "timeval.h"
#include "vlog.h"
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 1e77cda23..726435547 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -16,7 +16,7 @@
#include <config.h>
-#include "ofproto/private.h"
+#include "ofproto/ofproto-provider.h"
#include <errno.h>
diff --git a/ofproto/private.h b/ofproto/ofproto-provider.h
index a5bd17e08..62fb03534 100644
--- a/ofproto/private.h
+++ b/ofproto/ofproto-provider.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef OFPROTO_PRIVATE_H
-#define OFPROTO_PRIVATE_H 1
+#ifndef OFPROTO_OFPROTO_PROVIDER_H
+#define OFPROTO_OFPROTO_PROVIDER_H 1
/* Definitions for use within ofproto. */
@@ -923,4 +923,4 @@ void ofproto_add_flow(struct ofproto *, const struct cls_rule *,
bool ofproto_delete_flow(struct ofproto *, const struct cls_rule *);
void ofproto_flush_flows(struct ofproto *);
-#endif /* ofproto/private.h */
+#endif /* ofproto/ofproto-provider.h */
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index ac243cf05..201488de4 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -33,13 +33,13 @@
#include "ofp-print.h"
#include "ofp-util.h"
#include "ofpbuf.h"
+#include "ofproto-provider.h"
#include "openflow/nicira-ext.h"
#include "openflow/openflow.h"
#include "packets.h"
#include "pinsched.h"
#include "pktbuf.h"
#include "poll-loop.h"
-#include "private.h"
#include "shash.h"
#include "sset.h"
#include "timeval.h"
@@ -1369,8 +1369,8 @@ ofproto_rule_destroy__(struct rule *rule)
/* This function allows an ofproto implementation to destroy any rules that
* remain when its ->destruct() function is called. The caller must have
* already uninitialized any derived members of 'rule' (step 5 described in the
- * large comment in ofproto/private.h titled "Life Cycle"). This function
- * implements steps 6 and 7.
+ * large comment in ofproto/ofproto-provider.h titled "Life Cycle").
+ * This function implements steps 6 and 7.
*
* This function should only be called from an ofproto implementation's
* ->destruct() function. It is not suitable elsewhere. */
@@ -2800,8 +2800,8 @@ ofoperation_destroy(struct ofoperation *op)
* If 'op' is a "delete flow" operation, 'error' must be 0. That is, flow
* deletions are not allowed to fail.
*
- * Please see the large comment in ofproto/private.h titled "Asynchronous
- * Operation Support" for more information. */
+ * Please see the large comment in ofproto/ofproto-provider.h titled
+ * "Asynchronous Operation Support" for more information. */
void
ofoperation_complete(struct ofoperation *op, int error)
{