ofp-util: Style fixes.
[sliver-openvswitch.git] / lib / dpif.h
index db08d78..893338b 100644 (file)
@@ -57,6 +57,7 @@ void dpif_wait(struct dpif *);
 
 const char *dpif_name(const struct dpif *);
 const char *dpif_base_name(const struct dpif *);
+const char *dpif_type(const struct dpif *);
 
 int dpif_delete(struct dpif *);
 
@@ -72,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);
 
@@ -85,6 +88,7 @@ struct dpif_port {
 };
 void dpif_port_clone(struct dpif_port *, const struct dpif_port *);
 void dpif_port_destroy(struct dpif_port *);
+bool dpif_port_exists(const struct dpif *dpif, const char *devname);
 int dpif_port_query_by_number(const struct dpif *, uint32_t port_no,
                               struct dpif_port *);
 int dpif_port_query_by_name(const struct dpif *, const char *devname,