datapath: Add missing bug.h file
[openvswitch] / lib / dpif.h
index db08d7853c477a9428306b2d38906cf1eadcf63d..7d0881fab3127640fc9fcc0b275c0daa636a7381 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 *);
 
@@ -85,6 +86,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,