Searched refs:multicast_sd (Results 1 – 6 of 6) sorted by relevance
/hostap-3.7.0/src/wps/ |
D | wps_er_ssdp.c | 47 if (sd == er->multicast_sd) { in wps_er_ssdp_rx() 150 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in wps_er_send_ssdp_msearch() 167 er->multicast_sd = ssdp_open_multicast_sock(er->ip_addr, in wps_er_ssdp_init() 170 if (er->multicast_sd < 0) { in wps_er_ssdp_init() 183 if (eloop_register_sock(er->multicast_sd, EVENT_TYPE_READ, in wps_er_ssdp_init() 197 if (er->multicast_sd >= 0) { in wps_er_ssdp_deinit() 198 eloop_unregister_sock(er->multicast_sd, EVENT_TYPE_READ); in wps_er_ssdp_deinit() 199 close(er->multicast_sd); in wps_er_ssdp_deinit()
|
D | wps_upnp_ssdp.c | 231 if (!send_byebye || sm->multicast_sd < 0) in advertisement_state_machine_stop() 246 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), in advertisement_state_machine_stop() 291 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in advertisement_state_machine_handler() 408 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in msearchreply_state_machine_handler() 938 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL); in ssdp_open_multicast() 939 if (sm->multicast_sd < 0) in ssdp_open_multicast()
|
D | wps_upnp.c | 1031 if (sm->multicast_sd >= 0) in upnp_wps_device_stop() 1032 close(sm->multicast_sd); in upnp_wps_device_stop() 1033 sm->multicast_sd = -1; in upnp_wps_device_stop() 1053 sm->multicast_sd = -1; in upnp_wps_device_start()
|
D | wps_er.h | 83 int multicast_sd; member
|
D | wps_upnp_i.h | 132 int multicast_sd; /* send multicast messages over this socket */ member
|
D | wps_er.c | 1261 er->multicast_sd = -1; in wps_er_init()
|