Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/system/ntpclient/
Dntpclient.c38 struct lws *wsi_udp; member
74 lwsl_debug("%s: wsi_udp: %s\n", __func__, lws_wsi_tag(v->wsi_udp)); in lws_ntpc_retry_conn()
76 if (v->wsi_udp || !lws_dll2_is_detached(&v->sul_conn.list)) in lws_ntpc_retry_conn()
84 v->wsi_udp = lws_create_adopt_udp(v->vhost, v->ntp_server_ads, 123, 0, in lws_ntpc_retry_conn()
87 lwsl_debug("%s: created wsi_udp: %s\n", __func__, lws_wsi_tag(v->wsi_udp)); in lws_ntpc_retry_conn()
88 if (!v->wsi_udp) { in lws_ntpc_retry_conn()
103 if (v && v->wsi_udp) in lws_ntpc_retry_write()
104 lws_callback_on_writable(v->wsi_udp); in lws_ntpc_retry_write()
163 if (v->wsi_udp) in callback_ntpc()
164 lws_set_timeout(v->wsi_udp, 1, LWS_TO_KILL_ASYNC); in callback_ntpc()
[all …]