Lines Matching refs:info
37 struct radius_sta info; member
59 os_free(e->info.identity); in hostapd_acl_cache_free_entry()
60 os_free(e->info.radius_cui); in hostapd_acl_cache_free_entry()
61 hostapd_free_psk_list(e->info.psk); in hostapd_acl_cache_free_entry()
93 *out = entry->info; in hostapd_acl_cache_get()
463 psk->next = cache->info.psk; in decode_tunnel_passwords()
464 cache->info.psk = psk; in decode_tunnel_passwords()
493 struct radius_sta *info; in hostapd_acl_recv_radius() local
535 info = &cache->info; in hostapd_acl_recv_radius()
541 &info->session_timeout) == 0) in hostapd_acl_recv_radius()
548 &info->acct_interim_interval) == 0 && in hostapd_acl_recv_radius()
549 info->acct_interim_interval < 60) { in hostapd_acl_recv_radius()
553 info->acct_interim_interval, in hostapd_acl_recv_radius()
555 info->acct_interim_interval = 0; in hostapd_acl_recv_radius()
559 info->vlan_id.notempty = !!radius_msg_get_vlanid( in hostapd_acl_recv_radius()
560 msg, &info->vlan_id.untagged, in hostapd_acl_recv_radius()
561 MAX_NUM_TAGGED_VLAN, info->vlan_id.tagged); in hostapd_acl_recv_radius()
568 info->identity = os_zalloc(len + 1); in hostapd_acl_recv_radius()
569 if (info->identity) in hostapd_acl_recv_radius()
570 os_memcpy(info->identity, buf, len); in hostapd_acl_recv_radius()
575 info->radius_cui = os_zalloc(len + 1); in hostapd_acl_recv_radius()
576 if (info->radius_cui) in hostapd_acl_recv_radius()
577 os_memcpy(info->radius_cui, buf, len); in hostapd_acl_recv_radius()
581 !info->psk) in hostapd_acl_recv_radius()
584 if (info->vlan_id.notempty && in hostapd_acl_recv_radius()
585 !hostapd_vlan_valid(hapd->conf->vlan, &info->vlan_id)) { in hostapd_acl_recv_radius()
590 info->vlan_id.untagged, in hostapd_acl_recv_radius()
591 info->vlan_id.tagged[0] ? "+" : ""); in hostapd_acl_recv_radius()
592 os_memset(&info->vlan_id, 0, sizeof(info->vlan_id)); in hostapd_acl_recv_radius()
595 !info->vlan_id.notempty) in hostapd_acl_recv_radius()
616 info) < 0 || in hostapd_acl_recv_radius()
625 info->session_timeout); in hostapd_acl_recv_radius()