Home
last modified time | relevance | path

Searched refs:ssdp_sd (Results 1 – 9 of 9) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_er_ssdp.c176 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()
Dwps_upnp_ssdp.c673 eloop_unregister_sock(sm->ssdp_sd, EVENT_TYPE_READ); in ssdp_listener_stop()
677 if (sm->ssdp_sd != -1) { in ssdp_listener_stop()
678 close(sm->ssdp_sd); in ssdp_listener_stop()
679 sm->ssdp_sd = -1; in ssdp_listener_stop()
696 nread = recvfrom(sm->ssdp_sd, buf, sizeof(buf) - 1, 0, in ssdp_listener_handler()
779 sm->ssdp_sd = ssdp_listener_open(); in ssdp_listener_start()
781 if (eloop_register_sock(sm->ssdp_sd, EVENT_TYPE_READ, in ssdp_listener_start()
Dwps_er.h83 int ssdp_sd; member
Dwps_upnp_i.h133 int ssdp_sd; /* receive discovery UPD packets on socket */ member
Dwps_upnp.c1019 sm->ssdp_sd = -1; in upnp_wps_device_start()
Dwps_er.c1280 er->ssdp_sd = -1; in wps_er_init()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp_ssdp.c697 eloop_unregister_sock(sm->ssdp_sd, EVENT_TYPE_READ); in ssdp_listener_stop()
701 if (sm->ssdp_sd != -1) { in ssdp_listener_stop()
702 close(sm->ssdp_sd); in ssdp_listener_stop()
703 sm->ssdp_sd = -1; in ssdp_listener_stop()
720 nread = recvfrom(sm->ssdp_sd, buf, sizeof(buf) - 1, 0, in ssdp_listener_handler()
769 sm->ssdp_sd = sd = socket(AF_INET, SOCK_DGRAM, 0); in ssdp_listener_start()
Dwps_upnp_i.h137 int ssdp_sd; /* receive discovery UPD packets on socket */ member
Dwps_upnp.c1045 sm->ssdp_sd = -1; in upnp_wps_device_start()