Lines Matching refs:cache
414 struct hostapd_cached_radius_acl *cache) in decode_tunnel_passwords() argument
452 hostapd_logger(hapd, cache->addr, in decode_tunnel_passwords()
463 psk->next = cache->info.psk; in decode_tunnel_passwords()
464 cache->info.psk = psk; in decode_tunnel_passwords()
492 struct hostapd_cached_radius_acl *cache; in hostapd_acl_recv_radius() local
528 cache = os_zalloc(sizeof(*cache)); in hostapd_acl_recv_radius()
529 if (!cache) { in hostapd_acl_recv_radius()
533 os_get_reltime(&cache->timestamp); in hostapd_acl_recv_radius()
534 os_memcpy(cache->addr, query->addr, sizeof(cache->addr)); in hostapd_acl_recv_radius()
535 info = &cache->info; in hostapd_acl_recv_radius()
542 cache->accepted = HOSTAPD_ACL_ACCEPT_TIMEOUT; in hostapd_acl_recv_radius()
544 cache->accepted = HOSTAPD_ACL_ACCEPT; in hostapd_acl_recv_radius()
564 msg, req, cache); in hostapd_acl_recv_radius()
582 cache->accepted = HOSTAPD_ACL_REJECT; in hostapd_acl_recv_radius()
596 cache->accepted = HOSTAPD_ACL_REJECT; in hostapd_acl_recv_radius()
598 cache->accepted = HOSTAPD_ACL_REJECT; in hostapd_acl_recv_radius()
599 cache->next = hapd->acl_cache; in hostapd_acl_recv_radius()
600 hapd->acl_cache = cache; in hostapd_acl_recv_radius()
604 bool success = cache->accepted == HOSTAPD_ACL_ACCEPT || in hostapd_acl_recv_radius()
605 cache->accepted == HOSTAPD_ACL_ACCEPT_TIMEOUT; in hostapd_acl_recv_radius()
615 (ieee802_11_set_radius_info(hapd, sta, cache->accepted, in hostapd_acl_recv_radius()
624 cache->accepted, in hostapd_acl_recv_radius()