Lines Matching defs:context
62 struct lws_context *cx = pt->context;
474 rops_pt_init_destroy_netlink(struct lws_context *context,
496 if (context->netlink)
499 if (pt > &context->pt[0])
503 lwsl_cx_info(context, "creating netlink skt");
509 lws_context_lock(context, __func__);
510 wsi = __lws_wsi_create_with_role(context, (int)(pt - &context->pt[0]),
512 lws_context_unlock(context);
518 lwsl_cx_err(context, "unable to open netlink");
524 __lws_lc_tag(context, &context->lcg[LWSLCG_VHOST], &wsi->lc,
536 if (lws_fi(&context->fic, "netlink_bind") ||
538 lwsl_cx_warn(context, "netlink bind failed");
543 context->netlink = wsi;
582 lwsl_cx_notice(context, "rt dump req failed... permissions? errno %d",
593 lwsl_cx_debug(context, "starting netlink coldplug wait");
598 __lws_lc_untag(wsi->a.context, &wsi->lc);