Searched refs:ssdp_sd (Results 1 – 12 of 12) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_er_ssdp.c | 176 er->ssdp_sd = ssdp_listener_open(); in wps_er_ssdp_init() 177 if (er->ssdp_sd < 0) { in wps_er_ssdp_init() 185 eloop_register_sock(er->ssdp_sd, EVENT_TYPE_READ, in wps_er_ssdp_init() 201 if (er->ssdp_sd >= 0) { in wps_er_ssdp_deinit() 202 eloop_unregister_sock(er->ssdp_sd, EVENT_TYPE_READ); in wps_er_ssdp_deinit() 203 close(er->ssdp_sd); in wps_er_ssdp_deinit()
|
D | wps_upnp_ssdp.c | 671 eloop_unregister_sock(sm->ssdp_sd, EVENT_TYPE_READ); in ssdp_listener_stop() 675 if (sm->ssdp_sd != -1) { in ssdp_listener_stop() 676 close(sm->ssdp_sd); in ssdp_listener_stop() 677 sm->ssdp_sd = -1; in ssdp_listener_stop() 694 nread = recvfrom(sm->ssdp_sd, buf, sizeof(buf) - 1, 0, in ssdp_listener_handler() 774 sm->ssdp_sd = ssdp_listener_open(); in ssdp_listener_start() 776 if (eloop_register_sock(sm->ssdp_sd, EVENT_TYPE_READ, in ssdp_listener_start()
|
D | wps_er.h | 84 int ssdp_sd; member
|
D | wps_upnp_i.h | 132 int ssdp_sd; /* receive discovery UPD packets on socket */ member
|
D | wps_upnp.c | 1018 sm->ssdp_sd = -1; in upnp_wps_device_start()
|
D | wps_er.c | 1262 er->ssdp_sd = -1; in wps_er_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_er_ssdp.c | 176 er->ssdp_sd = ssdp_listener_open(); in wps_er_ssdp_init() 177 if (er->ssdp_sd < 0) { in wps_er_ssdp_init() 185 eloop_register_sock(er->ssdp_sd, EVENT_TYPE_READ, in wps_er_ssdp_init() 201 if (er->ssdp_sd >= 0) { in wps_er_ssdp_deinit() 202 eloop_unregister_sock(er->ssdp_sd, EVENT_TYPE_READ); in wps_er_ssdp_deinit() 203 close(er->ssdp_sd); in wps_er_ssdp_deinit()
|
D | wps_upnp_ssdp.c | 671 eloop_unregister_sock(sm->ssdp_sd, EVENT_TYPE_READ); in ssdp_listener_stop() 675 if (sm->ssdp_sd != -1) { in ssdp_listener_stop() 676 close(sm->ssdp_sd); in ssdp_listener_stop() 677 sm->ssdp_sd = -1; in ssdp_listener_stop() 694 nread = recvfrom(sm->ssdp_sd, buf, sizeof(buf) - 1, 0, in ssdp_listener_handler() 774 sm->ssdp_sd = ssdp_listener_open(); in ssdp_listener_start() 776 if (eloop_register_sock(sm->ssdp_sd, EVENT_TYPE_READ, in ssdp_listener_start()
|
D | wps_er.h | 84 int ssdp_sd; member
|
D | wps_upnp_i.h | 133 int ssdp_sd; /* receive discovery UPD packets on socket */ member
|
D | wps_upnp.c | 1054 sm->ssdp_sd = -1; in upnp_wps_device_start()
|
D | wps_er.c | 1262 er->ssdp_sd = -1; in wps_er_init()
|