Searched refs:multicast_sd (Results 1 - 18 of 18) 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,
172 if (er->multicast_sd < 0) {
185 if (eloop_register_sock(er->multicast_sd, EVENT_TYPE_READ,
199 if (er->multicast_sd >= 0) {
200 eloop_unregister_sock(er->multicast_sd, EVENT_TYPE_READ);
201 close(er->multicast_sd);
H A Dwps_er.h83 int multicast_sd; member in struct:wps_er
H A Dwps_upnp_ssdp.c241 if (!send_byebye || sm->multicast_sd < 0)
256 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
301 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
417 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
913 #if 0 /* not needed, because we don't receive using multicast_sd */
950 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL);
951 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.c984 if (sm->multicast_sd >= 0)
985 close(sm->multicast_sd);
986 sm->multicast_sd = -1;
1006 sm->multicast_sd = -1;
H A Dwps_er.c1262 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,
172 if (er->multicast_sd < 0) {
185 if (eloop_register_sock(er->multicast_sd, EVENT_TYPE_READ,
199 if (er->multicast_sd >= 0) {
200 eloop_unregister_sock(er->multicast_sd, EVENT_TYPE_READ);
201 close(er->multicast_sd);
H A Dwps_er.h83 int multicast_sd; member in struct:wps_er
H A Dwps_upnp_ssdp.c241 if (!send_byebye || sm->multicast_sd < 0)
256 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
301 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
417 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
913 #if 0 /* not needed, because we don't receive using multicast_sd */
950 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL);
951 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.c984 if (sm->multicast_sd >= 0)
985 close(sm->multicast_sd);
986 sm->multicast_sd = -1;
1006 sm->multicast_sd = -1;
H A Dwps_er.c1262 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,
172 if (er->multicast_sd < 0) {
185 if (eloop_register_sock(er->multicast_sd, EVENT_TYPE_READ,
199 if (er->multicast_sd >= 0) {
200 eloop_unregister_sock(er->multicast_sd, EVENT_TYPE_READ);
201 close(er->multicast_sd);
H A Dwps_er.h83 int multicast_sd; member in struct:wps_er
H A Dwps_upnp_ssdp.c241 if (!send_byebye || sm->multicast_sd < 0)
256 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
301 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
417 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
913 #if 0 /* not needed, because we don't receive using multicast_sd */
950 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL);
951 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.c984 if (sm->multicast_sd >= 0)
985 close(sm->multicast_sd);
986 sm->multicast_sd = -1;
1006 sm->multicast_sd = -1;
H A Dwps_er.c1262 er->multicast_sd = -1;

Completed in 511 milliseconds