• Home
  • Raw
  • Download

Lines Matching refs:txc

168 			(int)wsi->txc.peer_tx_cr_est + bump);  in lws_h2_update_peer_txcredit()
176 wsi->txc.peer_tx_cr_est += bump; in lws_h2_update_peer_txcredit()
178 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in lws_h2_update_peer_txcredit()
188 nwsi->txc.peer_tx_cr_est += bump; in lws_h2_update_peer_txcredit()
190 lws_wsi_txc_describe(&nwsi->txc, __func__, nwsi->mux.my_sid); in lws_h2_update_peer_txcredit()
200 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in lws_h2_get_peer_txcredit_estimate()
201 return (int)wsi->txc.peer_tx_cr_est; in lws_h2_get_peer_txcredit_estimate()
207 if (wsi->txc.peer_tx_cr_est > threshold) in lws_h2_update_peer_txcredit_thresh()
284 wsi->txc.tx_cr = (int32_t)nwsi->h2.h2n->peer_set.s[H2SET_INITIAL_WINDOW_SIZE]; in __lws_wsi_server_new()
285 wsi->txc.peer_tx_cr_est = in __lws_wsi_server_new()
306 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in __lws_wsi_server_new()
307 lws_wsi_txc_describe(&nwsi->txc, __func__, 0); in __lws_wsi_server_new()
358 wsi->txc.tx_cr = (int32_t)nwsi->h2.h2n->peer_set.s[H2SET_INITIAL_WINDOW_SIZE]; in lws_wsi_h2_adopt()
359 wsi->txc.peer_tx_cr_est = (int32_t) in lws_wsi_h2_adopt()
362 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in lws_wsi_h2_adopt()
414 wsi->txc.tx_cr = 65535; in lws_h2_issue_preface()
570 __func__, (int)w->txc.tx_cr, in lws_h2_settings()
572 (int)(w->txc.tx_cr + (int)b - in lws_h2_settings()
574 w->txc.tx_cr += (int)b - (int)settings->s[a]; in lws_h2_settings()
575 if (w->txc.tx_cr > 0 && in lws_h2_settings()
576 w->txc.tx_cr <= in lws_h2_settings()
634 int c = wsi->txc.tx_cr; in lws_h2_tx_cr_get()
641 __func__, lws_wsi_tag(wsi), c, (int)nwsi->txc.tx_cr); in lws_h2_tx_cr_get()
643 if (nwsi->txc.tx_cr < c) in lws_h2_tx_cr_get()
644 c = nwsi->txc.tx_cr; in lws_h2_tx_cr_get()
657 wsi->txc.tx_cr -= consumed; in lws_h2_tx_cr_consume()
660 nwsi->txc.tx_cr -= consumed; in lws_h2_tx_cr_consume()
686 sid, len, (int)wsi->txc.tx_cr, (int)nwsi->txc.tx_cr); in lws_h2_frame_write()
689 if (wsi->txc.tx_cr < (int)len) in lws_h2_frame_write()
693 lws_wsi_tag(wsi), len, (int)wsi->txc.tx_cr); in lws_h2_frame_write()
838 h2n->swsi->txc.tx_cr = (int32_t) in lws_h2_do_pps_send()
842 (int)h2n->swsi->txc.tx_cr); in lws_h2_do_pps_send()
1546 h2n->swsi->txc.manual_initial_tx_credit = in lws_h2_parse_end_of_frame()
1547 wsi->txc.manual_initial_tx_credit; in lws_h2_parse_end_of_frame()
1562 h2n->swsi->txc.tx_cr = (int32_t) in lws_h2_parse_end_of_frame()
1566 (int)h2n->swsi->txc.tx_cr); in lws_h2_parse_end_of_frame()
1571 wsi->txc.tx_cr = (int32_t) in lws_h2_parse_end_of_frame()
1576 lws_wsi_tag(wsi), (int)wsi->txc.tx_cr); in lws_h2_parse_end_of_frame()
1913 (uint64_t)eff_wsi->txc.tx_cr + (uint64_t)h2n->hpack_e_dep > in lws_h2_parse_end_of_frame()
1915 h2n->hpack_e_dep = (uint32_t)(0x7fffffff - eff_wsi->txc.tx_cr); in lws_h2_parse_end_of_frame()
1917 if ((uint64_t)eff_wsi->txc.tx_cr + (uint64_t)h2n->hpack_e_dep > in lws_h2_parse_end_of_frame()
1920 __func__, (unsigned long long)eff_wsi->txc.tx_cr, in lws_h2_parse_end_of_frame()
1922 (unsigned long long)eff_wsi->txc.tx_cr + (unsigned long long)h2n->hpack_e_dep); in lws_h2_parse_end_of_frame()
1938 n = eff_wsi->txc.tx_cr; in lws_h2_parse_end_of_frame()
1939 eff_wsi->txc.tx_cr += (int32_t)h2n->hpack_e_dep; in lws_h2_parse_end_of_frame()
1944 lws_wsi_txc_describe(&eff_wsi->txc, "WINDOW_UPDATE in", in lws_h2_parse_end_of_frame()
1947 if (n <= 0 && eff_wsi->txc.tx_cr <= 0) in lws_h2_parse_end_of_frame()
1960 if (eff_wsi->txc.skint && in lws_h2_parse_end_of_frame()
1961 !lws_wsi_txc_check_skint(&eff_wsi->txc, in lws_h2_parse_end_of_frame()
2035 wsi->txc.tx_cr = 65535; in lws_h2_parser()
2241 h2n->swsi->txc.peer_tx_cr_est -= n; in lws_h2_parser()
2242 wsi->txc.peer_tx_cr_est -= n; in lws_h2_parser()
2243 lws_wsi_txc_describe(&h2n->swsi->txc, in lws_h2_parser()
2329 h2n->swsi->txc.peer_tx_cr_est -= n; in lws_h2_parser()
2330 wsi->txc.peer_tx_cr_est -= n; in lws_h2_parser()
2361 h2n->swsi->txc.manual = 1; in lws_h2_parser()
2673 n = wsi->txc.manual_initial_tx_credit; in lws_h2_client_handshake()
2674 wsi->txc.manual = 1; in lws_h2_client_handshake()