Searched refs:multicast_sd (Results 1 - 21 of 21) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_er_ssdp.c47 if (sd == er->multicast_sd) {
152 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
169 er->multicast_sd = ssdp_open_multicast_sock(er->ip_addr);
170 if (er->multicast_sd < 0) {
183 if (eloop_register_sock(er->multicast_sd, EVENT_TYPE_READ,
197 if (er->multicast_sd >= 0) {
198 eloop_unregister_sock(er->multicast_sd, EVENT_TYPE_READ);
199 close(er->multicast_sd);
H A Dwps_er.h82 int multicast_sd; member in struct:wps_er
H A Dwps_upnp_ssdp.c236 if (!send_byebye || sm->multicast_sd < 0)
251 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
296 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
412 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
886 #if 0 /* not needed, because we don't receive using multicast_sd */
922 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr);
923 if (sm->multicast_sd < 0)
H A Dwps_upnp_i.h132 int multicast_sd; /* send multicast messages over this socket */ member in struct:upnp_wps_device_sm
H A Dwps_upnp.c995 if (sm->multicast_sd >= 0)
996 close(sm->multicast_sd);
997 sm->multicast_sd = -1;
1018 sm->multicast_sd = -1;
H A Dwps_er.c1279 er->multicast_sd = -1;
/external/wpa_supplicant_8/src/wps/
H A Dwps_er_ssdp.c47 if (sd == er->multicast_sd) {
152 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
169 er->multicast_sd = ssdp_open_multicast_sock(er->ip_addr);
170 if (er->multicast_sd < 0) {
183 if (eloop_register_sock(er->multicast_sd, EVENT_TYPE_READ,
197 if (er->multicast_sd >= 0) {
198 eloop_unregister_sock(er->multicast_sd, EVENT_TYPE_READ);
199 close(er->multicast_sd);
H A Dwps_er.h82 int multicast_sd; member in struct:wps_er
H A Dwps_upnp_ssdp.c236 if (!send_byebye || sm->multicast_sd < 0)
251 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
296 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
412 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
886 #if 0 /* not needed, because we don't receive using multicast_sd */
922 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr);
923 if (sm->multicast_sd < 0)
H A Dwps_upnp_i.h132 int multicast_sd; /* send multicast messages over this socket */ member in struct:upnp_wps_device_sm
H A Dwps_upnp.c995 if (sm->multicast_sd >= 0)
996 close(sm->multicast_sd);
997 sm->multicast_sd = -1;
1018 sm->multicast_sd = -1;
H A Dwps_er.c1279 er->multicast_sd = -1;
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_er_ssdp.c47 if (sd == er->multicast_sd) {
152 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
169 er->multicast_sd = ssdp_open_multicast_sock(er->ip_addr);
170 if (er->multicast_sd < 0) {
183 if (eloop_register_sock(er->multicast_sd, EVENT_TYPE_READ,
197 if (er->multicast_sd >= 0) {
198 eloop_unregister_sock(er->multicast_sd, EVENT_TYPE_READ);
199 close(er->multicast_sd);
H A Dwps_er.h82 int multicast_sd; member in struct:wps_er
H A Dwps_upnp_ssdp.c236 if (!send_byebye || sm->multicast_sd < 0)
251 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
296 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
412 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
886 #if 0 /* not needed, because we don't receive using multicast_sd */
922 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr);
923 if (sm->multicast_sd < 0)
H A Dwps_upnp_i.h132 int multicast_sd; /* send multicast messages over this socket */ member in struct:upnp_wps_device_sm
H A Dwps_upnp.c995 if (sm->multicast_sd >= 0)
996 close(sm->multicast_sd);
997 sm->multicast_sd = -1;
1018 sm->multicast_sd = -1;
H A Dwps_er.c1279 er->multicast_sd = -1;
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
H A Dwps_upnp_i.h136 int multicast_sd; /* send multicast messages over this socket */ member in struct:upnp_wps_device_sm
H A Dwps_upnp_ssdp.c243 if (!send_byebye || sm->multicast_sd < 0)
259 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
304 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
434 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
879 sm->multicast_sd = sd = socket(AF_INET, SOCK_DGRAM, 0);
895 #if 0 /* not needed, because we don't receive using multicast_sd */
H A Dwps_upnp.c1020 if (sm->multicast_sd >= 0)
1021 close(sm->multicast_sd);
1022 sm->multicast_sd = -1;
1044 sm->multicast_sd = -1;

Completed in 544 milliseconds