/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 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() 71 ret = wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_remove() 75 vlan->vlan_id, ret); in vlan_if_remove() 85 if (vlan->vlan_id != VLAN_ID_WILDCARD) { in vlan_dynamic_add() 114 if (vlan->vlan_id != VLAN_ID_WILDCARD) in vlan_dynamic_remove() 117 if (vlan->vlan_id != VLAN_ID_WILDCARD && in vlan_dynamic_remove() 148 vlan->vlan_id = VLAN_ID_WILDCARD; in vlan_init() 175 int vlan_id, in vlan_add_dynamic() argument [all …]
|
D | ieee802_11_auth.c | 37 struct vlan_description vlan_id; member 92 struct vlan_description *vlan_id, in hostapd_acl_cache_get() argument 114 if (vlan_id) in hostapd_acl_cache_get() 115 *vlan_id = entry->vlan_id; in hostapd_acl_cache_get() 216 struct vlan_description *vlan_id) in hostapd_check_acl() argument 219 hapd->conf->num_accept_mac, addr, vlan_id)) in hostapd_check_acl() 223 hapd->conf->num_deny_mac, addr, vlan_id)) in hostapd_check_acl() 255 struct vlan_description *vlan_id, in hostapd_allowed_address() argument 265 if (vlan_id) in hostapd_allowed_address() 266 os_memset(vlan_id, 0, sizeof(*vlan_id)); in hostapd_allowed_address() [all …]
|
D | sta_info.c | 273 if (sta->vlan_id) in ap_free_sta() 274 vlan_remove_dynamic(hapd, sta->vlan_id); in ap_free_sta() 820 int vlan_id = MAX_VLAN_ID + 2; in ap_sta_get_free_vlan_id() local 824 if (vlan->vlan_id == vlan_id) { in ap_sta_get_free_vlan_id() 825 vlan_id++; in ap_sta_get_free_vlan_id() 829 return vlan_id; in ap_sta_get_free_vlan_id() 837 int old_vlan_id, vlan_id = 0, ret = 0; in ap_sta_set_vlan() local 843 if (hapd->conf->ssid.per_sta_vif && !sta->vlan_id) { in ap_sta_set_vlan() 846 !hapd->conf->ssid.per_sta_vif && sta->vlan_id) { in ap_sta_set_vlan() 856 vlan_id = ap_sta_get_free_vlan_id(hapd); in ap_sta_set_vlan() [all …]
|
D | vlan_init.h | 18 int vlan_id, 20 int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id); 33 int vlan_id, struct vlan_description *vlan_desc) in vlan_add_dynamic() argument 38 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) in vlan_remove_dynamic() argument
|
D | ieee802_11_auth.h | 20 struct vlan_description *vlan_id); 24 struct vlan_description *vlan_id,
|
D | wpa_auth.c | 125 int vlan_id, in wpa_auth_set_key() argument 131 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx, in wpa_auth_set_key() 357 int vlan_id, int delay_init) in wpa_group_init() argument 366 group->vlan_id = vlan_id; in wpa_group_init() 2725 "GTK_INIT (VLAN-ID %d)", group->vlan_id); in wpa_group_gtk_init() 2864 "SETKEYS (VLAN-ID %d)", group->vlan_id); in wpa_group_setkeys() 2898 if (wpa_auth_set_key(wpa_auth, group->vlan_id, in wpa_group_config_group_keys() 2913 wpa_auth_set_key(wpa_auth, group->vlan_id, alg, in wpa_group_config_group_keys() 2951 "SETKEYSDONE (VLAN-ID %d)", group->vlan_id); in wpa_group_setkeysdone() 3413 group->vlan_id); in wpa_group_free() [all …]
|
D | ap_config.c | 625 const u8 *addr, struct vlan_description *vlan_id) in hostapd_maclist_found() argument 636 if (vlan_id) in hostapd_maclist_found() 637 *vlan_id = list[middle].vlan_id; in hostapd_maclist_found() 684 v->vlan_id == VLAN_ID_WILDCARD) in hostapd_vlan_valid() 692 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) in hostapd_get_vlan_id_ifname() argument 696 if (v->vlan_id == vlan_id) in hostapd_get_vlan_id_ifname()
|
D | wpa_auth.h | 212 int (*set_key)(void *ctx, int vlan_id, enum wpa_alg alg, 310 int wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id); 347 int wpa_auth_ensure_group(struct wpa_authenticator *wpa_auth, int vlan_id); 348 int wpa_auth_release_group(struct wpa_authenticator *wpa_auth, int vlan_id);
|
D | ap_config.h | 57 struct vlan_description vlan_id; member 118 int vlan_id; /* VLAN ID or -1 (VLAN_ID_WILDCARD) for wildcard entry */ member 707 const u8 *addr, struct vlan_description *vlan_id); 716 int vlan_id);
|
D | ieee802_11.c | 935 struct vlan_description vlan_id; in handle_auth() local 943 os_memset(&vlan_id, 0, sizeof(vlan_id)); in handle_auth() 1086 &acct_interim_interval, &vlan_id, in handle_auth() 1155 if (vlan_id.notempty && in handle_auth() 1156 !hostapd_vlan_valid(hapd->conf->vlan, &vlan_id)) { in handle_auth() 1160 vlan_id.untagged, in handle_auth() 1161 vlan_id.tagged[0] ? "+" : ""); in handle_auth() 1165 if (ap_sta_set_vlan(hapd, sta, &vlan_id) < 0) { in handle_auth() 1169 if (sta->vlan_id) in handle_auth() 1171 HOSTAPD_LEVEL_INFO, "VLAN ID %d", sta->vlan_id); in handle_auth() [all …]
|
D | wpa_auth_glue.c | 297 static int hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in hostapd_wpa_auth_set_key() argument 304 if (vlan_id > 0) { in hostapd_wpa_auth_set_key() 305 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); in hostapd_wpa_auth_set_key()
|
D | ap_drv_ops.h | 137 const u8 *addr, int vlan_id) in hostapd_drv_set_sta_vlan() argument 142 vlan_id); in hostapd_drv_set_sta_vlan()
|
D | ctrl_iface_ap.c | 158 if (sta->vlan_id > 0) { in hostapd_ctrl_iface_sta_mib() 160 sta->vlan_id); in hostapd_ctrl_iface_sta_mib()
|
D | sta_info.h | 141 int vlan_id; /* 0: none, >0: VID */ member
|
D | wpa_auth_i.h | 147 int vlan_id; member
|
D | ieee802_1x.c | 225 if (sta->vlan_id > 0) { in ieee802_1x_tx_key() 1777 if (sta->vlan_id > 0) { in ieee802_1x_receive_auth() 1781 "VLAN ID %d", sta->vlan_id); in ieee802_1x_receive_auth()
|
D | wpa_auth_ft.c | 758 int vlan_id, in wpa_auth_set_key() argument 764 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx, in wpa_auth_set_key()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 39 int line = 0, vlan_id; in hostapd_config_read_vlan_file() local 65 vlan_id = VLAN_ID_WILDCARD; in hostapd_config_read_vlan_file() 68 vlan_id = strtol(buf, &pos, 10); in hostapd_config_read_vlan_file() 69 if (buf == pos || vlan_id < 1 || in hostapd_config_read_vlan_file() 70 vlan_id > MAX_VLAN_ID) { in hostapd_config_read_vlan_file() 99 vlan->vlan_id = vlan_id; in hostapd_config_read_vlan_file() 100 vlan->vlan_desc.untagged = vlan_id; in hostapd_config_read_vlan_file() 101 vlan->vlan_desc.notempty = !!vlan_id; in hostapd_config_read_vlan_file() 130 int vlan_id; in hostapd_config_read_maclist() local 184 vlan_id = 0; in hostapd_config_read_maclist() [all …]
|
D | ctrl_iface.c | 1354 struct vlan_description vlan_id; in hostapd_ctrl_iface_set() local 1365 &vlan_id) && in hostapd_ctrl_iface_set() 1366 (!vlan_id.notempty || in hostapd_ctrl_iface_set() 1367 !vlan_compare(&vlan_id, sta->vlan_desc))) in hostapd_ctrl_iface_set() 1378 sta->addr, &vlan_id) || in hostapd_ctrl_iface_set() 1379 (vlan_id.notempty && in hostapd_ctrl_iface_set() 1380 vlan_compare(&vlan_id, sta->vlan_desc))) in hostapd_ctrl_iface_set()
|
/external/wpa_supplicant_8/src/radius/ |
D | radius.c | 1447 int j, taggedidx = 0, vlan_id; in radius_msg_get_vlanid() local 1489 vlan_id = atoi(buf); in radius_msg_get_vlanid() 1490 if (vlan_id <= 0) in radius_msg_get_vlanid() 1493 tun->vlanid = vlan_id; in radius_msg_get_vlanid() 1498 vlan_id = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid() 1499 if (vlan_id <= 0) in radius_msg_get_vlanid() 1502 *untagged = vlan_id; in radius_msg_get_vlanid() 1505 tagged[taggedidx++] = vlan_id; in radius_msg_get_vlanid()
|
/external/tcpdump/ |
D | print-sflow.c | 290 uint8_t vlan_id[4]; member 429 EXTRACT_32BITS(sflow_vlan_counter->vlan_id), in print_sflow_counter_vlan()
|
D | print-juniper.c | 460 uint8_t vlan_id[2]; in juniper_ggsn_print() member 476 EXTRACT_16BITS(&gh->vlan_id[0]))); in juniper_ggsn_print()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 97 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in auth_set_key() argument
|
D | ibss_rsn.c | 290 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in auth_set_key() argument
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver.h | 2527 int vlan_id);
|