Home
last modified time | relevance | path

Searched refs:vlan_desc (Results 1 – 13 of 13) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dpmksa_cache_auth.c41 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 …]
Dsta_info.c834 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 …]
Dvlan_init.h19 struct vlan_description *vlan_desc);
33 int vlan_id, struct vlan_description *vlan_desc) in vlan_add_dynamic() argument
Dvlan_init.c176 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()
Dap_config.c666 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()
Dvlan_full.c438 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()
Dieee802_1x.c1668 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 …]
Dsta_info.h142 struct vlan_description *vlan_desc; member
256 struct vlan_description *vlan_desc);
Dpmksa_cache_auth.h31 struct vlan_description *vlan_desc; member
Dap_config.h119 struct vlan_description vlan_desc; member
714 struct vlan_description *vlan_desc);
Dwpa_auth_ie.c717 vlan = sm->pmksa->vlan_desc; in wpa_validate_wpa_ie()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c1367 !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()
Dconfig_file.c100 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()