Home
last modified time | relevance | path

Searched refs:wsi_raw (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpc4.c94 if (lws_plat_ifname_to_hwaddr(r->wsi_raw->desc.sockfd, in lws_dhcpc4_prep()
163 r->wsi_raw = NULL; in callback_dhcpc4()
184 if (lws_plat_ifconfig(r->wsi_raw->desc.sockfd, &r->is)) in callback_dhcpc4()
207 r->wsi_raw = NULL; in callback_dhcpc4()
257 r->wsi_raw->desc.sockfd, in callback_dhcpc4()
292 if (r->wsi_raw || !lws_dll2_is_detached(&r->sul_conn.list)) in lws_dhcpc4_retry_conn()
298 r->wsi_raw = lws_create_adopt_udp(r->context->vhost_system, "0.0.0.0", in lws_dhcpc4_retry_conn()
303 lwsl_debug("%s: created wsi_raw: %s\n", __func__, lws_wsi_tag(r->wsi_raw)); in lws_dhcpc4_retry_conn()
304 if (!r->wsi_raw) { in lws_dhcpc4_retry_conn()
315 lws_plat_if_up((const char *)&r[1], r->wsi_raw->desc.sockfd, 0); in lws_dhcpc4_retry_conn()
[all …]
Ddhcpclient.c35 if (r && r->wsi_raw) in lws_dhcpc_retry_write()
36 lws_callback_on_writable(r->wsi_raw); in lws_dhcpc_retry_write()
48 if (r->wsi_raw) in lws_dhcpc_destroy()
49 lws_set_timeout(r->wsi_raw, 1, LWS_TO_KILL_ASYNC); in lws_dhcpc_destroy()
Dprivate-lib-system-dhcpclient.h93 struct lws *wsi_raw; /* for broadcast */ member
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/
Dminimal-ws-raw-proxy.c50 struct lws *wsi_raw; /* wsi for the outbound raw conn */ member
110 i.pwsi = &pc->wsi_raw; in callback_proxy_ws_server()
135 if (!pc->wsi_raw) { in callback_proxy_ws_server()
158 lws_set_timeout(pc->wsi_raw, in callback_proxy_ws_server()
169 lws_wsi_close(pc->wsi_raw, LWS_TO_KILL_ASYNC); in callback_proxy_ws_server()
199 if (!pc || !pc->wsi_raw) in callback_proxy_ws_server()
219 lws_callback_on_writable(pc->wsi_raw); in callback_proxy_ws_server()
245 pc->wsi_raw = NULL; in callback_proxy_raw_client()
250 pc->wsi_raw = wsi; in callback_proxy_raw_client()
267 pc->wsi_raw = NULL; in callback_proxy_raw_client()