X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif.h;h=927776cc5ef887fd6d294bb4f114ea707eae52a3;hb=60d5e0d859c2c04b24cf4283bc764d37911871da;hp=c844289c33ed75dba334bcf8b521af4ef90760bb;hpb=f1588b1fa1be46231ee079358e428dae74ff09cc;p=openvswitch diff --git a/lib/dpif.h b/lib/dpif.h index c844289c..927776cc 100644 --- a/lib/dpif.h +++ b/lib/dpif.h @@ -30,6 +30,7 @@ extern "C" { #endif struct dpif; +struct netdev; struct ofpbuf; struct svec; struct dpif_class; @@ -59,8 +60,7 @@ int dpif_get_dp_stats(const struct dpif *, struct odp_stats *); int dpif_get_drop_frags(const struct dpif *, bool *drop_frags); int dpif_set_drop_frags(struct dpif *, bool drop_frags); -int dpif_port_add(struct dpif *, const char *devname, uint16_t flags, - uint16_t *port_no); +int dpif_port_add(struct dpif *, struct netdev *, uint16_t *port_nop); int dpif_port_del(struct dpif *, uint16_t port_no); int dpif_port_query_by_number(const struct dpif *, uint16_t port_no, struct odp_port *);