#include "port.h"
#include "port-bonding.h"
#include "port-dummy.h"
+#include "port-ethernet.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" },
+ { NW_PORT_BONDING, "bonding" },
+ { NW_PORT_DUMMY, "dummy" },
+ { NW_PORT_ETHERNET, "ethernet" },
+ { NW_PORT_VETH, "veth", },
+ { NW_PORT_VLAN, "vlan" },
{ -1, NULL },
};
p->type = &nw_port_type_dummy;
break;
+ case NW_PORT_ETHERNET:
+ p->type = &nw_port_type_ethernet;
+ break;
+
case NW_PORT_VETH:
p->type = &nw_port_type_veth;
+ break;
case NW_PORT_VLAN:
p->type = &nw_port_type_vlan;
case NW_PORT_BONDING:
case NW_PORT_DUMMY:
+ case NW_PORT_ETHERNET:
case NW_PORT_VETH:
break;
}