/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 52 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_add() 58 vlan->vlan_id, ret); in vlan_if_add() 59 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id)) in vlan_if_add() 74 ret = wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_remove() 78 vlan->vlan_id, ret); in vlan_if_remove() 88 if (vlan->vlan_id != VLAN_ID_WILDCARD) { in vlan_dynamic_add() 117 if (vlan->vlan_id != VLAN_ID_WILDCARD) in vlan_dynamic_remove() 120 if (vlan->vlan_id != VLAN_ID_WILDCARD && in vlan_dynamic_remove() 153 vlan->vlan_id = VLAN_ID_WILDCARD; in vlan_init() 188 int vlan_id, in vlan_add_dynamic() argument [all …]
|
D | ieee802_11_auth.c | 175 struct vlan_description *vlan_id) in hostapd_check_acl() argument 178 hapd->conf->num_accept_mac, addr, vlan_id)) in hostapd_check_acl() 182 hapd->conf->num_deny_mac, addr, vlan_id)) in hostapd_check_acl() 221 res = hostapd_check_acl(hapd, addr, &out->vlan_id); in hostapd_allowed_address() 238 os_memset(&out->vlan_id, 0, sizeof(out->vlan_id)); in hostapd_allowed_address() 517 info->vlan_id.notempty = !!radius_msg_get_vlanid( in hostapd_acl_recv_radius() 518 msg, &info->vlan_id.untagged, in hostapd_acl_recv_radius() 519 MAX_NUM_TAGGED_VLAN, info->vlan_id.tagged); in hostapd_acl_recv_radius() 542 if (info->vlan_id.notempty && in hostapd_acl_recv_radius() 543 !hostapd_vlan_valid(hapd->conf->vlan, &info->vlan_id)) { in hostapd_acl_recv_radius() [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 | sta_info.c | 283 if (sta->vlan_id) in ap_free_sta() 284 vlan_remove_dynamic(hapd, sta->vlan_id); in ap_free_sta() 911 int vlan_id = MAX_VLAN_ID + 2; in ap_sta_get_free_vlan_id() local 915 if (vlan->vlan_id == vlan_id) { in ap_sta_get_free_vlan_id() 916 vlan_id++; in ap_sta_get_free_vlan_id() 920 return vlan_id; in ap_sta_get_free_vlan_id() 928 int old_vlan_id, vlan_id = 0, ret = 0; in ap_sta_set_vlan() local 931 if (hapd->conf->ssid.per_sta_vif && !sta->vlan_id) { in ap_sta_set_vlan() 934 !hapd->conf->ssid.per_sta_vif && sta->vlan_id) { in ap_sta_set_vlan() 944 vlan_id = ap_sta_get_free_vlan_id(hapd); in ap_sta_set_vlan() [all …]
|
D | ap_config.c | 316 int vlan_id = 0; in hostapd_config_read_wpa_psk() local 351 vlan_id = atoi(value); in hostapd_config_read_wpa_psk() 380 psk->vlan_id = vlan_id; in hostapd_config_read_wpa_psk() 994 const u8 *addr, struct vlan_description *vlan_id) in hostapd_maclist_found() argument 1005 if (vlan_id) in hostapd_maclist_found() 1006 *vlan_id = list[middle].vlan_id; in hostapd_maclist_found() 1053 v->vlan_id == VLAN_ID_WILDCARD) in hostapd_vlan_valid() 1061 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) in hostapd_get_vlan_id_ifname() argument 1065 if (v->vlan_id == vlan_id) in hostapd_get_vlan_id_ifname() 1075 const u8 *prev_psk, int *vlan_id) in hostapd_get_psk() argument [all …]
|
D | ieee802_11_auth.h | 22 struct vlan_description vlan_id; member 29 struct vlan_description *vlan_id);
|
D | wpa_auth_glue.c | 319 int *vlan_id) in hostapd_wpa_auth_get_psk() argument 325 if (vlan_id) in hostapd_wpa_auth_get_psk() 326 *vlan_id = 0; in hostapd_wpa_auth_get_psk() 363 vlan_id); in hostapd_wpa_auth_get_psk() 372 if (vlan_id) in hostapd_wpa_auth_get_psk() 373 *vlan_id = 0; in hostapd_wpa_auth_get_psk() 423 static int hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in hostapd_wpa_auth_set_key() argument 430 if (vlan_id > 0) { in hostapd_wpa_auth_set_key() 431 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); in hostapd_wpa_auth_set_key() 481 return hostapd_drv_set_key(ifname, hapd, alg, addr, idx, vlan_id, 1, in hostapd_wpa_auth_set_key() [all …]
|
D | ap_config.h | 63 struct vlan_description vlan_id; member 132 int vlan_id; /* VLAN ID or -1 (VLAN_ID_WILDCARD) for wildcard entry */ member 165 int vlan_id; member 262 int vlan_id; member 1126 const u8 *addr, struct vlan_description *vlan_id); 1130 const u8 *prev_psk, int *vlan_id); 1135 int vlan_id);
|
D | wpa_auth.c | 120 int *vlan_id) in wpa_auth_get_psk() argument 125 prev_psk, psk_len, vlan_id); in wpa_auth_get_psk() 139 int vlan_id, in wpa_auth_set_key() argument 146 return wpa_auth->cb->set_key(wpa_auth->cb_ctx, vlan_id, alg, addr, idx, in wpa_auth_set_key() 283 const u8 *addr, int vlan_id) in wpa_auth_update_vlan() argument 287 return wpa_auth->cb->update_vlan(wpa_auth->cb_ctx, addr, vlan_id); in wpa_auth_update_vlan() 416 int vlan_id, int delay_init) in wpa_group_init() argument 425 group->vlan_id = vlan_id; in wpa_group_init() 922 int vlan_id = 0; in wpa_try_alt_snonce() local 930 &vlan_id); in wpa_try_alt_snonce() [all …]
|
D | wpa_auth.h | 282 int *vlan_id); 284 int (*set_key)(void *ctx, int vlan_id, enum wpa_alg alg, 299 int (*update_vlan)(void *ctx, const u8 *addr, int vlan_id); 430 int wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id); 474 int wpa_auth_ensure_group(struct wpa_authenticator *wpa_auth, int vlan_id); 475 int wpa_auth_release_group(struct wpa_authenticator *wpa_auth, int vlan_id);
|
D | ap_drv_ops.h | 94 int key_idx, int vlan_id, int set_tx, 161 const u8 *addr, int vlan_id) in hostapd_drv_set_sta_vlan() argument 166 vlan_id); in hostapd_drv_set_sta_vlan()
|
D | ieee802_11.c | 528 if (pw && pw->vlan_id) { in auth_build_sae_commit() 534 sta->sae->tmp->vlan_id = pw->vlan_id; in auth_build_sae_commit() 845 if (sta->sae->tmp && sta->sae->tmp->vlan_id > 0) { in sae_accept_sta() 848 MAC2STR(sta->addr), sta->sae->tmp->vlan_id); in sae_accept_sta() 852 vlan_desc.untagged = sta->sae->tmp->vlan_id; in sae_accept_sta() 856 sta->sae->tmp->vlan_id); in sae_accept_sta() 864 MACSTR, sta->sae->tmp->vlan_id, in sae_accept_sta() 2194 struct vlan_description *vlan_id = &info->vlan_id; in ieee802_11_set_radius_info() local 2199 if (vlan_id->notempty && in ieee802_11_set_radius_info() 2200 !hostapd_vlan_valid(hapd->conf->vlan, vlan_id)) { in ieee802_11_set_radius_info() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.h | 18 int vlan_id, const u8 *addr);
|
D | config_file.c | 33 int line = 0, vlan_id; in hostapd_config_read_vlan_file() local 59 vlan_id = VLAN_ID_WILDCARD; in hostapd_config_read_vlan_file() 62 vlan_id = strtol(buf, &pos, 10); in hostapd_config_read_vlan_file() 63 if (buf == pos || vlan_id < 1 || in hostapd_config_read_vlan_file() 64 vlan_id > MAX_VLAN_ID) { in hostapd_config_read_vlan_file() 103 vlan->vlan_id = vlan_id; in hostapd_config_read_vlan_file() 104 vlan->vlan_desc.untagged = vlan_id; in hostapd_config_read_vlan_file() 105 vlan->vlan_desc.notempty = !!vlan_id; in hostapd_config_read_vlan_file() 128 int vlan_id, const u8 *addr) in hostapd_add_acl_maclist() argument 140 os_memset(&(*acl)[*num].vlan_id, 0, sizeof((*acl)[*num].vlan_id)); in hostapd_add_acl_maclist() [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | gre_inner_v4_multipath.sh | 156 flower vlan_id 111 action pass 158 flower vlan_id 222 action pass
|
D | gre_multipath.sh | 137 flower vlan_id 111 action pass 139 flower vlan_id 222 action pass
|
D | gre_inner_v6_multipath.sh | 156 flower vlan_id 111 action pass 158 flower vlan_id 222 action pass
|
D | ip6gre_inner_v4_multipath.sh | 155 flower vlan_id 111 action pass 157 flower vlan_id 222 action pass
|
D | ip6gre_inner_v6_multipath.sh | 155 flower vlan_id 111 action pass 157 flower vlan_id 222 action pass
|
D | tc_flower.sh | 259 flower vlan_id 75 $tcflags action drop 261 flower vlan_id 85 $tcflags action drop
|
/external/wpa_supplicant_8/src/radius/ |
D | radius.c | 1461 int j, taggedidx = 0, vlan_id; in radius_msg_get_vlanid() local 1503 vlan_id = atoi(buf); in radius_msg_get_vlanid() 1504 if (vlan_id <= 0) in radius_msg_get_vlanid() 1507 tun->vlanid = vlan_id; in radius_msg_get_vlanid() 1512 vlan_id = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid() 1513 if (vlan_id <= 0) in radius_msg_get_vlanid() 1516 *untagged = vlan_id; in radius_msg_get_vlanid() 1519 tagged[taggedidx++] = vlan_id; in radius_msg_get_vlanid()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 79 size_t *psk_len, int *vlan_id) in auth_get_psk() argument 87 if (vlan_id) in auth_get_psk() 88 *vlan_id = 0; in auth_get_psk() 102 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in auth_set_key() argument
|
D | ibss_rsn.c | 277 size_t *psk_len, int *vlan_id) in auth_get_psk() argument 283 if (vlan_id) in auth_get_psk() 284 *vlan_id = 0; in auth_get_psk() 315 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in auth_set_key() argument
|
/external/wpa_supplicant_8/src/common/ |
D | sae.h | 45 int vlan_id; member
|
/external/bcc/examples/networking/vlan_learning/ |
D | vlan_learning.py | 72 vlan_id=available_vlans.pop(0)).commit()
|