-void netdev_vport_patch_inc_rx(const struct netdev *,
- const struct dpif_flow_stats *);
-void netdev_vport_patch_inc_tx(const struct netdev *,
- const struct dpif_flow_stats *);
+#ifndef _WIN32
+enum { NETDEV_VPORT_NAME_BUFSIZE = 16 };
+#else
+enum { NETDEV_VPORT_NAME_BUFSIZE = 256 };
+#endif
+const char *netdev_vport_get_dpif_port(const struct netdev *,
+ char namebuf[], size_t bufsize);
+char *netdev_vport_get_dpif_port_strdup(const struct netdev *);