datapath: Use static where possible.
[openvswitch] / lib / dpif.h
index c844289c33ed75dba334bcf8b521af4ef90760bb..927776cc5ef887fd6d294bb4f114ea707eae52a3 100644 (file)
@@ -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 *);