Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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,
/external/wpa_supplicant_8/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 …]
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c91 return ctrl_iface_attach(&hapd->ctrl_dst, from, fromlen, input); in hostapd_ctrl_iface_attach()
99 return ctrl_iface_detach(&hapd->ctrl_dst, from, fromlen); in hostapd_ctrl_iface_detach()
108 return ctrl_iface_level(&hapd->ctrl_dst, from, fromlen, level); in hostapd_ctrl_iface_level()
4000 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init()
4076 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init()
4255 dl_list_for_each_safe(dst, prev, &hapd->ctrl_dst, struct wpa_ctrl_dst, in hostapd_ctrl_iface_deinit()
5031 static void hostapd_ctrl_iface_send_internal(int sock, struct dl_list *ctrl_dst, in hostapd_ctrl_iface_send_internal() argument
5041 if (sock < 0 || dl_list_empty(ctrl_dst)) in hostapd_ctrl_iface_send_internal()
5070 dl_list_for_each_safe(dst, next, ctrl_dst, struct wpa_ctrl_dst, list) { in hostapd_ctrl_iface_send_internal()
5084 ctrl_iface_detach(ctrl_dst, in hostapd_ctrl_iface_send_internal()
[all …]
/external/wpa_supplicant_8/src/ap/
Dhostapd.h218 struct dl_list ctrl_dst; member
Dhostapd.c2494 dl_list_init(&hapd->ctrl_dst); in hostapd_alloc_bss_data()