projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add functions to determine how port should be opened based on type.
[openvswitch]
/
ofproto
/
ofproto-dpif.c
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index 283aea98d58989103c60d359f2867384a20ead66..fe0aae3b8a7e0a9ff2b100f6f9f4e40cee05a566 100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-780,6
+780,12
@@
del(const char *type, const char *name)
return error;
}
\f
return error;
}
\f
+static const char *
+port_open_type(const char *datapath_type, const char *port_type)
+{
+ return dpif_port_open_type(datapath_type, port_type);
+}
+
/* Type functions. */
static int
/* Type functions. */
static int
@@
-7865,6
+7871,7
@@
const struct ofproto_class ofproto_dpif_class = {
enumerate_types,
enumerate_names,
del,
enumerate_types,
enumerate_names,
del,
+ port_open_type,
type_run,
type_run_fast,
type_wait,
type_run,
type_run_fast,
type_wait,