Lines Matching refs:vhd
40 struct per_vhost_data__telnet *vhd;
121 struct per_vhost_data__telnet *vhd =
132 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi),
135 vhd->context = lws_get_context(wsi);
136 vhd->protocol = lws_get_protocol(wsi);
137 vhd->vhost = lws_get_vhost(wsi);
141 vhd->ops = (const struct lws_ssh_ops *)pvo->value;
146 if (!vhd->ops) {
153 pss->next = vhd->live_pss_list;
154 vhd->live_pss_list = pss;
155 pss->vhd = vhd;
158 if (vhd->ops->channel_create)
159 vhd->ops->channel_create(wsi, &pss->priv);
164 p = &vhd->live_pss_list;
168 if (vhd->ops->channel_destroy)
169 vhd->ops->channel_destroy(pss->priv);
190 pss->vhd->ops->rx(pss->priv, wsi, buf, (uint32_t)n);
208 m = (int)pss->vhd->ops->tx(pss->priv, LWS_STDOUT, pu,
230 if (vhd->ops->tx_waiting(&pss->priv))