Searched refs:vlan_desc (Results 1 – 13 of 13) sorted by relevance
/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.c | 41 os_free(entry->vlan_desc); in _pmksa_cache_free_entry() 144 struct vlan_description *vlan_desc; in pmksa_cache_from_eapol_data() local 167 vlan_desc = ((struct sta_info *) eapol->sta)->vlan_desc; in pmksa_cache_from_eapol_data() 168 if (vlan_desc && vlan_desc->notempty) { in pmksa_cache_from_eapol_data() 169 entry->vlan_desc = os_zalloc(sizeof(struct vlan_description)); in pmksa_cache_from_eapol_data() 170 if (entry->vlan_desc) in pmksa_cache_from_eapol_data() 171 *entry->vlan_desc = *vlan_desc; in pmksa_cache_from_eapol_data() 173 entry->vlan_desc = NULL; in pmksa_cache_from_eapol_data() 215 ap_sta_set_vlan(hapd, eapol->sta, entry->vlan_desc); in pmksa_cache_to_eapol_data() 369 if (old_entry->vlan_desc) { in pmksa_cache_add_okc() [all …]
|
D | sta_info.c | 834 struct vlan_description *vlan_desc) in ap_sta_set_vlan() argument 840 vlan_desc = NULL; in ap_sta_set_vlan() 848 } else if (!vlan_compare(vlan_desc, sta->vlan_desc)) { in ap_sta_set_vlan() 871 } else if (vlan_desc && vlan_desc->notempty) { in ap_sta_set_vlan() 873 if (!vlan_compare(&vlan->vlan_desc, vlan_desc)) in ap_sta_set_vlan() 882 vlan_id = vlan_desc->untagged; in ap_sta_set_vlan() 883 if (vlan_desc->tagged[0]) { in ap_sta_set_vlan() 892 vlan_desc->untagged, in ap_sta_set_vlan() 893 vlan_desc->tagged[0] ? "+" : ""); in ap_sta_set_vlan() 901 vlan = vlan_add_dynamic(hapd, vlan, vlan_id, vlan_desc); in ap_sta_set_vlan() [all …]
|
D | vlan_init.h | 19 struct vlan_description *vlan_desc); 33 int vlan_id, struct vlan_description *vlan_desc) in vlan_add_dynamic() argument
|
D | vlan_init.c | 176 struct vlan_description *vlan_desc) in vlan_add_dynamic() argument 197 if (vlan_desc) in vlan_add_dynamic() 198 n->vlan_desc = *vlan_desc; in vlan_add_dynamic()
|
D | ap_config.c | 666 struct vlan_description *vlan_desc) in hostapd_vlan_valid() argument 671 if (!vlan_desc->notempty || vlan_desc->untagged < 0 || in hostapd_vlan_valid() 672 vlan_desc->untagged > MAX_VLAN_ID) in hostapd_vlan_valid() 675 if (vlan_desc->tagged[i] < 0 || in hostapd_vlan_valid() 676 vlan_desc->tagged[i] > MAX_VLAN_ID) in hostapd_vlan_valid() 679 if (!vlan_desc->untagged && !vlan_desc->tagged[0]) in hostapd_vlan_valid() 683 if (!vlan_compare(&v->vlan_desc, vlan_desc) || in hostapd_vlan_valid()
|
D | vlan_full.c | 438 notempty = vlan->vlan_desc.notempty; in vlan_newlink() 439 untagged = vlan->vlan_desc.untagged; in vlan_newlink() 440 tagged = vlan->vlan_desc.tagged; in vlan_newlink() 535 int notempty = vlan->vlan_desc.notempty; in vlan_dellink() 536 int untagged = vlan->vlan_desc.untagged; in vlan_dellink() 537 int *tagged = vlan->vlan_desc.tagged; in vlan_dellink()
|
D | ieee802_1x.c | 1668 struct vlan_description vlan_desc; in ieee802_1x_receive_auth() local 1673 os_memset(&vlan_desc, 0, sizeof(vlan_desc)); in ieee802_1x_receive_auth() 1739 notempty = &vlan_desc.notempty; in ieee802_1x_receive_auth() 1740 untagged = &vlan_desc.untagged; in ieee802_1x_receive_auth() 1741 tagged = vlan_desc.tagged; in ieee802_1x_receive_auth() 1747 if (vlan_desc.notempty && in ieee802_1x_receive_auth() 1748 !hostapd_vlan_valid(hapd->conf->vlan, &vlan_desc)) { in ieee802_1x_receive_auth() 1754 vlan_desc.untagged, in ieee802_1x_receive_auth() 1755 vlan_desc.tagged[0] ? "+" : ""); in ieee802_1x_receive_auth() 1756 os_memset(&vlan_desc, 0, sizeof(vlan_desc)); in ieee802_1x_receive_auth() [all …]
|
D | sta_info.h | 142 struct vlan_description *vlan_desc; member 256 struct vlan_description *vlan_desc);
|
D | pmksa_cache_auth.h | 31 struct vlan_description *vlan_desc; member
|
D | ap_config.h | 119 struct vlan_description vlan_desc; member 714 struct vlan_description *vlan_desc);
|
D | wpa_auth_ie.c | 717 vlan = sm->pmksa->vlan_desc; in wpa_validate_wpa_ie()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 1367 !vlan_compare(&vlan_id, sta->vlan_desc))) in hostapd_ctrl_iface_set() 1380 vlan_compare(&vlan_id, sta->vlan_desc))) in hostapd_ctrl_iface_set()
|
D | config_file.c | 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()
|