Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 158) sorted by relevance

1234567

/hostap-3.6.0/src/utils/
Dlist.h22 static inline void dl_list_init(struct dl_list *list) in dl_list_init() argument
24 list->next = list; in dl_list_init()
25 list->prev = list; in dl_list_init()
28 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add() argument
30 item->next = list->next; in dl_list_add()
31 item->prev = list; in dl_list_add()
32 list->next->prev = item; in dl_list_add()
33 list->next = item; in dl_list_add()
36 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail() argument
38 dl_list_add(list->prev, item); in dl_list_add_tail()
[all …]
Dedit.c28 struct dl_list list; member
184 dl_list_for_each(h, &history_list, struct edit_history, list) { in history_add()
194 dl_list_del(&h->list); in history_add()
195 dl_list_add(&history_list, &h->list); in history_add()
201 dl_list_del(&last->list); in history_add()
209 dl_list_add(&history_list, &h->list); in history_add()
230 dl_list_first(&history_list, struct edit_history, list)) { in history_prev()
241 dl_list_last(&history_list, struct edit_history, list)) in history_prev()
244 history_curr = dl_list_entry(history_curr->list.next, in history_prev()
245 struct edit_history, list); in history_prev()
[all …]
Deloop_win.c33 struct dl_list list; member
273 dl_list_for_each(tmp, &eloop.timeout, struct eloop_timeout, list) { in eloop_register_timeout()
275 dl_list_add(tmp->list.prev, &timeout->list); in eloop_register_timeout()
279 dl_list_add_tail(&eloop.timeout, &timeout->list); in eloop_register_timeout()
287 dl_list_del(&timeout->list); in eloop_remove_timeout()
299 struct eloop_timeout, list) { in eloop_cancel_timeout()
326 struct eloop_timeout, list) { in eloop_cancel_timeout_one()
346 dl_list_for_each(tmp, &eloop.timeout, struct eloop_timeout, list) { in eloop_is_timeout_registered()
364 dl_list_for_each(tmp, &eloop.timeout, struct eloop_timeout, list) { in eloop_deplete_timeout()
396 dl_list_for_each(tmp, &eloop.timeout, struct eloop_timeout, list) { in eloop_replenish_timeout()
[all …]
/hostap-3.6.0/wpa_supplicant/dbus/
Ddbus_new_introspect.c21 struct dl_list list; member
27 static struct interfaces * add_interface(struct dl_list *list, in add_interface() argument
32 dl_list_for_each(iface, list, struct interfaces, list) { in add_interface()
49 dl_list_add_tail(list, &iface->list); in add_interface()
97 struct dl_list *list, const struct wpa_dbus_method_desc *methods) in extract_interfaces_methods() argument
103 iface = add_interface(list, dsc->dbus_interface); in extract_interfaces_methods()
112 struct dl_list *list, const struct wpa_dbus_signal_desc *signals) in extract_interfaces_signals() argument
118 iface = add_interface(list, dsc->dbus_interface); in extract_interfaces_signals()
127 struct dl_list *list, const struct wpa_dbus_property_desc *properties) in extract_interfaces_properties() argument
133 iface = add_interface(list, dsc->dbus_interface); in extract_interfaces_properties()
[all …]
/hostap-3.6.0/tests/
Dtest-list.c14 struct dl_list list; member
22 dl_list_for_each(t, head, struct test, list) in dump_list()
42 dl_list_add(&head, &t->list); in main()
51 dl_list_add_tail(&head, &t->list); in main()
56 dl_list_for_each(t, &head, struct test, list) in main()
60 dl_list_del(&t->list); in main()
61 dl_list_add(&head, &t->list); in main()
64 dl_list_for_each_safe(t, tmp, &head, struct test, list) { in main()
66 dl_list_del(&t->list); in main()
DMakefile5 test-sha256 test-aes test-x509v3 test-list test-rc4
60 test-list: $(call BUILDOBJ,test-list.o) $(LIBS)
87 ./test-list
/hostap-3.6.0/src/common/
Dgas_server.c25 struct dl_list list; member
37 struct dl_list list; member
74 dl_list_del(&response->list); in gas_server_response_timeout()
102 dl_list_del(&response->list); in gas_server_send_resp()
128 dl_list_del(&response->list); in gas_server_send_resp()
227 list) { in gas_server_rx_initial_req()
239 dl_list_add(&gas->responses, &response->list); in gas_server_rx_initial_req()
284 dl_list_del(&response->list); in gas_server_handle_rx_comeback_req()
318 dl_list_del(&response->list); in gas_server_handle_rx_comeback_req()
353 list) { in gas_server_rx_comeback_req()
[all …]
Dptksa_cache.c30 dl_list_del(&entry->list); in ptksa_cache_free_entry()
47 struct ptksa_cache_entry, list) { in ptksa_cache_expire()
72 e = dl_list_first(&ptksa->ptksa, struct ptksa_cache_entry, list); in ptksa_cache_set_expiration()
117 struct ptksa_cache_entry, list) in ptksa_cache_deinit()
140 dl_list_for_each(e, &ptksa->ptksa, struct ptksa_cache_entry, list) { in ptksa_cache_get()
178 dl_list_for_each(e, &ptksa->ptksa, struct ptksa_cache_entry, list) { in ptksa_cache_list()
237 list) { in ptksa_cache_flush()
289 dl_list_init(&entry->list); in ptksa_cache_add()
298 dl_list_for_each(tmp, &ptksa->ptksa, struct ptksa_cache_entry, list) { in ptksa_cache_add()
311 dl_list_add(&tmp2->list, &entry->list); in ptksa_cache_add()
[all …]
Dcli.c53 dl_list_del(&e->list); in cli_txt_list_free()
59 void cli_txt_list_flush(struct dl_list *list) in cli_txt_list_flush() argument
63 while ((e = dl_list_first(list, struct cli_txt_entry, list))) in cli_txt_list_flush()
73 dl_list_for_each(e, txt_list, struct cli_txt_entry, list) { in cli_txt_list_get()
135 dl_list_add(txt_list, &e->list); in cli_txt_list_add()
182 dl_list_for_each(e, txt_list, struct cli_txt_entry, list) { in cli_txt_list_array()
Dctrl_iface_common.c149 dl_list_for_each(dst, ctrl_dst, struct wpa_ctrl_dst, list) { in ctrl_iface_attach()
163 dl_list_add(ctrl_dst, &dst->list); in ctrl_iface_attach()
175 dl_list_for_each(dst, ctrl_dst, struct wpa_ctrl_dst, list) { in ctrl_iface_detach()
180 dl_list_del(&dst->list); in ctrl_iface_detach()
197 dl_list_for_each(dst, ctrl_dst, struct wpa_ctrl_dst, list) { in ctrl_iface_level()
/hostap-3.6.0/wlantest/
Dwlantest.c36 dl_list_del(&p->list); in passphrase_deinit()
43 dl_list_del(&r->list); in secret_deinit()
68 dl_list_del(&r->list); in radius_deinit()
75 dl_list_del(&ptk->list); in ptk_deinit()
82 dl_list_del(&wep->list); in wep_deinit()
102 struct wlantest_passphrase, list) in wlantest_deinit()
105 struct wlantest_radius_secret, list) in wlantest_deinit()
107 dl_list_for_each_safe(r, rn, &wt->radius, struct wlantest_radius, list) in wlantest_deinit()
109 dl_list_for_each_safe(pmk, np, &wt->pmk, struct wlantest_pmk, list) in wlantest_deinit()
111 dl_list_for_each_safe(ptk, npt, &wt->ptk, struct wlantest_ptk, list) in wlantest_deinit()
[all …]
Dbss.c23 dl_list_for_each(bss, &wt->bss, struct wlantest_bss, list) { in bss_find()
50 dl_list_add(&wt->bss, &bss->list); in bss_get()
59 dl_list_del(&pmk->list); in pmk_deinit()
66 dl_list_del(&tdls->list); in tdls_deinit()
76 dl_list_for_each_safe(sta, n, &bss->sta, struct wlantest_sta, list) in bss_deinit()
78 dl_list_for_each_safe(pmk, np, &bss->pmk, struct wlantest_pmk, list) in bss_deinit()
80 dl_list_for_each_safe(tdls, nt, &bss->tdls, struct wlantest_tdls, list) in bss_deinit()
82 dl_list_del(&bss->list); in bss_deinit()
106 dl_list_add(&bss->pmk, &pmk->list); in bss_add_pmk_from_passphrase()
116 dl_list_for_each(p, &wt->passphrase, struct wlantest_passphrase, list) in bss_add_pmk()
[all …]
Dwlantest.h24 struct dl_list list; member
29 struct dl_list list; member
37 struct dl_list list; member
43 struct dl_list list; member
49 struct dl_list list; member
55 struct dl_list list; member
120 struct dl_list list; member
137 struct dl_list list; member
177 struct dl_list list; member
/hostap-3.6.0/src/wps/
Dwps_upnp.c298 dl_list_for_each_safe(a, tmp, &s->addr_list, struct subscr_addr, list) in subscr_addr_free_all()
300 dl_list_del(&a->list); in subscr_addr_free_all()
428 dl_list_add(&s->addr_list, &a->list); in subscr_addr_add_url()
542 list) { in upnp_wps_device_send_event()
568 struct upnp_wps_device_interface, list) in subscription_destroy()
579 struct subscription, list) { in subscription_list_age()
583 dl_list_del(&s->list); in subscription_list_age()
596 dl_list_for_each(s, &sm->subscriptions, struct subscription, list) { in subscription_find()
728 list); in subscription_start()
732 dl_list_del(&s->list); in subscription_start()
[all …]
Dwps_upnp_event.c49 struct dl_list list; member
89 e = dl_list_first(&s->event_queue, struct wps_event_, list); in event_dequeue()
93 dl_list_del(&e->list); in event_dequeue()
140 dl_list_add(&s->event_queue, &e->list); in event_retry()
195 dl_list_del(&e->addr->list); in event_addr_failure()
203 dl_list_del(&s->list); in event_addr_failure()
289 dl_list_for_each(e->addr, &s->addr_list, struct subscr_addr, list) in event_send_start()
322 list) { in event_send_all_later_handler()
408 dl_list_init(&e->list); in wps_upnp_event_add()
420 dl_list_add_tail(&s->event_queue, &e->list); in wps_upnp_event_add()
Dwps_upnp_i.h52 struct dl_list list; member
66 struct dl_list list; member
80 struct dl_list list; member
107 struct dl_list list; member
Dwps_upnp_web.c319 struct upnp_wps_device_interface, list); in web_connection_parse_get()
415 dl_list_del(&peer->list); in wps_upnp_peer_del()
432 struct upnp_wps_device_interface, list); in web_process_get_device_info()
474 old = dl_list_first(&iface->peers, struct upnp_wps_peer, list); in web_process_get_device_info()
480 dl_list_add_tail(&iface->peers, &peer->list); in web_process_get_device_info()
502 struct upnp_wps_device_interface, list); in web_process_put_message()
525 dl_list_for_each(tmp, &iface->peers, struct upnp_wps_peer, list) { in web_process_put_message()
549 peer = dl_list_first(&iface->peers, struct upnp_wps_peer, list); in web_process_put_message()
654 struct upnp_wps_device_interface, list) { in web_process_put_wlan_response()
679 dl_list_for_each(a, &s->addr_list, struct subscr_addr, list) { in find_er_addr()
[all …]
/hostap-3.6.0/src/ap/
Deth_p_oui.c25 struct dl_list list; member
32 struct dl_list list; member
74 struct eth_p_oui_ctx, list) { in eth_p_rx()
107 list) { in eth_p_oui_register()
128 dl_list_add_tail(&interfaces->eth_p_oui, &iface->list); in eth_p_oui_register()
131 dl_list_add_tail(&iface->receiver, &receiver->list); in eth_p_oui_register()
150 dl_list_del(&ctx->list); in eth_p_oui_unregister()
154 dl_list_del(&iface->list); in eth_p_oui_unregister()
/hostap-3.6.0/src/rsn_supp/
Dpreauth.c27 struct dl_list list; member
45 struct rsn_pmksa_candidate, list) { in pmksa_candidate_free()
46 dl_list_del(&entry->list); in pmksa_candidate_free()
330 struct rsn_pmksa_candidate, list) { in rsn_preauth_candidate_process()
339 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
356 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
394 struct rsn_pmksa_candidate, list) { in pmksa_candidate_add()
402 dl_list_del(&cand->list); in pmksa_candidate_add()
416 struct rsn_pmksa_candidate, list) { in pmksa_candidate_add()
418 if (!pos->list.prev) { in pmksa_candidate_add()
[all …]
/hostap-3.6.0/wpadebug/src/w1/fi/wpadebug/
DWpaCommandListActivity.java35 private void read_commands(ArrayList<CmdList> list, Scanner in) in read_commands() argument
41 list.add(new CmdList(title, cmd)); in read_commands()
51 ArrayList<CmdList> list = new ArrayList<CmdList>(); in onCreate() local
56 read_commands(list, new Scanner(in)); in onCreate()
65 read_commands(list, new Scanner(inres)); in onCreate()
72 listAdapter = new ArrayAdapter<CmdList>(this, android.R.layout.simple_list_item_1, list); in onCreate()
DCommandListActivity.java53 private void read_commands(ArrayList<CmdList> list, Scanner in) in read_commands() argument
59 list.add(new CmdList(title, cmd)); in read_commands()
69 ArrayList<CmdList> list = new ArrayList<CmdList>(); in onCreate() local
74 read_commands(list, new Scanner(in)); in onCreate()
83 read_commands(list, new Scanner(inres)); in onCreate()
90 listAdapter = new ArrayAdapter<CmdList>(this, android.R.layout.simple_list_item_1, list); in onCreate()
/hostap-3.6.0/src/pae/
Dieee802_1x_kay.c294 struct ieee802_1x_mka_participant, list) { in ieee802_1x_kay_get_participant()
316 struct ieee802_1x_mka_participant, list) { in ieee802_1x_kay_get_principal_participant()
331 dl_list_for_each(peer, peers, struct ieee802_1x_kay_peer, list) { in get_peer_mi()
454 struct ieee802_1x_kay_peer, list) { in ieee802_1x_kay_get_peer_sci()
460 struct ieee802_1x_kay_peer, list) { in ieee802_1x_kay_get_peer_sci()
499 dl_list_add(&psc->sa_list, &psa->list); in ieee802_1x_kay_init_receive_sa()
520 dl_list_del(&psa->list); in ieee802_1x_kay_deinit_receive_sa()
575 list) in ieee802_1x_kay_deinit_receive_sc()
578 dl_list_del(&psc->list); in ieee802_1x_kay_deinit_receive_sc()
640 dl_list_add(&participant->live_peers, &peer->list); in ieee802_1x_kay_create_live_peer()
[all …]
/hostap-3.6.0/tests/hwsim/
Drfkill.py24 TYPE_NFC) = list(range(9))
29 _OP_CHANGE_ALL) = list(range(4))
66 for r, s, h in RFKill.list():
78 l = RFKill.list()
127 def list(cls): member in RFKill
149 for r, s, h in RFKill.list():
Dtest_ap_ft.py1469 params = dict(list(radius.items()) + list(params.items()))
1481 params = dict(list(radius.items()) + list(params.items()))
1575 params = dict(list(radius.items()) + list(params.items()))
1586 params = dict(list(radius.items()) + list(params.items()))
1618 params = dict(list(radius.items()) + list(params.items()))
1628 params = dict(list(radius.items()) + list(params.items()))
1648 params = dict(list(radius.items()) + list(params.items()))
1680 params = dict(list(radius.items()) + list(params.items()))
1816 params = dict(list(radius.items()) + list(params.items()))
1822 params = dict(list(radius.items()) + list(params.items()))
[all …]
/hostap-3.6.0/wpa_supplicant/
Dctrl_iface_unix.c54 struct dl_list list; member
320 list); in wpas_ctrl_msg_send_pending_global()
323 dl_list_del(&msg->list); in wpas_ctrl_msg_send_pending_global()
344 list); in wpas_ctrl_msg_send_pending_iface()
347 dl_list_del(&msg->list); in wpas_ctrl_msg_send_pending_iface()
402 dl_list_add_tail(queue, &msg->list); in wpas_ctrl_msg_queue()
416 msg = dl_list_first(queue, struct ctrl_iface_msg, list); in wpas_ctrl_msg_queue_limit()
419 dl_list_del(&msg->list); in wpas_ctrl_msg_queue_limit()
816 struct ctrl_iface_msg, list) { in wpas_global_ctrl_iface_flush_queued_msg()
819 dl_list_del(&msg->list); in wpas_global_ctrl_iface_flush_queued_msg()
[all …]

1234567