#include <stdint.h>
struct ofpbuf;
+struct svec;
/* A datapath interface. Opaque. */
struct dpif {
int fd;
};
+int dp_enumerate(struct svec *);
+
int dpif_open(const char *name, struct dpif *);
int dpif_create(const char *name, struct dpif *);
void dpif_close(struct dpif *);
struct odp_port *);
int dpif_port_query_by_name(const struct dpif *, const char *devname,
struct odp_port *);
+int dpif_port_get_name(struct dpif *dpif, uint16_t port_no,
+ char *name, size_t name_size);
int dpif_port_list(const struct dpif *, struct odp_port **, size_t *n_ports);
int dpif_port_group_set(struct dpif *, uint16_t group,