/external/wpa_supplicant_8/src/ap/ |
vlan_init.c | 2 * hostapd / VLAN initialization 22 static int vlan_if_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan, 31 "VLAN: Refusing to set up VLAN iface %s with WEP", 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); 54 wpa_printf(MSG_ERROR, "WPA initialization for VLAN %d failed (%d)" 140 struct hostapd_vlan *vlan; local 236 struct hostapd_vlan *vlan; local [all...] |
vlan_init.h | 2 * hostapd / VLAN initialization 17 struct hostapd_vlan *vlan, 32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan,
|
vlan_full.c | 2 * hostapd / VLAN initialization - full dynamic VLAN 122 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); 140 wpa_printf(MSG_DEBUG, "VLAN: br_delif(%s, %s)", br_name, if_name); 142 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) " 153 wpa_printf(MSG_ERROR, "VLAN: %s: Failure determining " 168 wpa_printf(MSG_ERROR, "VLAN: %s: ioctl[SIOCDEVPRIVATE," 195 wpa_printf(MSG_DEBUG, "VLAN: br_addif(%s, %s)", br_name, if_name); 197 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) " 213 wpa_printf(MSG_ERROR, "VLAN: %s: Failure determining 464 struct hostapd_vlan *vlan; local 566 struct hostapd_vlan *first, *prev, *vlan = hapd->conf->vlan; local [all...] |
vlan_util.h | 2 * hostapd / VLAN netlink/ioctl api 23 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
|
sta_info.c | 40 #include "vlan.h" 291 * VLAN. 893 struct hostapd_vlan *vlan; local 897 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) { 898 if (vlan->vlan_id == vlan_id) { 910 struct hostapd_vlan *vlan = NULL, *wildcard_vlan = NULL local 1014 struct hostapd_vlan *vlan = NULL; local [all...] |
wpa_auth_ft.c | 223 struct vlan_description *vlan) 234 os_memset(vlan, 0, sizeof(*vlan)); 273 "FT: RRB VLAN ID invalid %d", 279 vlan->untagged = vlan_id; 283 vlan->tagged[taggedidx] = vlan_id; 296 qsort(vlan->tagged, taggedidx, sizeof(int), cmp_int); 298 vlan->notempty = vlan->untagged || vlan->tagged[0] 1173 struct vlan_description *vlan; member in struct:wpa_ft_pmk_r0_sa 1191 struct vlan_description *vlan; member in struct:wpa_ft_pmk_r1_sa 2052 struct vlan_description vlan; local 2094 struct vlan_description vlan; local 2865 struct vlan_description vlan; local 3748 struct vlan_description vlan; local [all...] |
Makefile | 59 vlan.o \
|
ap_config.c | 27 struct hostapd_vlan *vlan, *prev; local 29 vlan = bss->vlan; 31 while (vlan) { 32 prev = vlan; 33 vlan = vlan->next; 37 bss->vlan = NULL; 784 * @vlan_id: Buffer for returning VLAN ID or %NULL if not needed 830 int hostapd_vlan_valid(struct hostapd_vlan *vlan, [all...] |
wpa_auth_glue.c | 362 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); 812 if (!hostapd_vlan_valid(hapd->conf->vlan, &vlan_desc)) { 813 wpa_printf(MSG_INFO, "Invalid VLAN ID %d in wpa_psk_file", 820 "Failed to assign VLAN ID %d from wpa_psk_file to " 826 "Assigned VLAN ID %d from wpa_psk_file to " MACSTR, 925 struct vlan_description *vlan) 934 if (vlan->notempty && 935 !hostapd_vlan_valid(hapd->conf->vlan, vlan)) { 938 "Invalid VLAN %d%s received from FT" [all...] |
vlan_util.c | 2 * hostapd / VLAN netlink api 11 #include <netlink/route/link/vlan.h> 17 * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and 31 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, " 35 wpa_printf(MSG_ERROR, "VLAN: Interface name too long: '%s'", 41 wpa_printf(MSG_ERROR, "VLAN: Interface name too long: '%s'", 48 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket"); 54 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink: %s", 62 wpa_printf(MSG_ERROR, "VLAN: interface %s does not exist" [all...] |
/external/iproute2/bridge/ |
Makefile | 1 BROBJ = bridge.o fdb.o monitor.o link.o mdb.o vlan.o
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
mirror_gre_vlan_bridge_1q.sh | 8 # vlan device on top of a bridge device with vlan filtering (802.1q). 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 114 # Now forbid the VLAN at the bridge and see it fail. 115 bridge vlan del dev br1 vid 555 self 119 bridge vlan add dev br1 vid 555 self 125 log_test "$what: vlan forbidden at a bridge ($tcflags)" 148 bridge vlan del dev $swp3 vid 55 [all...] |
router_bridge_vlan.sh | 7 vlan 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 108 check_err $? "Can't add a non-PVID VLAN" 109 bridge vlan del dev br1 vid 333 self 110 check_err $? "Can't remove a non-PVID VLAN" 112 log_test "vlan"
|
mirror_gre_bridge_1q.sh | 5 # bridge device with vlan filtering (802.1q). 66 bridge vlan add dev br1 vid 555 pvid untagged self 74 bridge vlan add dev $swp3 vid 555
|
mirror_gre_vlan.sh | 8 # whose underlay route points at a vlan device. 34 ip link add name $swp3.555 link $swp3 type vlan id 555 42 ip link add name $h3.555 link $h3 type vlan id 555
|
mirror_vlan.sh | 7 # Test for "tc action mirred egress mirror" that mirrors to a vlan device. 39 bridge vlan add dev $swp1 vid 111 42 bridge vlan add dev $swp2 vid 111 70 log_test "$direction mirror to vlan ($tcflags)" 94 log_test "$direction mirror tagged to vlan ($tcflags)"
|
bridge_sticky_fdb.sh | 53 bridge fdb del $TEST_MAC dev $swp1 vlan 1 master static sticky
|
/external/bcc/examples/networking/vlan_filter/ |
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 sel [all...] |
/external/linux-kselftest/tools/testing/selftests/bpf/ |
bpf_flow.c | 35 VLAN, 109 bpf_tail_call(skb, &jmp_table, VLAN); 335 PROG(VLAN)(struct __sk_buff *skb) 338 struct vlan_hdr *vlan, _vlan; local 348 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); 349 if (!vlan) 352 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) 355 keys->thoff += sizeof(*vlan); 358 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan) [all...] |
/external/libnl/tests/ |
test-create-vlan.c | 3 #include <netlink/route/link/vlan.h>
|
/external/libnl/python/netlink/route/links/ |
vlan.py | 5 """VLAN network link 21 """vlan identifier""" 31 """ VLAN flags 67 return 'vlan-id {0}'.format(self.id) 70 link.vlan = VLANLink(link._rtnl_link) 71 return link.vlan
|
/external/u-boot/net/ |
cdp.c | 122 /* NOTE: trigger sent not on any VLAN */ 244 ushort vlan, nvlan; local 275 vlan = htons(-1); 319 vlan = *ss; 322 vlan = ntohs(*ss); 340 cdp_appliance_vlan = vlan;
|
/device/google/cuttlefish_common/tools/ |
vlan_prototype_up.sh | 3 # Create the host networks for the VLAN prototype. 9 tap="$(printf cvd-${1}vlan-%02d $2)" 34 ip link add link cvd-net-01 name "${tap}" type vlan id ${4}
|
/external/wpa_supplicant_8/src/drivers/ |
driver_roboswitch.c | 35 #define ROBO_VLAN_PAGE 0x34 /* VLAN page */ 44 /* VLAN page registers */ 45 #define ROBO_VLAN_ACCESS 0x08 /* VLAN table access register */ 46 #define ROBO_VLAN_ACCESS_5350 0x06 /* VLAN table access register (5350) */ 47 #define ROBO_VLAN_READ 0x0c /* VLAN read register */ 361 u16 vlan = 0, _read[2]; local 371 /* find the '.' separating <interface> and <vlan> */ 374 wpa_printf(MSG_INFO, "%s: No <interface>.<vlan> pair in " 382 wpa_printf(MSG_INFO, "%s: Invalid vlan specification " 387 vlan *= 10 [all...] |
/external/scapy/scapy/contrib/ |
cdp.uts | 58 assert(cdpv2[CDPMsgVoIPVLANQuery].vlan == 512)
|