• Home
  • Raw
  • Download

Lines Matching refs:sid

154 lws_h2_update_peer_txcredit(struct lws *wsi, int sid, int bump)  in lws_h2_update_peer_txcredit()  argument
164 if (sid == -1) in lws_h2_update_peer_txcredit()
165 sid = wsi->mux.my_sid; in lws_h2_update_peer_txcredit()
167 lwsl_info("%s: sid %d: bump %d -> %d\n", __func__, sid, bump, in lws_h2_update_peer_txcredit()
174 pps->u.update_window.sid = sid; in lws_h2_update_peer_txcredit()
186 pps->u.update_window.sid = 0; in lws_h2_update_peer_txcredit()
205 lws_h2_update_peer_txcredit_thresh(struct lws *wsi, int sid, int threshold, int bump) in lws_h2_update_peer_txcredit_thresh() argument
210 return lws_h2_update_peer_txcredit(wsi, sid, bump); in lws_h2_update_peer_txcredit_thresh()
215 unsigned int sid) in lws_wsi_server_new() argument
229 if (sid <= h2n->highest_sid_opened) { in lws_wsi_server_new()
231 sid, (int)h2n->highest_sid_opened); in lws_wsi_server_new()
248 h2n->highest_sid_opened = sid; in lws_wsi_server_new()
250 lws_wsi_mux_insert(wsi, parent_wsi, sid); in lws_wsi_server_new()
274 parent_wsi, wsi, sid, wsi->user_space); in lws_wsi_server_new()
443 pps->u.rs.sid = wsi->mux.my_sid; in lws_h2_rst_stream()
615 unsigned int sid, unsigned int len, unsigned char *buf) in lws_h2_frame_write() argument
629 *p++ = sid >> 24; in lws_h2_frame_write()
630 *p++ = sid >> 16; in lws_h2_frame_write()
631 *p++ = sid >> 8; in lws_h2_frame_write()
632 *p++ = sid; in lws_h2_frame_write()
636 sid, len, (int)wsi->txc.tx_cr, (int)nwsi->txc.tx_cr); in lws_h2_frame_write()
848 0, pps->u.rs.sid, 4, &set[LWS_PRE]); in lws_h2_do_pps_send()
853 cwsi = lws_wsi_mux_from_id(wsi, pps->u.rs.sid); in lws_h2_do_pps_send()
864 (int)pps->u.update_window.sid, in lws_h2_do_pps_send()
871 0, pps->u.update_window.sid, 4, in lws_h2_do_pps_send()
913 h2n->sid = h2n->sid & 0x7fffffff; in lws_h2_parse_frame_header()
915 if (h2n->sid && !(h2n->sid & 1)) { in lws_h2_parse_frame_header()
928 if (h2n->sid) in lws_h2_parse_frame_header()
929 h2n->swsi = lws_wsi_mux_from_id(wsi, h2n->sid); in lws_h2_parse_frame_header()
932 wsi, h2n->swsi, h2n->type, h2n->flags, (unsigned int)h2n->sid, in lws_h2_parse_frame_header()
935 if (h2n->we_told_goaway && h2n->sid > h2n->highest_sid) in lws_h2_parse_frame_header()
960 if (h2n->sid <= h2n->highest_sid_opened in lws_h2_parse_frame_header()
976 if (h2n->sid > h2n->highest_sid_opened && in lws_h2_parse_frame_header()
981 __func__, h2n->swsi, (unsigned int)h2n->sid, h2n->type); in lws_h2_parse_frame_header()
988 if (h2n->swsi && h2n->sid && in lws_h2_parse_frame_header()
1005 if (h2n->cont_exp && (h2n->cont_exp_sid != h2n->sid || in lws_h2_parse_frame_header()
1009 (unsigned int)h2n->sid); in lws_h2_parse_frame_header()
1023 if (!h2n->sid) { in lws_h2_parse_frame_header()
1029 (unsigned int)h2n->sid, h2n->flags, in lws_h2_parse_frame_header()
1053 if (!h2n->sid) { in lws_h2_parse_frame_header()
1074 if (!h2n->sid) in lws_h2_parse_frame_header()
1077 if (h2n->sid <= h2n->highest_sid_opened) in lws_h2_parse_frame_header()
1094 if (h2n->sid) { in lws_h2_parse_frame_header()
1135 if (h2n->sid) { in lws_h2_parse_frame_header()
1148 (unsigned int)h2n->sid, (int)h2n->cont_exp, in lws_h2_parse_frame_header()
1152 h2n->cont_exp_sid != h2n->sid || in lws_h2_parse_frame_header()
1153 !h2n->sid || in lws_h2_parse_frame_header()
1170 (unsigned int)h2n->sid); in lws_h2_parse_frame_header()
1171 if (!h2n->sid) { in lws_h2_parse_frame_header()
1186 if (h2n->sid) { in lws_h2_parse_frame_header()
1187 h2n->swsi = lws_wsi_mux_from_id(wsi, h2n->sid); in lws_h2_parse_frame_header()
1190 (unsigned int)h2n->sid, h2n->swsi); in lws_h2_parse_frame_header()
1214 h2n->sid); in lws_h2_parse_frame_header()
1250 if (w->mux.my_sid < h2n->sid && in lws_h2_parse_frame_header()
1276 h2n->cont_exp_sid = h2n->sid; in lws_h2_parse_frame_header()
1358 if (h2n->sid) in lws_h2_parse_end_of_frame()
1359 h2n->swsi = lws_wsi_mux_from_id(wsi, h2n->sid); in lws_h2_parse_end_of_frame()
1361 if (h2n->sid > h2n->highest_sid) in lws_h2_parse_end_of_frame()
1362 h2n->highest_sid = h2n->sid; in lws_h2_parse_end_of_frame()
1364 if (h2n->collected_priority && (h2n->dep & ~(1u << 31)) == h2n->sid) { in lws_h2_parse_end_of_frame()
1391 h2n->sid = 1; in lws_h2_parse_end_of_frame()
1484 h2n->cont_exp_sid = h2n->sid; in lws_h2_parse_end_of_frame()
1721 (unsigned int)h2n->sid, in lws_h2_parse_end_of_frame()
1725 if (h2n->sid) in lws_h2_parse_end_of_frame()
1729 if (h2n->sid > h2n->highest_sid_opened) in lws_h2_parse_end_of_frame()
1743 if (h2n->sid) in lws_h2_parse_end_of_frame()
1800 (unsigned int)h2n->sid, in lws_h2_parse_end_of_frame()
2149 h2n->sid, m, m); in lws_h2_parser()
2175 if ((h2n->dep & ~(1u << 31)) == h2n->sid) { in lws_h2_parser()
2260 h2n->sid <<= 8; in lws_h2_parser()
2261 h2n->sid |= c; in lws_h2_parser()
2316 int sid = nwsi->h2.h2n->highest_sid_opened + 2; in lws_h2_client_handshake() local
2320 nwsi->h2.h2n->highest_sid_opened = sid; in lws_h2_client_handshake()
2321 wsi->mux.my_sid = sid; in lws_h2_client_handshake()
2433 if (lws_h2_update_peer_txcredit(wsi, sid, n)) in lws_h2_client_handshake()