netdev-vport: Checks tunnel status change when route-table is reset.
[sliver-openvswitch.git] / lib / netdev-vport.h
index eaeb386..d79ef98 100644 (file)
@@ -39,9 +39,14 @@ void netdev_vport_inc_rx(const struct netdev *,
 void netdev_vport_inc_tx(const struct netdev *,
                          const struct dpif_flow_stats *);
 
+bool netdev_vport_is_vport_class(const struct netdev_class *);
 const char *netdev_vport_class_get_dpif_port(const struct netdev_class *);
 
+#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 *);