Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/ap/
Dvlan_init.c481 struct hostapd_vlan *vlan = hapd->conf->vlan; in vlan_newlink() local
487 while (vlan) { in vlan_newlink()
488 if (os_strcmp(ifname, vlan->ifname) == 0) { in vlan_newlink()
493 vlan->vlan_id); in vlan_newlink()
497 vlan->vlan_id); in vlan_newlink()
500 "brvlan%d", vlan->vlan_id); in vlan_newlink()
504 vlan->clean |= DVLAN_CLEAN_BR; in vlan_newlink()
514 vlan->vlan_id); in vlan_newlink()
518 "vlan%d", vlan->vlan_id); in vlan_newlink()
521 if (!vlan_add(tagged_interface, vlan->vlan_id, in vlan_newlink()
[all …]
Dsta_info.c743 struct hostapd_vlan *vlan = NULL; in ap_sta_bind_vlan() local
761 if (sta->ssid->vlan[0]) in ap_sta_bind_vlan()
762 iface = sta->ssid->vlan; in ap_sta_bind_vlan()
768 vlan = hapd->conf->vlan; in ap_sta_bind_vlan()
769 while (vlan) { in ap_sta_bind_vlan()
770 if (vlan->vlan_id == sta->vlan_id) in ap_sta_bind_vlan()
772 if (vlan->vlan_id == VLAN_ID_WILDCARD) in ap_sta_bind_vlan()
773 wildcard_vlan = vlan; in ap_sta_bind_vlan()
774 vlan = vlan->next; in ap_sta_bind_vlan()
776 if (!vlan) in ap_sta_bind_vlan()
[all …]
Dvlan_init.h17 struct hostapd_vlan *vlan,
34 struct hostapd_vlan *vlan, in vlan_add_dynamic()
Dap_config.c25 struct hostapd_vlan *vlan, *prev; in hostapd_config_free_vlan() local
27 vlan = bss->vlan; in hostapd_config_free_vlan()
29 while (vlan) { in hostapd_config_free_vlan()
30 prev = vlan; in hostapd_config_free_vlan()
31 vlan = vlan->next; in hostapd_config_free_vlan()
35 bss->vlan = NULL; in hostapd_config_free_vlan()
625 int hostapd_vlan_id_valid(struct hostapd_vlan *vlan, int vlan_id) in hostapd_vlan_id_valid() argument
627 struct hostapd_vlan *v = vlan; in hostapd_vlan_id_valid()
637 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) in hostapd_get_vlan_id_ifname() argument
639 struct hostapd_vlan *v = vlan; in hostapd_get_vlan_id_ifname()
Dap_config.h60 char vlan[IFNAMSIZ + 1]; member
335 struct hostapd_vlan *vlan; member
620 int hostapd_vlan_id_valid(struct hostapd_vlan *vlan, int vlan_id);
621 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan,
/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 …]
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_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 …]
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 …]
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 …]
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/qemu/net/
Dnet.c315 VLANState *vlan; in assign_name() local
319 for (vlan = first_vlan; vlan; vlan = vlan->next) { in assign_name()
322 for (vc = vlan->first_client; vc; vc = vc->next) in assign_name()
332 VLANClientState *qemu_new_vlan_client(VLANState *vlan, in qemu_new_vlan_client() argument
353 vc->vlan = vlan; in qemu_new_vlan_client()
356 pvc = &vlan->first_client; in qemu_new_vlan_client()
365 VLANClientState **pvc = &vc->vlan->first_client; in qemu_del_vlan_client()
381 VLANClientState *qemu_find_vlan_client(VLANState *vlan, void *opaque) in qemu_find_vlan_client() argument
383 VLANClientState **pvc = &vlan->first_client; in qemu_find_vlan_client()
396 VLANState *vlan = sender->vlan; in qemu_can_send_packet() local
[all …]
Dnet-android.c323 VLANState *vlan; in assign_name() local
327 for (vlan = first_vlan; vlan; vlan = vlan->next) { in assign_name()
330 for (vc = vlan->first_client; vc; vc = vc->next) in assign_name()
340 VLANClientState *qemu_new_vlan_client(VLANState *vlan, in qemu_new_vlan_client() argument
361 vc->vlan = vlan; in qemu_new_vlan_client()
364 pvc = &vlan->first_client; in qemu_new_vlan_client()
373 VLANClientState **pvc = &vc->vlan->first_client; in qemu_del_vlan_client()
389 VLANClientState *qemu_find_vlan_client(VLANState *vlan, void *opaque) in qemu_find_vlan_client() argument
391 VLANClientState **pvc = &vlan->first_client; in qemu_find_vlan_client()
404 VLANState *vlan = sender->vlan; in qemu_can_send_packet() local
[all …]
/external/qemu/include/net/
Dnet.h26 struct VLANState *vlan; member
54 VLANClientState *qemu_new_vlan_client(VLANState *vlan,
63 VLANClientState *qemu_find_vlan_client(VLANState *vlan, void *opaque);
90 VLANState *vlan; member
/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c351 u16 vlan = 0, _read[2]; in wpa_driver_roboswitch_init() local
377 vlan *= 10; in wpa_driver_roboswitch_init()
378 vlan += *sep - '0'; in wpa_driver_roboswitch_init()
379 if (vlan > ROBO_VLAN_MAX) { in wpa_driver_roboswitch_init()
417 vlan |= 1 << 13; in wpa_driver_roboswitch_init()
421 &vlan, 1); in wpa_driver_roboswitch_init()
426 "VLAN %d", __func__, vlan & ~(1 << 13)); in wpa_driver_roboswitch_init()
/external/wpa_supplicant_8/hostapd/
Dhostapd.vlan9 * vlan#
Dconfig_file.c40 struct hostapd_vlan *vlan; in hostapd_config_read_vlan_file() local
91 vlan = os_zalloc(sizeof(*vlan)); in hostapd_config_read_vlan_file()
92 if (vlan == NULL) { in hostapd_config_read_vlan_file()
99 vlan->vlan_id = vlan_id; in hostapd_config_read_vlan_file()
100 os_strlcpy(vlan->ifname, pos, sizeof(vlan->ifname)); in hostapd_config_read_vlan_file()
101 vlan->next = bss->vlan; in hostapd_config_read_vlan_file()
102 bss->vlan = vlan; in hostapd_config_read_vlan_file()
829 os_memcpy(bss->ssid.vlan, bss->iface, IFNAMSIZ + 1); in hostapd_config_bss()
/external/qemu/
Dqemu-options.hx736 "-net nic[,vlan=n][,macaddr=addr][,model=type][,name=str]\n"
739 "-net user[,vlan=n][,name=str][,hostname=host]\n"
744 "-net tap[,vlan=n][,name=str],ifname=name\n"
747 "-net tap[,vlan=n][,name=str][,fd=h][,ifname=name][,script=file][,downscript=dfile]\n"
754 "-net socket[,vlan=n][,name=str][,fd=h][,listen=[host]:port][,connect=host:port]\n"
755 " connect the vlan 'n' to another VLAN using a socket connection\n"
756 "-net socket[,vlan=n][,name=str][,fd=h][,mcast=maddr:port]\n"
757 " connect the vlan 'n' to multicast maddr and port\n"
759 "-net vde[,vlan=n][,name=str][,sock=socketpath][,port=n][,group=groupname][,mode=octalmode]\n"
760 " connect the vlan 'n' to port 'n' of a vde switch running\n"
[all …]
Dtap-win32.c667 int tap_win32_init(VLANState *vlan, const char *model, in tap_win32_init() argument
680 s->vc = qemu_new_vlan_client(vlan, model, name, NULL, tap_receive, in tap_win32_init()
/external/wpa_supplicant_8/wpa_supplicant/tests/
Dlink_test.c80 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) in hostapd_get_vlan_id_ifname() argument
/external/qemu/hw/android/
Dandroid_arm.c88 if (nd_table[i].vlan) { in android_arm_init_()
Dandroid_mips.c189 if (nd_table[i].vlan) { in android_mips_init_()
/external/libnl/include/
DMakefile.am35 netlink/route/link/vlan.h \
/external/iproute2/include/linux/
Dif_link.h294 __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */ member
/external/qemu/include/sysemu/
Dsysemu.h106 int tap_win32_init(VLANState *vlan, const char *model,

12