/external/wpa_supplicant_8/src/common/ |
D | ctrl_iface_common.c | 143 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()
|
D | ctrl_iface_common.h | 35 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/ |
D | ctrl_iface_unix.c | 37 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 …]
|
D | ctrl_iface_named_pipe.c | 77 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 …]
|
D | ctrl_iface_udp.c | 47 struct wpa_ctrl_dst *ctrl_dst; member 53 struct wpa_ctrl_dst *ctrl_dst; member 170 dst = priv->ctrl_dst; 305 if (wpa_supplicant_ctrl_iface_attach(&priv->ctrl_dst, 313 if (wpa_supplicant_ctrl_iface_detach(&priv->ctrl_dst, 359 if (priv->ctrl_dst) { 364 priv->sock, &priv->ctrl_dst, level, txt, len); 372 &wpa_s->ctrl_iface->ctrl_dst, 480 if (priv->ctrl_dst) { 494 wpas_ctrl_iface_free_dst(priv->ctrl_dst); [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 86 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() 3513 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init() 3589 dl_list_init(&hapd->ctrl_dst); in hostapd_ctrl_iface_init() 3768 dl_list_for_each_safe(dst, prev, &hapd->ctrl_dst, struct wpa_ctrl_dst, in hostapd_ctrl_iface_deinit() 4523 struct dl_list *ctrl_dst; in hostapd_ctrl_iface_send() local 4532 ctrl_dst = &hapd->ctrl_dst; in hostapd_ctrl_iface_send() 4535 ctrl_dst = &hapd->iface->interfaces->global_ctrl_dst; in hostapd_ctrl_iface_send() 4538 if (s < 0 || dl_list_empty(ctrl_dst)) in hostapd_ctrl_iface_send() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | hostapd.h | 192 struct dl_list ctrl_dst; member
|
D | hostapd.c | 2163 dl_list_init(&hapd->ctrl_dst); in hostapd_alloc_bss_data()
|