Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/wps/
Dwps_er_ssdp.c47 if (sd == er->multicast_sd) { in wps_er_ssdp_rx()
152 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in wps_er_send_ssdp_msearch()
169 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.c236 if (!send_byebye || sm->multicast_sd < 0) in advertisement_state_machine_stop()
251 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), in advertisement_state_machine_stop()
296 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in advertisement_state_machine_handler()
412 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in msearchreply_state_machine_handler()
922 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr); in ssdp_open_multicast()
923 if (sm->multicast_sd < 0) in ssdp_open_multicast()
Dwps_er.h82 int multicast_sd; member
Dwps_upnp.c995 if (sm->multicast_sd >= 0) in upnp_wps_device_stop()
996 close(sm->multicast_sd); in upnp_wps_device_stop()
997 sm->multicast_sd = -1; in upnp_wps_device_stop()
1018 sm->multicast_sd = -1; in upnp_wps_device_start()
Dwps_upnp_i.h132 int multicast_sd; /* send multicast messages over this socket */ member
Dwps_er.c1279 er->multicast_sd = -1; in wps_er_init()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp_ssdp.c243 if (!send_byebye || sm->multicast_sd < 0) in advertisement_state_machine_stop()
259 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), in advertisement_state_machine_stop()
304 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in advertisement_state_machine_handler()
434 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0, in msearchreply_state_machine_handler()
879 sm->multicast_sd = sd = socket(AF_INET, SOCK_DGRAM, 0); in ssdp_open_multicast()
Dwps_upnp.c1020 if (sm->multicast_sd >= 0) in upnp_wps_device_stop()
1021 close(sm->multicast_sd); in upnp_wps_device_stop()
1022 sm->multicast_sd = -1; in upnp_wps_device_stop()
1044 sm->multicast_sd = -1; in upnp_wps_device_start()
Dwps_upnp_i.h136 int multicast_sd; /* send multicast messages over this socket */ member