Lines Matching defs:icon_entry
270 struct icon_entry *icon_entry;
301 icon_entry = os_zalloc(sizeof(struct icon_entry));
302 if (!icon_entry)
304 os_memcpy(icon_entry->bssid, dst, ETH_ALEN);
305 icon_entry->file_name = os_malloc(payload_len + 1);
306 if (!icon_entry->file_name) {
307 os_free(icon_entry);
310 os_memcpy(icon_entry->file_name, payload, payload_len);
311 icon_entry->file_name[payload_len] = '\0';
312 icon_entry->dialog_token = res;
314 dl_list_add(&wpa_s->icon_head, &icon_entry->list);
321 static struct icon_entry * hs20_find_icon(struct wpa_supplicant *wpa_s,
325 struct icon_entry *icon;
327 dl_list_for_each(icon, &wpa_s->icon_head, struct icon_entry, list) {
341 struct icon_entry *icon;
374 static void hs20_free_icon_entry(struct icon_entry *icon)
390 struct icon_entry *icon, *tmp;
402 dl_list_for_each_safe(icon, tmp, &wpa_s->icon_head, struct icon_entry,
442 struct icon_entry *new_icon)
444 struct icon_entry *icon, *tmp;
446 dl_list_for_each_safe(icon, tmp, &wpa_s->icon_head, struct icon_entry,
467 struct icon_entry *icon;
469 dl_list_for_each(icon, &wpa_s->icon_head, struct icon_entry, list) {