Searched refs:vlan (Results 1 - 25 of 68) sorted by relevance

123

/external/wpa_supplicant_8/hostapd/src/ap/
H A Dvlan_init.c22 static int vlan_if_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan, argument
32 vlan->ifname);
36 if (!iface_exists(vlan->ifname))
37 ret = hostapd_vlan_if_add(hapd, vlan->ifname);
46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */
49 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id);
55 vlan->vlan_id, ret);
56 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id))
57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname);
60 if (hostapd_vlan_if_remove(hapd, vlan
67 vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
81 vlan_dynamic_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
104 vlan_dynamic_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
140 struct hostapd_vlan *vlan; local
173 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id, struct vlan_description *vlan_desc) argument
220 struct hostapd_vlan *vlan; local
[all...]
H A Dvlan_init.h17 struct hostapd_vlan *vlan,
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, argument
H A Dvlan_full.c371 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", vid);
422 struct hostapd_vlan *vlan; local
427 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) {
428 if (vlan->configured ||
429 os_strcmp(ifname, vlan->ifname) != 0)
433 if (!vlan)
517 struct hostapd_vlan *first, *prev, *vlan = hapd->conf->vlan; local
[all...]
H A Dvlan_util.h23 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
H A Dsta_info.c39 #include "vlan.h"
867 struct hostapd_vlan *vlan; local
871 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) {
872 if (vlan->vlan_id == vlan_id) {
884 struct hostapd_vlan *vlan = NULL, *wildcard_vlan = NULL; local
906 for (vlan
991 struct hostapd_vlan *vlan = NULL; local
[all...]
H A DMakefile57 vlan.o \
H A Dap_config.c26 struct hostapd_vlan *vlan, *prev; local
28 vlan = bss->vlan;
30 while (vlan) {
31 prev = vlan;
32 vlan = vlan->next;
36 bss->vlan = NULL;
728 int hostapd_vlan_valid(struct hostapd_vlan *vlan, argument
731 struct hostapd_vlan *v = vlan;
755 hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dvlan_init.c22 static int vlan_if_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan, argument
32 vlan->ifname);
36 if (!iface_exists(vlan->ifname))
37 ret = hostapd_vlan_if_add(hapd, vlan->ifname);
46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */
49 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id);
55 vlan->vlan_id, ret);
56 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id))
57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname);
60 if (hostapd_vlan_if_remove(hapd, vlan
67 vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
81 vlan_dynamic_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
104 vlan_dynamic_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
140 struct hostapd_vlan *vlan; local
173 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id, struct vlan_description *vlan_desc) argument
220 struct hostapd_vlan *vlan; local
[all...]
H A Dvlan_init.h17 struct hostapd_vlan *vlan,
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, argument
H A Dvlan_full.c371 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", vid);
422 struct hostapd_vlan *vlan; local
427 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) {
428 if (vlan->configured ||
429 os_strcmp(ifname, vlan->ifname) != 0)
433 if (!vlan)
517 struct hostapd_vlan *first, *prev, *vlan = hapd->conf->vlan; local
[all...]
H A Dvlan_util.h23 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
H A Dsta_info.c39 #include "vlan.h"
867 struct hostapd_vlan *vlan; local
871 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) {
872 if (vlan->vlan_id == vlan_id) {
884 struct hostapd_vlan *vlan = NULL, *wildcard_vlan = NULL; local
906 for (vlan
991 struct hostapd_vlan *vlan = NULL; local
[all...]
H A DMakefile57 vlan.o \
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dvlan_init.c22 static int vlan_if_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan, argument
32 vlan->ifname);
36 if (!iface_exists(vlan->ifname))
37 ret = hostapd_vlan_if_add(hapd, vlan->ifname);
46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */
49 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id);
55 vlan->vlan_id, ret);
56 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id))
57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname);
60 if (hostapd_vlan_if_remove(hapd, vlan
67 vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
81 vlan_dynamic_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
104 vlan_dynamic_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
140 struct hostapd_vlan *vlan; local
173 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id, struct vlan_description *vlan_desc) argument
220 struct hostapd_vlan *vlan; local
[all...]
H A Dvlan_init.h17 struct hostapd_vlan *vlan,
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, argument
H A Dvlan_full.c371 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", vid);
422 struct hostapd_vlan *vlan; local
427 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) {
428 if (vlan->configured ||
429 os_strcmp(ifname, vlan->ifname) != 0)
433 if (!vlan)
517 struct hostapd_vlan *first, *prev, *vlan = hapd->conf->vlan; local
[all...]
H A Dvlan_util.h23 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
H A Dsta_info.c39 #include "vlan.h"
867 struct hostapd_vlan *vlan; local
871 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) {
872 if (vlan->vlan_id == vlan_id) {
884 struct hostapd_vlan *vlan = NULL, *wildcard_vlan = NULL; local
906 for (vlan
991 struct hostapd_vlan *vlan = NULL; local
[all...]
H A DMakefile57 vlan.o \
/external/iproute2/bridge/
H A DMakefile1 BROBJ = bridge.o fdb.o monitor.o link.o mdb.o vlan.o
/external/libnl/python/netlink/route/links/
H A Dvlan.py21 """vlan identifier"""
67 return 'vlan-id {0}'.format(self.id)
70 link.vlan = VLANLink(link._rtnl_link)
71 return link.vlan
/external/libnl/tests/
H A Dtest-create-vlan.c3 #include <netlink/route/link/vlan.h>
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_roboswitch.c353 u16 vlan = 0, _read[2]; local
363 /* find the '.' separating <interface> and <vlan> */
366 wpa_printf(MSG_INFO, "%s: No <interface>.<vlan> pair in "
374 wpa_printf(MSG_INFO, "%s: Invalid vlan specification "
379 vlan *= 10;
380 vlan += *sep - '0';
381 if (vlan > ROBO_VLAN_MAX) {
422 vlan |= 1 << 13;
426 &vlan, 1);
431 "VLAN %d", __func__, vlan
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_roboswitch.c353 u16 vlan = 0, _read[2]; local
363 /* find the '.' separating <interface> and <vlan> */
366 wpa_printf(MSG_INFO, "%s: No <interface>.<vlan> pair in "
374 wpa_printf(MSG_INFO, "%s: Invalid vlan specification "
379 vlan *= 10;
380 vlan += *sep - '0';
381 if (vlan > ROBO_VLAN_MAX) {
422 vlan |= 1 << 13;
426 &vlan, 1);
431 "VLAN %d", __func__, vlan
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_roboswitch.c353 u16 vlan = 0, _read[2]; local
363 /* find the '.' separating <interface> and <vlan> */
366 wpa_printf(MSG_INFO, "%s: No <interface>.<vlan> pair in "
374 wpa_printf(MSG_INFO, "%s: Invalid vlan specification "
379 vlan *= 10;
380 vlan += *sep - '0';
381 if (vlan > ROBO_VLAN_MAX) {
422 vlan |= 1 << 13;
426 &vlan, 1);
431 "VLAN %d", __func__, vlan
[all...]

Completed in 281 milliseconds

123