dpif: Add new dpif_port_exists() function.
[openvswitch] / lib / dpif.h
index db08d7853c477a9428306b2d38906cf1eadcf63d..bd6095acf2dd14f39ae7d0da12076e3d704444b7 100644 (file)
@@ -85,6 +85,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,