Home
last modified time | relevance | path

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

/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2_table.c130 if (index < h2c->hpack.added - h2c->hpack.deleted) { in ngx_http_v2_get_indexed_header()
218 h2c->hpack.pos = h2c->hpack.storage; in ngx_http_v2_add_header()
227 if (h2c->hpack.reused == h2c->hpack.deleted) { in ngx_http_v2_add_header()
234 entry = h2c->hpack.entries[h2c->hpack.reused++ % h2c->hpack.allocated]; in ngx_http_v2_add_header()
268 if (h2c->hpack.allocated == h2c->hpack.added - h2c->hpack.deleted) { in ngx_http_v2_add_header()
290 h2c->hpack.added = h2c->hpack.allocated; in ngx_http_v2_add_header()
296 h2c->hpack.entries[h2c->hpack.added++ % h2c->hpack.allocated] = entry; in ngx_http_v2_add_header()
319 h2c->hpack.deleted = h2c->hpack.added; in ngx_http_v2_table_account()
320 h2c->hpack.free = h2c->hpack.size; in ngx_http_v2_table_account()
325 entry = h2c->hpack.entries[h2c->hpack.deleted++ % h2c->hpack.allocated]; in ngx_http_v2_table_account()
[all …]
H A Dngx_http_v2.c396 && (h2c->state.incomplete || h2c->processing || h2c->pushing)) in ngx_http_v2_read_handler()
414 p = h2c->state.handler(h2c, p, end); in ngx_http_v2_read_handler()
436 if (h2c->processing || h2c->pushing) { in ngx_http_v2_read_handler()
620 if (h2c->last_out || h2c->processing || h2c->pushing) { in ngx_http_v2_handle_connection()
781 type, h2c->state.flags, h2c->state.length, h2c->state.sid); in ngx_http_v2_state_head()
1095 if (h2c->state.sid % 2 == 0 || h2c->state.sid <= h2c->last_sid) { in ngx_http_v2_state_headers()
1103 h2c->last_sid = h2c->state.sid; in ngx_http_v2_state_headers()
2412 h2c->state.length += h2c->state.padding; in ngx_http_v2_state_skip_padded()
2916 pool = h2c->pool ? h2c->pool : h2c->connection->pool; in ngx_http_v2_get_frame()
4424 if (h2c->processing || h2c->pushing || h2c->blocked) { in ngx_http_v2_close_stream()
[all …]
H A Dngx_http_v2_filter_module.c245 h2c = stream->connection; in ngx_http_v2_header_filter()
247 if (!h2c->push_disabled && !h2c->goaway in ngx_http_v2_header_filter()
446 if (h2c->table_update) { in ngx_http_v2_header_filter()
450 h2c->table_update = 0; in ngx_http_v2_header_filter()
917 h2c = stream->connection; in ngx_http_v2_push_resource()
927 h2c->pushing, h2c->concurrent_pushes); in ngx_http_v2_push_resource()
929 if (h2c->pushing >= h2c->concurrent_pushes) { in ngx_http_v2_push_resource()
1010 if (h2c->table_update) { in ngx_http_v2_push_resource()
1195 h2c = stream->connection; in ngx_http_v2_create_push_frame()
1686 h2c->frames++; in ngx_http_v2_filter_get_data_frame()
[all …]
H A Dngx_http_v2.h63 typedef u_char *(*ngx_http_v2_handler_pt) (ngx_http_v2_connection_t *h2c,
235 ngx_http_v2_queue_frame(ngx_http_v2_connection_t *h2c, in ngx_http_v2_queue_frame() argument
240 for (out = &h2c->last_out; *out; out = &(*out)->next) { in ngx_http_v2_queue_frame()
261 ngx_http_v2_queue_blocked_frame(ngx_http_v2_connection_t *h2c, in ngx_http_v2_queue_blocked_frame() argument
266 for (out = &h2c->last_out; *out; out = &(*out)->next) { in ngx_http_v2_queue_blocked_frame()
279 ngx_http_v2_queue_ordered_frame(ngx_http_v2_connection_t *h2c, in ngx_http_v2_queue_ordered_frame() argument
282 frame->next = h2c->last_out; in ngx_http_v2_queue_ordered_frame()
283 h2c->last_out = frame; in ngx_http_v2_queue_ordered_frame()
297 ngx_int_t ngx_http_v2_send_output_queue(ngx_http_v2_connection_t *h2c);
303 ngx_int_t ngx_http_v2_get_indexed_header(ngx_http_v2_connection_t *h2c,
[all …]
/f-stack/freebsd/netpfil/pf/
H A Dpf.c2294 struct pf_addr *na, u_int16_t np, u_int16_t *pc, u_int16_t *h2c, in pf_change_icmp() argument
2322 u_int32_t oh2c = *h2c; in pf_change_icmp()
2324 *h2c = pf_cksum_fixup(pf_cksum_fixup(*h2c, in pf_change_icmp()
2330 *ic = pf_cksum_fixup(*ic, oh2c, *h2c, 0); in pf_change_icmp()