/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 | 314 if (sta->vlan_id) in ap_free_sta() 315 vlan_remove_dynamic(hapd, sta->vlan_id); in ap_free_sta() 946 int vlan_id = MAX_VLAN_ID + 2; in ap_sta_get_free_vlan_id() local 950 if (vlan->vlan_id == vlan_id) { in ap_sta_get_free_vlan_id() 951 vlan_id++; in ap_sta_get_free_vlan_id() 955 return vlan_id; in ap_sta_get_free_vlan_id() 963 int old_vlan_id, vlan_id = 0, ret = 0; in ap_sta_set_vlan() local 966 if (hapd->conf->ssid.per_sta_vif && !sta->vlan_id) { in ap_sta_set_vlan() 969 !hapd->conf->ssid.per_sta_vif && sta->vlan_id) { in ap_sta_set_vlan() 979 vlan_id = ap_sta_get_free_vlan_id(hapd); in ap_sta_set_vlan() [all …]
|
D | ieee802_11_auth.h | 22 struct vlan_description vlan_id; member 29 struct vlan_description *vlan_id);
|
D | ap_config.c | 327 int vlan_id = 0; in hostapd_config_read_wpa_psk() local 362 vlan_id = atoi(value); in hostapd_config_read_wpa_psk() 391 psk->vlan_id = vlan_id; in hostapd_config_read_wpa_psk() 1013 const u8 *addr, struct vlan_description *vlan_id) in hostapd_maclist_found() argument 1024 if (vlan_id) in hostapd_maclist_found() 1025 *vlan_id = list[middle].vlan_id; in hostapd_maclist_found() 1072 v->vlan_id == VLAN_ID_WILDCARD) in hostapd_vlan_valid() 1080 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) in hostapd_get_vlan_id_ifname() argument 1084 if (v->vlan_id == vlan_id) in hostapd_get_vlan_id_ifname() 1094 const u8 *prev_psk, int *vlan_id) in hostapd_get_psk() argument [all …]
|
D | wpa_auth_glue.c | 335 int *vlan_id) in hostapd_wpa_auth_get_psk() argument 341 if (vlan_id) in hostapd_wpa_auth_get_psk() 342 *vlan_id = 0; in hostapd_wpa_auth_get_psk() 379 vlan_id); in hostapd_wpa_auth_get_psk() 388 if (vlan_id) in hostapd_wpa_auth_get_psk() 389 *vlan_id = 0; in hostapd_wpa_auth_get_psk() 439 static int hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in hostapd_wpa_auth_set_key() argument 446 if (vlan_id > 0) { in hostapd_wpa_auth_set_key() 447 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id); in hostapd_wpa_auth_set_key() 497 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 253 int vlan_id; member 1159 const u8 *addr, struct vlan_description *vlan_id); 1163 const u8 *prev_psk, int *vlan_id); 1168 int vlan_id);
|
D | wpa_auth.h | 301 int *vlan_id); 303 int (*set_key)(void *ctx, int vlan_id, enum wpa_alg alg, 318 int (*update_vlan)(void *ctx, const u8 *addr, int vlan_id); 452 int wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id); 504 int wpa_auth_ensure_group(struct wpa_authenticator *wpa_auth, int vlan_id); 505 int wpa_auth_release_group(struct wpa_authenticator *wpa_auth, int vlan_id);
|
D | wpa_auth.c | 121 int *vlan_id) in wpa_auth_get_psk() argument 126 prev_psk, psk_len, vlan_id); in wpa_auth_get_psk() 140 int vlan_id, in wpa_auth_set_key() argument 147 return wpa_auth->cb->set_key(wpa_auth->cb_ctx, vlan_id, alg, addr, idx, in wpa_auth_set_key() 305 const u8 *addr, int vlan_id) in wpa_auth_update_vlan() argument 309 return wpa_auth->cb->update_vlan(wpa_auth->cb_ctx, addr, vlan_id); in wpa_auth_update_vlan() 438 int vlan_id, int delay_init) in wpa_group_init() argument 447 group->vlan_id = vlan_id; in wpa_group_init() 944 int vlan_id = 0; in wpa_try_alt_snonce() local 952 &vlan_id); in wpa_try_alt_snonce() [all …]
|
D | ap_drv_ops.h | 94 int key_idx, int vlan_id, int set_tx, 162 const u8 *addr, int vlan_id) in hostapd_drv_set_sta_vlan() argument 167 vlan_id); in hostapd_drv_set_sta_vlan()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.h | 18 int vlan_id, const u8 *addr);
|
D | config_file.c | 34 int line = 0, vlan_id; in hostapd_config_read_vlan_file() local 60 vlan_id = VLAN_ID_WILDCARD; in hostapd_config_read_vlan_file() 63 vlan_id = strtol(buf, &pos, 10); in hostapd_config_read_vlan_file() 64 if (buf == pos || vlan_id < 1 || in hostapd_config_read_vlan_file() 65 vlan_id > MAX_VLAN_ID) { in hostapd_config_read_vlan_file() 104 vlan->vlan_id = vlan_id; in hostapd_config_read_vlan_file() 105 vlan->vlan_desc.untagged = vlan_id; in hostapd_config_read_vlan_file() 106 vlan->vlan_desc.notempty = !!vlan_id; in hostapd_config_read_vlan_file() 129 int vlan_id, const u8 *addr) in hostapd_add_acl_maclist() argument 141 os_memset(&(*acl)[*num].vlan_id, 0, sizeof((*acl)[*num].vlan_id)); in hostapd_add_acl_maclist() [all …]
|
D | ctrl_iface.c | 1362 struct vlan_description vlan_id; in hostapd_disassoc_accept_mac() local 1370 sta->addr, &vlan_id) || in hostapd_disassoc_accept_mac() 1371 (vlan_id.notempty && in hostapd_disassoc_accept_mac() 1372 vlan_compare(&vlan_id, sta->vlan_desc))) in hostapd_disassoc_accept_mac() 1382 struct vlan_description vlan_id; in hostapd_disassoc_deny_mac() local 1387 &vlan_id) && in hostapd_disassoc_deny_mac() 1388 (!vlan_id.notempty || in hostapd_disassoc_deny_mac() 1389 !vlan_compare(&vlan_id, sta->vlan_desc))) in hostapd_disassoc_deny_mac() 3273 struct vlan_description vlan_id; in hostapd_ctrl_iface_acl_del_mac() local 3281 if (hostapd_maclist_found(*acl, *num, addr, &vlan_id)) in hostapd_ctrl_iface_acl_del_mac() [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | gre_multipath.sh | 137 flower vlan_id 111 action pass 139 flower vlan_id 222 action pass
|
D | gre_inner_v4_multipath.sh | 156 flower vlan_id 111 action pass 158 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_v6_multipath.sh | 155 flower vlan_id 111 action pass 157 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 | 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/bcc/examples/networking/vlan_learning/ |
D | vlan_learning.py | 72 vlan_id=available_vlans.pop(0)).commit()
|
/external/wpa_supplicant_8/src/common/ |
D | sae.h | 61 int vlan_id; member
|