/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 22 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 …]
|
D | vlan_full.c | 421 struct hostapd_vlan *vlan, int vid) in vlan_bridge_name() argument 426 if (vlan->bridge[0]) { in vlan_bridge_name() 427 os_strlcpy(br_name, vlan->bridge, IFNAMSIZ); in vlan_bridge_name() 464 struct hostapd_vlan *vlan; in vlan_newlink() local 469 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in vlan_newlink() 470 if (vlan->configured || in vlan_newlink() 471 os_strcmp(ifname, vlan->ifname) != 0) in vlan_newlink() 475 if (!vlan) in vlan_newlink() 478 vlan->configured = 1; in vlan_newlink() 480 notempty = vlan->vlan_desc.notempty; in vlan_newlink() [all …]
|
D | sta_info.c | 893 struct hostapd_vlan *vlan; in ap_sta_get_free_vlan_id() local 897 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in ap_sta_get_free_vlan_id() 898 if (vlan->vlan_id == vlan_id) { in ap_sta_get_free_vlan_id() 910 struct hostapd_vlan *vlan = NULL, *wildcard_vlan = NULL; in ap_sta_set_vlan() local 929 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in ap_sta_set_vlan() 930 if (vlan->vlan_id == VLAN_ID_WILDCARD) in ap_sta_set_vlan() 933 if (!vlan) { in ap_sta_set_vlan() 943 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { in ap_sta_set_vlan() 944 if (!vlan_compare(&vlan->vlan_desc, vlan_desc)) in ap_sta_set_vlan() 946 if (vlan->vlan_id == VLAN_ID_WILDCARD) in ap_sta_set_vlan() [all …]
|
D | wpa_auth_ft.c | 223 struct vlan_description *vlan) in wpa_ft_rrb_get_tlv_vlan() argument 234 os_memset(vlan, 0, sizeof(*vlan)); in wpa_ft_rrb_get_tlv_vlan() 279 vlan->untagged = vlan_id; in wpa_ft_rrb_get_tlv_vlan() 283 vlan->tagged[taggedidx] = vlan_id; in wpa_ft_rrb_get_tlv_vlan() 296 qsort(vlan->tagged, taggedidx, sizeof(int), cmp_int); in wpa_ft_rrb_get_tlv_vlan() 298 vlan->notempty = vlan->untagged || vlan->tagged[0]; in wpa_ft_rrb_get_tlv_vlan() 356 static size_t wpa_ft_vlan_len(const struct vlan_description *vlan) in wpa_ft_vlan_len() argument 361 if (!vlan || !vlan->notempty) in wpa_ft_vlan_len() 364 if (vlan->untagged) { in wpa_ft_vlan_len() 368 if (vlan->tagged[0]) in wpa_ft_vlan_len() [all …]
|
D | vlan_init.h | 17 struct hostapd_vlan *vlan, 32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, in vlan_add_dynamic() argument
|
D | ap_config.c | 27 struct hostapd_vlan *vlan, *prev; in hostapd_config_free_vlan() local 29 vlan = bss->vlan; in hostapd_config_free_vlan() 31 while (vlan) { in hostapd_config_free_vlan() 32 prev = vlan; in hostapd_config_free_vlan() 33 vlan = vlan->next; in hostapd_config_free_vlan() 37 bss->vlan = NULL; in hostapd_config_free_vlan() 830 int hostapd_vlan_valid(struct hostapd_vlan *vlan, in hostapd_vlan_valid() argument 833 struct hostapd_vlan *v = vlan; in hostapd_vlan_valid() 857 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) in hostapd_get_vlan_id_ifname() argument 859 struct hostapd_vlan *v = vlan; in hostapd_get_vlan_id_ifname()
|
D | wpa_auth_glue.c | 362 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); in hostapd_wpa_auth_set_key() 812 if (!hostapd_vlan_valid(hapd->conf->vlan, &vlan_desc)) { in hostapd_wpa_auth_update_vlan() 925 struct vlan_description *vlan) in hostapd_wpa_auth_set_vlan() argument 934 if (vlan->notempty && in hostapd_wpa_auth_set_vlan() 935 !hostapd_vlan_valid(hapd->conf->vlan, vlan)) { in hostapd_wpa_auth_set_vlan() 939 vlan->untagged, vlan->tagged[0] ? "+" : ""); in hostapd_wpa_auth_set_vlan() 943 if (ap_sta_set_vlan(hapd, sta, vlan) < 0) in hostapd_wpa_auth_set_vlan() 958 struct vlan_description *vlan) in hostapd_wpa_auth_get_vlan() argument 968 *vlan = *sta->vlan_desc; in hostapd_wpa_auth_get_vlan() 970 os_memset(vlan, 0, sizeof(*vlan)); in hostapd_wpa_auth_get_vlan()
|
/external/tcpdump/tests/ |
D | QinQpacket.out | 1 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 …]
|
D | medsa-e.out | 1 …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 …]
|
D | dcb_pfc.out | 24 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 …]
|
D | dcb_ets.out | 25 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 …]
|
D | dcb_qcn.out | 36 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 …]
|
D | QinQpacketv.out | 1 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 …]
|
D | lldp-infinite-loop-2.out | 12 port vlan id (PVID): 1 16 port and protocol vlan id (PPVID): 0, flags [supported] (0x02) 20 vlan id (VID): 1 21 vlan name: default
|
/external/bcc/examples/networking/vlan_filter/ |
D | test_setup.sh | 69 ip netns exec netns3 bridge vlan add vid 100 tagged dev vethx 70 ip netns exec netns3 bridge vlan add vid 200 tagged dev vethx 71 ip netns exec netns3 bridge vlan del vid 1 dev vethx 72 ip netns exec netns3 bridge vlan show 76 ip netns exec netns4 bridge vlan add vid 100 tagged dev vethy 77 ip netns exec netns4 bridge vlan add vid 200 tagged dev vethy 78 ip netns exec netns4 bridge vlan del vid 1 dev vethy 79 ip netns exec netns4 bridge vlan show 83 ip netns exec netns3 bridge vlan del vid 1 dev brx self 84 ip netns exec netns4 bridge vlan del vid 1 dev bry self [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | mirror_gre_vlan_bridge_1q.sh | 54 bridge vlan add dev br1 vid 555 self 61 bridge vlan add dev $swp3 vid 555 62 bridge vlan add dev $swp2 vid 555 115 bridge vlan del dev br1 vid 555 self 119 bridge vlan add dev br1 vid 555 self 148 bridge vlan del dev $swp3 vid 555 152 bridge vlan add dev $swp3 vid 555 185 bridge vlan add dev $swp3 vid 555 pvid untagged 190 bridge vlan add dev $swp3 vid 555 221 bridge fdb del dev $swp3 $h3mac vlan 555 master [all …]
|
D | router_bridge_vlan.sh | 50 bridge vlan add dev br1 vid 555 self pvid untagged 51 bridge vlan add dev $swp1 vid 555 103 vlan() function 107 bridge vlan add dev br1 vid 333 self 109 bridge vlan del dev br1 vid 333 self
|
D | mirror_gre_bridge_1q.sh | 66 bridge vlan add dev br1 vid 555 pvid untagged self 74 bridge vlan add dev $swp3 vid 555
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | bpf_flow.c | 338 struct vlan_hdr *vlan, _vlan; in PROG() local 348 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG() 349 if (!vlan) in PROG() 352 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG() 355 keys->thoff += sizeof(*vlan); in PROG() 358 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG() 359 if (!vlan) in PROG() 362 keys->thoff += sizeof(*vlan); in PROG() 364 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG() 365 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_roboswitch.c | 361 u16 vlan = 0, _read[2]; in wpa_driver_roboswitch_init() local 387 vlan *= 10; in wpa_driver_roboswitch_init() 388 vlan += *sep - '0'; in wpa_driver_roboswitch_init() 389 if (vlan > ROBO_VLAN_MAX) { in wpa_driver_roboswitch_init() 430 vlan |= 1 << 13; in wpa_driver_roboswitch_init() 434 &vlan, 1); in wpa_driver_roboswitch_init() 439 "VLAN %d", __func__, vlan & ~(1 << 13)); in wpa_driver_roboswitch_init()
|
/external/u-boot/net/ |
D | cdp.c | 244 ushort vlan, nvlan; in cdp_receive() local 275 vlan = htons(-1); in cdp_receive() 319 vlan = *ss; in cdp_receive() 322 vlan = ntohs(*ss); in cdp_receive() 340 cdp_appliance_vlan = vlan; in cdp_receive()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_add_station/ |
D | format | 22 field:char vlan[16]; offset:115; size:16; signed:0; 24 …vlan:%s", REC->wiphy_name, REC->name, REC->ifindex, (REC->sta_mac), REC->sta_flags_mask, REC->sta_…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_change_station/ |
D | format | 22 field:char vlan[16]; offset:115; size:16; signed:0; 24 …vlan:%s", REC->wiphy_name, REC->name, REC->ifindex, (REC->sta_mac), REC->sta_flags_mask, REC->sta_…
|
/external/u-boot/doc/ |
D | README.t1040-l2switch | 40 ethsw [port <port_no>] [vlan <vid>] fdb { [help] | show | flush | { add | del } <mac> } - add/delet… 41 if [vlan <vid>] is missing, VID 1 will be used 43 ethsw [port <port_no>] vlan { [help] | show | add <vid> | del <vid> } - add a VLAN to a port (VLAN … 47 ethsw vlan fdb { [help] | show | shared | private } - make VLAN learning shared or private
|
/external/libnl/python/netlink/route/links/ |
D | vlan.py | 70 link.vlan = VLANLink(link._rtnl_link) 71 return link.vlan
|