Lines Matching refs:cx
38 _lws_routing_entry_dump(struct lws_context *cx, lws_route_t *rou) in _lws_routing_entry_dump() argument
62 lwsl_cx_info(cx, " %s ifidx: %d, pri: %d, proto: %d\n", fin, in _lws_routing_entry_dump()
67 _lws_routing_table_dump(struct lws_context *cx) in _lws_routing_table_dump() argument
69 lwsl_cx_info(cx, "\n"); in _lws_routing_table_dump()
71 lws_dll2_get_head(&cx->routing_table)) { in _lws_routing_table_dump()
74 _lws_routing_entry_dump(cx, rou); in _lws_routing_table_dump()
99 _lws_route_get_uidx(struct lws_context *cx) in _lws_route_get_uidx() argument
103 if (!cx->route_uidx) in _lws_route_get_uidx()
104 cx->route_uidx++; in _lws_route_get_uidx()
106 ou = cx->route_uidx; in _lws_route_get_uidx()
114 lws_dll2_get_head(&cx->routing_table)) { in _lws_route_get_uidx()
117 if (rou->uidx == cx->route_uidx) { in _lws_route_get_uidx()
119 cx->route_uidx++; in _lws_route_get_uidx()
120 if (!cx->route_uidx) in _lws_route_get_uidx()
121 cx->route_uidx++; in _lws_route_get_uidx()
122 if (cx->route_uidx == ou) { in _lws_route_get_uidx()
132 return cx->route_uidx++; in _lws_route_get_uidx()