#include "openvswitch/datapath-protocol.h"
#include "shash.h"
#include "socket-util.h"
-
-#define THIS_MODULE VLM_netdev_vport
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(netdev_vport)
+
struct netdev_vport_notifier {
struct netdev_notifier notifier;
struct list list_node;
- struct shash_node *shash_node;
+ struct shash_node *shash_node;
};
static struct shash netdev_vport_notifiers =
return 0;
}
-int
-netdev_vport_get_carrier(const struct netdev *netdev OVS_UNUSED, bool *carrier)
-{
- *carrier = true;
- return 0;
-}
-
int
netdev_vport_get_stats(const struct netdev *netdev, struct netdev_stats *stats)
{