Home
last modified time | relevance | path

Searched refs:multicast_sd (Results 1 – 6 of 6) sorted by relevance

/hostap-3.7.0/src/wps/
Dwps_er_ssdp.c47 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()
Dwps_upnp_ssdp.c231 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()
Dwps_upnp.c1031 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()
Dwps_er.h83 int multicast_sd; member
Dwps_upnp_i.h132 int multicast_sd; /* send multicast messages over this socket */ member
Dwps_er.c1261 er->multicast_sd = -1; in wps_er_init()