Lines Matching refs:frame

303                                   const nghttp2_frame *frame,
307 const nghttp2_frame *frame,
314 const nghttp2_frame *frame,
574 static int proxy_h2_fr_print(const nghttp2_frame *frame, in proxy_h2_fr_print() argument
577 switch(frame->hd.type) { in proxy_h2_fr_print()
581 (int)frame->hd.length, in proxy_h2_fr_print()
582 !!(frame->hd.flags & NGHTTP2_FLAG_END_STREAM), in proxy_h2_fr_print()
583 (int)frame->data.padlen); in proxy_h2_fr_print()
588 (int)frame->hd.length, in proxy_h2_fr_print()
589 !!(frame->hd.flags & NGHTTP2_FLAG_END_HEADERS), in proxy_h2_fr_print()
590 !!(frame->hd.flags & NGHTTP2_FLAG_END_STREAM)); in proxy_h2_fr_print()
595 (int)frame->hd.length, frame->hd.flags); in proxy_h2_fr_print()
600 (int)frame->hd.length, frame->hd.flags, in proxy_h2_fr_print()
601 frame->rst_stream.error_code); in proxy_h2_fr_print()
604 if(frame->hd.flags & NGHTTP2_FLAG_ACK) { in proxy_h2_fr_print()
608 "FRAME[SETTINGS, len=%d]", (int)frame->hd.length); in proxy_h2_fr_print()
613 (int)frame->hd.length, in proxy_h2_fr_print()
614 !!(frame->hd.flags & NGHTTP2_FLAG_END_HEADERS)); in proxy_h2_fr_print()
618 (int)frame->hd.length, in proxy_h2_fr_print()
619 frame->hd.flags & NGHTTP2_FLAG_ACK); in proxy_h2_fr_print()
623 size_t len = (frame->goaway.opaque_data_len < s_len) ? in proxy_h2_fr_print()
624 frame->goaway.opaque_data_len : s_len-1; in proxy_h2_fr_print()
626 memcpy(scratch, frame->goaway.opaque_data, len); in proxy_h2_fr_print()
629 "last_stream=%d]", frame->goaway.error_code, in proxy_h2_fr_print()
630 scratch, frame->goaway.last_stream_id); in proxy_h2_fr_print()
635 frame->window_update.window_size_increment); in proxy_h2_fr_print()
639 frame->hd.type, (int)frame->hd.length, in proxy_h2_fr_print()
640 frame->hd.flags); in proxy_h2_fr_print()
645 const nghttp2_frame *frame, in proxy_h2_on_frame_send() argument
656 len = proxy_h2_fr_print(frame, buffer, sizeof(buffer)-1); in proxy_h2_on_frame_send()
658 CURL_TRC_CF(data, cf, "[%d] -> %s", frame->hd.stream_id, buffer); in proxy_h2_on_frame_send()
665 const nghttp2_frame *frame, in proxy_h2_on_frame_recv() argument
671 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_frame_recv()
679 len = proxy_h2_fr_print(frame, buffer, sizeof(buffer)-1); in proxy_h2_on_frame_recv()
681 CURL_TRC_CF(data, cf, "[%d] <- %s",frame->hd.stream_id, buffer); in proxy_h2_on_frame_recv()
688 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
713 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
741 const nghttp2_frame *frame, in proxy_h2_on_header() argument
750 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_header()
764 if(frame->hd.type == NGHTTP2_PUSH_PROMISE) in proxy_h2_on_header()