#include "port.h"
#include "port-bonding.h"
#include "port-dummy.h"
+#include "port-veth.h"
#include "port-vlan.h"
#include "stats-collector.h"
#include "string.h"
static const nw_string_table_t nw_port_type_id[] = {
{ NW_PORT_BONDING, "bonding" },
{ NW_PORT_DUMMY, "dummy" },
+ { NW_PORT_VETH, "veth", },
{ NW_PORT_VLAN, "vlan" },
{ -1, NULL },
};
p->type = &nw_port_type_dummy;
break;
+ case NW_PORT_VETH:
+ p->type = &nw_port_type_veth;
+
case NW_PORT_VLAN:
p->type = &nw_port_type_vlan;
break;
case NW_PORT_BONDING:
case NW_PORT_DUMMY:
+ case NW_PORT_VETH:
break;
}