Home
last modified time | relevance | path

Searched refs:vlan (Results 1 – 25 of 51) sorted by relevance

123

/external/wpa_supplicant_8/src/ap/
Dvlan_init.c22 static int vlan_if_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan, in vlan_if_add() argument
32 vlan->ifname); in vlan_if_add()
36 if (!iface_exists(vlan->ifname)) in vlan_if_add()
37 ret = hostapd_vlan_if_add(hapd, vlan->ifname); in vlan_if_add()
46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */ in vlan_if_add()
49 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_add()
55 vlan->vlan_id, ret); in vlan_if_add()
56 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id)) in vlan_if_add()
57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname); in vlan_if_add()
60 if (hostapd_vlan_if_remove(hapd, vlan->ifname)) in vlan_if_add()
[all …]
Dvlan_full.c422 struct hostapd_vlan *vlan; in vlan_newlink() local
427 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in vlan_newlink()
428 if (vlan->configured || in vlan_newlink()
429 os_strcmp(ifname, vlan->ifname) != 0) in vlan_newlink()
433 if (!vlan) in vlan_newlink()
436 vlan->configured = 1; in vlan_newlink()
438 notempty = vlan->vlan_desc.notempty; in vlan_newlink()
439 untagged = vlan->vlan_desc.untagged; in vlan_newlink()
440 tagged = vlan->vlan_desc.tagged; in vlan_newlink()
446 vlan->clean |= DVLAN_CLEAN_WLAN_PORT; in vlan_newlink()
[all …]
Dsta_info.c856 struct hostapd_vlan *vlan; in ap_sta_get_free_vlan_id() local
860 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in ap_sta_get_free_vlan_id()
861 if (vlan->vlan_id == vlan_id) { in ap_sta_get_free_vlan_id()
873 struct hostapd_vlan *vlan = NULL, *wildcard_vlan = NULL; in ap_sta_set_vlan() local
895 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in ap_sta_set_vlan()
896 if (vlan->vlan_id == VLAN_ID_WILDCARD) in ap_sta_set_vlan()
899 if (!vlan) { in ap_sta_set_vlan()
909 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in ap_sta_set_vlan()
910 if (!vlan_compare(&vlan->vlan_desc, vlan_desc)) in ap_sta_set_vlan()
912 if (vlan->vlan_id == VLAN_ID_WILDCARD) in ap_sta_set_vlan()
[all …]
Dvlan_init.h17 struct hostapd_vlan *vlan,
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, in vlan_add_dynamic() argument
Dap_config.c26 struct hostapd_vlan *vlan, *prev; in hostapd_config_free_vlan() local
28 vlan = bss->vlan; in hostapd_config_free_vlan()
30 while (vlan) { in hostapd_config_free_vlan()
31 prev = vlan; in hostapd_config_free_vlan()
32 vlan = vlan->next; in hostapd_config_free_vlan()
36 bss->vlan = NULL; in hostapd_config_free_vlan()
695 int hostapd_vlan_valid(struct hostapd_vlan *vlan, in hostapd_vlan_valid() argument
698 struct hostapd_vlan *v = vlan; in hostapd_vlan_valid()
722 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) in hostapd_get_vlan_id_ifname() argument
724 struct hostapd_vlan *v = vlan; in hostapd_get_vlan_id_ifname()
Dap_config.h94 char vlan[IFNAMSIZ + 1]; member
398 struct hostapd_vlan *vlan; member
777 int hostapd_vlan_valid(struct hostapd_vlan *vlan,
779 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan,
Dvlan_util.h23 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
Dwpa_auth_ie.c767 struct vlan_description *vlan; in wpa_validate_wpa_ie() local
769 vlan = sm->pmksa->vlan_desc; in wpa_validate_wpa_ie()
773 vlan ? vlan->untagged : 0, in wpa_validate_wpa_ie()
774 (vlan && vlan->tagged[0]) ? "+" : ""); in wpa_validate_wpa_ie()
DMakefile58 vlan.o \
/external/tcpdump/tests/
DQinQpacket.out1 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, et…
2 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
3 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
4 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, et…
5 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
6 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
7 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
8 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
9 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
10 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
[all …]
Dmedsa-e.out1 …00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7:…
2 …:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ether…
3 …0:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ether…
4 …00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7:…
5 …00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7:…
6 …:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ether…
7 …:18:44, ethertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ether…
8 …0:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ether…
9 …0:bc:f3, ethertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ether…
10 …00:00:00, ethertype MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7:…
[all …]
Ddcb_pfc.out24 port vlan id (PVID): 1
28 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
32 vlan id (VID): 1
33 vlan name: default
58 port vlan id (PVID): 1
62 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
66 vlan id (VID): 1
67 vlan name: default
92 port vlan id (PVID): 1
96 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
[all …]
Ddcb_ets.out25 port vlan id (PVID): 1
29 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
33 vlan id (VID): 1
34 vlan name: default
122 port vlan id (PVID): 1
126 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
130 vlan id (VID): 1
131 vlan name: default
206 port vlan id (PVID): 1
210 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
[all …]
Ddcb_qcn.out36 port vlan id (PVID): 1
40 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
44 vlan id (VID): 1
45 vlan name: default
67 port vlan id (PVID): 1
71 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
75 vlan id (VID): 1
76 vlan name: default
110 port vlan id (PVID): 1
114 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
[all …]
DQinQpacketv.out1 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, et…
2 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
15 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
28 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, et…
29 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
42 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 344: vlan 200, p 0, e…
55 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
68 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
81 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
94 00:08:5d:23:0c:3f > ff:ff:ff:ff:ff:ff, ethertype 802.1Q-QinQ (0x88a8), length 594: vlan 200, p 0, e…
[all …]
Dlldp_cdp-ev.out54 port vlan id (PVID): 1
76 port vlan id (PVID): 1
98 port vlan id (PVID): 1
120 port vlan id (PVID): 1
180 port vlan id (PVID): 1
202 port vlan id (PVID): 1
224 port vlan id (PVID): 1
246 port vlan id (PVID): 1
Devb.out33 port vlan id (PVID): 1
37 port and protocol vlan id (PPVID): 0, flags [supported] (0x02)
41 vlan id (VID): 1
42 vlan name: default
/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c353 u16 vlan = 0, _read[2]; in wpa_driver_roboswitch_init() local
379 vlan *= 10; in wpa_driver_roboswitch_init()
380 vlan += *sep - '0'; in wpa_driver_roboswitch_init()
381 if (vlan > ROBO_VLAN_MAX) { in wpa_driver_roboswitch_init()
422 vlan |= 1 << 13; in wpa_driver_roboswitch_init()
426 &vlan, 1); in wpa_driver_roboswitch_init()
431 "VLAN %d", __func__, vlan & ~(1 << 13)); in wpa_driver_roboswitch_init()
/external/libnl/python/netlink/route/links/
Dvlan.py70 link.vlan = VLANLink(link._rtnl_link)
71 return link.vlan
/external/libnl/python/netlink/route/
DMakefile.am12 links/vlan.py \
/external/iproute2/bridge/
DMakefile1 BROBJ = bridge.o fdb.o monitor.o link.o mdb.o vlan.o
/external/wpa_supplicant_8/hostapd/
Dhostapd.vlan9 * vlan#
/external/syslinux/gpxe/src/drivers/net/phantom/
Dnxhal_nic_interface.h208 char vlan; member
215 char vlan; member
/external/libnl/tests/
D.gitignore16 /test-create-vlan
/external/valgrind/docs/internals/
Dqemu-aarch64-linux-HOWTO.txt34 -net user,hostfwd=tcp::5555-:22 -device virtio-net-device,vlan=0 \
90 -device virtio-net-device,vlan=0 -kernel boot/vmlinuz-3.16.0-4-arm64 \

123