Lines Matching refs:vlan
2 * hostapd / VLAN netlink api
17 #include <netlink/route/link/vlan.h>
25 * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and
40 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, "
44 wpa_printf(MSG_ERROR, "VLAN: Interface name too long: '%s'",
50 wpa_printf(MSG_ERROR, "VLAN: Interface name too long: '%s'",
57 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket");
62 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink");
68 wpa_printf(MSG_ERROR, "VLAN: failed to alloc cache");
74 wpa_printf(MSG_ERROR, "VLAN: interface %s does not exist",
83 wpa_printf(MSG_ERROR, "VLAN: interface %s already exists",
91 wpa_printf(MSG_ERROR, "VLAN: failed to allocate new link");
95 if (rtnl_link_set_type(rlink, "vlan") < 0) {
96 wpa_printf(MSG_ERROR, "VLAN: failed to set link type");
104 wpa_printf(MSG_ERROR, "VLAN: failed to set link vlan id");
109 wpa_printf(MSG_ERROR, "VLAN: failed to create link %s for "
110 "vlan %d on %s (%d)",
135 wpa_printf(MSG_DEBUG, "VLAN: vlan_rem(if_name=%s)", if_name);
139 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket");
144 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink");
150 wpa_printf(MSG_ERROR, "VLAN: failed to alloc cache");
156 wpa_printf(MSG_ERROR, "VLAN: interface %s does not exists",
162 wpa_printf(MSG_ERROR, "VLAN: failed to remove link %s",