[ovs-dev] [PATCH RFC 2/5] ofproto: Export update_port_config() for future use

Alexandru Copot alex.mihai.c at gmail.com
Tue May 6 18:28:28 UTC 2014


This function is needed by the OF1.4 bundles.

Signed-off-by: Alexandru Copot <alex.mihai.c at gmail.com>
Cc: Daniel Baluta <dbaluta at ixiacom.com>
---
 ofproto/ofproto.c | 2 +-
 ofproto/ofproto.h | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index cf3f271..6b25b9b 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -3000,7 +3000,7 @@ exit:
     return error;
 }
 
-static void
+void
 update_port_config(struct ofconn *ofconn, struct ofport *port,
                    enum ofputil_port_config config,
                    enum ofputil_port_config mask)
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index 60cbdd1..2222de1 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -50,6 +50,11 @@ enum ofperr
 check_port_mod(struct ofconn *ofconn, const struct ofp_header *oh,
                struct ofputil_port_mod *pm, struct ofport **port);
 
+void
+update_port_config(struct ofconn *ofconn, struct ofport *port,
+                   enum ofputil_port_config config,
+                   enum ofputil_port_config mask);
+
 struct ofproto_controller_info {
     bool is_connected;
     enum ofp12_controller_role role;
-- 
1.9.2




More information about the dev mailing list