Lines Matching refs:vhost
102 lws_plat_set_socket_options(struct lws_vhost *vhost, int fd, int unix_skt)
123 if (!unix_skt && vhost->ka_time) {
144 optval = 1000 * (vhost->ka_time +
145 (vhost->ka_interval * vhost->ka_probes));
150 optval = vhost->ka_time;
155 optval = vhost->ka_interval;
160 optval = vhost->ka_probes;
168 if (!unix_skt && vhost->bind_iface && vhost->iface) {
169 lwsl_info("binding listen skt to %s using SO_BINDTODEVICE\n", vhost->iface);
170 if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, vhost->iface,
171 (socklen_t)strlen(vhost->iface)) < 0) {
172 lwsl_warn("Failed to bind to device %s\n", vhost->iface);
589 lws_plat_vhost_tls_client_ctx_init(struct lws_vhost *vhost)