Home
last modified time | relevance | path

Searched refs:ctrl_dst (Results 1 – 16 of 16) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dctrl_iface_common.c143 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_attach() argument
149 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()
170 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_detach() argument
175 dl_list_for_each(dst, ctrl_dst, struct wpa_ctrl_dst, list) { in ctrl_iface_detach()
190 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_level() argument
197 dl_list_for_each(dst, ctrl_dst, struct wpa_ctrl_dst, list) { in ctrl_iface_level()
Dctrl_iface_common.h35 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
37 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
39 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dctrl_iface_common.c143 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_attach() argument
149 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()
170 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_detach() argument
175 dl_list_for_each(dst, ctrl_dst, struct wpa_ctrl_dst, list) { in ctrl_iface_detach()
190 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_level() argument
197 dl_list_for_each(dst, ctrl_dst, struct wpa_ctrl_dst, list) { in ctrl_iface_level()
Dctrl_iface_common.h35 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
37 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
39 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface_unix.c37 struct dl_list ctrl_dst; member
47 struct dl_list ctrl_dst; member
65 struct dl_list *ctrl_dst,
102 static int wpa_supplicant_ctrl_iface_attach(struct dl_list *ctrl_dst, in wpa_supplicant_ctrl_iface_attach() argument
106 return ctrl_iface_attach(ctrl_dst, from, fromlen, NULL); in wpa_supplicant_ctrl_iface_attach()
110 static int wpa_supplicant_ctrl_iface_detach(struct dl_list *ctrl_dst, in wpa_supplicant_ctrl_iface_detach() argument
114 return ctrl_iface_detach(ctrl_dst, from, fromlen); in wpa_supplicant_ctrl_iface_detach()
125 return ctrl_iface_level(&priv->ctrl_dst, from, fromlen, level); in wpa_supplicant_ctrl_iface_level()
161 if (wpa_supplicant_ctrl_iface_attach(&priv->ctrl_dst, &from, in wpa_supplicant_ctrl_iface_receive()
169 if (wpa_supplicant_ctrl_iface_detach(&priv->ctrl_dst, &from, in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface_named_pipe.c77 struct wpa_ctrl_dst *ctrl_dst; member
118 dst = priv->ctrl_dst; in ctrl_flush_broken_pipes()
209 dst->next = priv->ctrl_dst; in ctrl_open_pipe()
212 priv->ctrl_dst = dst; in ctrl_open_pipe()
245 dst->priv->ctrl_dst = dst->next; in ctrl_close_pipe()
470 while (priv->ctrl_dst) in wpa_supplicant_ctrl_iface_deinit()
471 ctrl_close_pipe(priv->ctrl_dst); in wpa_supplicant_ctrl_iface_deinit()
489 dst = priv->ctrl_dst; in wpa_supplicant_ctrl_iface_send()
531 if (priv->ctrl_dst == NULL) in wpa_supplicant_ctrl_iface_wait()
533 WaitForSingleObject(priv->ctrl_dst->pipe, INFINITE); in wpa_supplicant_ctrl_iface_wait()
[all …]
Dctrl_iface_udp.c47 struct wpa_ctrl_dst *ctrl_dst; member
53 struct wpa_ctrl_dst *ctrl_dst; member
170 dst = priv->ctrl_dst;
320 if (wpa_supplicant_ctrl_iface_attach(&priv->ctrl_dst,
328 if (wpa_supplicant_ctrl_iface_detach(&priv->ctrl_dst,
376 if (priv->ctrl_dst) {
381 priv->sock, &priv->ctrl_dst, level, txt, len);
389 &wpa_s->ctrl_iface->ctrl_dst,
501 if (priv->ctrl_dst) {
515 wpas_ctrl_iface_free_dst(priv->ctrl_dst);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface_unix.c37 struct dl_list ctrl_dst; member
47 struct dl_list ctrl_dst; member
65 struct dl_list *ctrl_dst,
102 static int wpa_supplicant_ctrl_iface_attach(struct dl_list *ctrl_dst, in wpa_supplicant_ctrl_iface_attach() argument
106 return ctrl_iface_attach(ctrl_dst, from, fromlen, NULL); in wpa_supplicant_ctrl_iface_attach()
110 static int wpa_supplicant_ctrl_iface_detach(struct dl_list *ctrl_dst, in wpa_supplicant_ctrl_iface_detach() argument
114 return ctrl_iface_detach(ctrl_dst, from, fromlen); in wpa_supplicant_ctrl_iface_detach()
125 return ctrl_iface_level(&priv->ctrl_dst, from, fromlen, level); in wpa_supplicant_ctrl_iface_level()
152 if (wpa_supplicant_ctrl_iface_attach(&priv->ctrl_dst, &from, in wpa_supplicant_ctrl_iface_receive()
160 if (wpa_supplicant_ctrl_iface_detach(&priv->ctrl_dst, &from, in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface_named_pipe.c77 struct wpa_ctrl_dst *ctrl_dst; member
118 dst = priv->ctrl_dst; in ctrl_flush_broken_pipes()
209 dst->next = priv->ctrl_dst; in ctrl_open_pipe()
212 priv->ctrl_dst = dst; in ctrl_open_pipe()
245 dst->priv->ctrl_dst = dst->next; in ctrl_close_pipe()
467 while (priv->ctrl_dst) in wpa_supplicant_ctrl_iface_deinit()
468 ctrl_close_pipe(priv->ctrl_dst); in wpa_supplicant_ctrl_iface_deinit()
486 dst = priv->ctrl_dst; in wpa_supplicant_ctrl_iface_send()
528 if (priv->ctrl_dst == NULL) in wpa_supplicant_ctrl_iface_wait()
530 WaitForSingleObject(priv->ctrl_dst->pipe, INFINITE); in wpa_supplicant_ctrl_iface_wait()
[all …]
Dctrl_iface_udp.c47 struct wpa_ctrl_dst *ctrl_dst; member
53 struct wpa_ctrl_dst *ctrl_dst; member
170 dst = priv->ctrl_dst;
306 if (wpa_supplicant_ctrl_iface_attach(&priv->ctrl_dst,
314 if (wpa_supplicant_ctrl_iface_detach(&priv->ctrl_dst,
360 if (priv->ctrl_dst) {
365 priv->sock, &priv->ctrl_dst, level, txt, len);
373 &wpa_s->ctrl_iface->ctrl_dst,
481 if (priv->ctrl_dst) {
495 wpas_ctrl_iface_free_dst(priv->ctrl_dst);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c86 return ctrl_iface_attach(&hapd->ctrl_dst, from, fromlen, input); in hostapd_ctrl_iface_attach()
94 return ctrl_iface_detach(&hapd->ctrl_dst, from, fromlen); in hostapd_ctrl_iface_detach()
103 return ctrl_iface_level(&hapd->ctrl_dst, from, fromlen, level); in hostapd_ctrl_iface_level()
3536 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init()
3612 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init()
3791 dl_list_for_each_safe(dst, prev, &hapd->ctrl_dst, struct wpa_ctrl_dst, in hostapd_ctrl_iface_deinit()
4560 struct dl_list *ctrl_dst; in hostapd_ctrl_iface_send() local
4569 ctrl_dst = &hapd->ctrl_dst; in hostapd_ctrl_iface_send()
4572 ctrl_dst = &hapd->iface->interfaces->global_ctrl_dst; in hostapd_ctrl_iface_send()
4575 if (s < 0 || dl_list_empty(ctrl_dst)) in hostapd_ctrl_iface_send()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c90 return ctrl_iface_attach(&hapd->ctrl_dst, from, fromlen, input); in hostapd_ctrl_iface_attach()
98 return ctrl_iface_detach(&hapd->ctrl_dst, from, fromlen); in hostapd_ctrl_iface_detach()
107 return ctrl_iface_level(&hapd->ctrl_dst, from, fromlen, level); in hostapd_ctrl_iface_level()
4181 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init()
4257 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init()
4436 dl_list_for_each_safe(dst, prev, &hapd->ctrl_dst, struct wpa_ctrl_dst, in hostapd_ctrl_iface_deinit()
5213 static void hostapd_ctrl_iface_send_internal(int sock, struct dl_list *ctrl_dst, in hostapd_ctrl_iface_send_internal() argument
5223 if (sock < 0 || dl_list_empty(ctrl_dst)) in hostapd_ctrl_iface_send_internal()
5252 dl_list_for_each_safe(dst, next, ctrl_dst, struct wpa_ctrl_dst, list) { in hostapd_ctrl_iface_send_internal()
5266 ctrl_iface_detach(ctrl_dst, in hostapd_ctrl_iface_send_internal()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhostapd.h196 struct dl_list ctrl_dst; member
Dhostapd.c2232 dl_list_init(&hapd->ctrl_dst); in hostapd_alloc_bss_data()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhostapd.h206 struct dl_list ctrl_dst; member
Dhostapd.c2379 dl_list_init(&hapd->ctrl_dst); in hostapd_alloc_bss_data()