Add functions to determine how port should be opened based on type.
[sliver-openvswitch.git] / lib / dpif.h
index 7d0881f..893338b 100644 (file)
@@ -73,6 +73,8 @@ int dpif_get_dp_stats(const struct dpif *, struct dpif_dp_stats *);
 \f
 /* Port operations. */
 
+const char *dpif_port_open_type(const char *datapath_type,
+                                const char *port_type);
 int dpif_port_add(struct dpif *, struct netdev *, uint32_t *port_nop);
 int dpif_port_del(struct dpif *, uint32_t port_no);