/hostap-3.7.0/src/wps/ |
D | wps_upnp_ssdp.c | 685 static void ssdp_listener_handler(int sd, void *eloop_ctx, void *sock_ctx) in ssdp_listener_handler() argument 734 int sd; in ssdp_listener_open() local 736 sd = socket(AF_INET, SOCK_DGRAM, 0); in ssdp_listener_open() 737 if (sd < 0 || in ssdp_listener_open() 738 fcntl(sd, F_SETFL, O_NONBLOCK) != 0 || in ssdp_listener_open() 739 setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on))) in ssdp_listener_open() 745 if (bind(sd, (struct sockaddr *) &addr, sizeof(addr))) in ssdp_listener_open() 750 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open() 752 setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open() 756 return sd; in ssdp_listener_open() [all …]
|
D | http_client.c | 23 int sd; member 97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0); in http_client_tx_ready() 101 eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE); in http_client_tx_ready() 117 eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE); in http_client_tx_ready() 121 c->hread = httpread_create(c->sd, http_client_got_response, c, in http_client_tx_ready() 142 c->sd = -1; in http_client_addr() 148 c->sd = socket(AF_INET, SOCK_STREAM, 0); in http_client_addr() 149 if (c->sd < 0) in http_client_addr() 152 if (fcntl(c->sd, F_SETFL, O_NONBLOCK) != 0) { in http_client_addr() 158 if (connect(c->sd, (struct sockaddr *) dst, sizeof(*dst))) { in http_client_addr() [all …]
|
D | httpread.c | 52 int sd; /* descriptor of TCP socket to read from */ member 134 eloop_unregister_sock(h->sd, EVENT_TYPE_READ); in httpread_destroy() 138 h->sd = -1; /* aid debugging */ in httpread_destroy() 367 static void httpread_read_handler(int sd, void *eloop_ctx, void *sock_ctx) in httpread_read_handler() argument 380 nread = read(h->sd, readbuf, sizeof(readbuf)); in httpread_read_handler() 707 eloop_unregister_sock(h->sd, EVENT_TYPE_READ); in httpread_read_handler() 730 int sd, /* descriptor of TCP socket to read from */ in httpread_create() argument 743 h->sd = sd; in httpread_create() 755 if (eloop_register_sock(sd, EVENT_TYPE_READ, httpread_read_handler, in httpread_create()
|
D | wps_er_ssdp.c | 20 static void wps_er_ssdp_rx(int sd, void *eloop_ctx, void *sock_ctx) in wps_er_ssdp_rx() argument 33 nread = recvfrom(sd, buf, sizeof(buf) - 1, 0, in wps_er_ssdp_rx() 47 if (sd == er->multicast_sd) { in wps_er_ssdp_rx()
|
D | httpread.h | 70 int sd, /* descriptor of TCP socket to read from */
|
D | http_server.c | 199 static void http_server_cb(int sd, void *eloop_ctx, void *sock_ctx) in http_server_cb() argument
|
/hostap-3.7.0/wpa_supplicant/ |
D | main_winsvc.c | 257 SERVICE_DESCRIPTION sd; in register_service() local 278 os_memset(&sd, 0, sizeof(sd)); in register_service() 279 sd.lpDescription = WPASVC_DESCRIPTION; in register_service() 280 if (!ChangeServiceConfig2(svc, SERVICE_CONFIG_DESCRIPTION, &sd)) { in register_service()
|
/hostap-3.7.0/src/common/ |
D | dpp_tcp.c | 87 static void dpp_controller_rx(int sd, void *eloop_ctx, void *sock_ctx); 1642 static void dpp_controller_rx(int sd, void *eloop_ctx, void *sock_ctx) in dpp_controller_rx() argument 1649 sd); in dpp_controller_rx() 1654 res = recv(sd, &conn->msg_len[conn->msg_len_octets], in dpp_controller_rx() 1702 res = recv(sd, wpabuf_put(conn->msg, 0), wpabuf_tailroom(conn->msg), 0); in dpp_controller_rx() 1762 static void dpp_controller_tcp_cb(int sd, void *eloop_ctx, void *sock_ctx) in dpp_controller_tcp_cb() argument
|
/hostap-3.7.0/src/ap/ |
D | fils_hlp.c | 150 static void fils_dhcp_handler(int sd, void *eloop_ctx, void *sock_ctx) in fils_dhcp_handler() argument 168 res = recvfrom(sd, buf, sizeof(buf), 0, in fils_dhcp_handler()
|
/hostap-3.7.0/tests/hwsim/ |
D | test_dbus.py | 3586 self.sd = False 3604 self.sd = True 3620 return self.sd
|