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

/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_er_ssdp.c47 if (sd == er->multicast_sd) {
150 if (sendto(er->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
167 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.h83 int multicast_sd; member in struct:wps_er
H A Dwps_upnp_ssdp.c231 if (!send_byebye || sm->multicast_sd < 0)
246 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg),
291 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
408 if (sendto(sm->multicast_sd, wpabuf_head(msg), wpabuf_len(msg), 0,
901 #if 0 /* not needed, because we don't receive using multicast_sd */
938 sm->multicast_sd = ssdp_open_multicast_sock(sm->ip_addr, NULL);
939 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.c1034 if (sm->multicast_sd >= 0)
1035 close(sm->multicast_sd);
1036 sm->multicast_sd = -1;
1056 sm->multicast_sd = -1;
H A Dwps_er.c1261 er->multicast_sd = -1;

Completed in 165 milliseconds