Lines Matching refs:frame

1787                                 const nghttp2_frame *frame, size_t max_payload,
1789 return std::min(max_payload, frame->hd.length + config.padding);
1855 const nghttp2_frame *frame, void *user_data) {
1857 switch (frame->hd.type) {
1860 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));
1865 switch (frame->headers.cat) {
1877 auto stream_id = frame->push_promise.promised_stream_id;
1901 int on_header_callback(nghttp2_session *session, const nghttp2_frame *frame,
1906 verbose_on_header_callback(session, frame, name, namelen, value, valuelen,
1910 switch (frame->hd.type) {
1913 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));
1920 if (frame->headers.cat == NGHTTP2_HCAT_HEADERS &&
1926 nghttp2_submit_rst_stream(session, NGHTTP2_FLAG_NONE, frame->hd.stream_id,
1942 session, frame->push_promise.promised_stream_id));
1950 frame->push_promise.promised_stream_id,
1971 const nghttp2_frame *frame, void *user_data) {
1975 verbose_on_frame_recv_callback(session, frame, user_data);
1979 switch (frame->hd.type) {
1982 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));
1988 if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) {
1997 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));
2005 switch (frame->headers.cat) {
2015 if ((frame->hd.flags & NGHTTP2_FLAG_END_STREAM) == 0) {
2017 frame->hd.stream_id, NGHTTP2_PROTOCOL_ERROR);
2025 if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) {
2033 if ((frame->hd.flags & NGHTTP2_FLAG_ACK) == 0) {
2040 session, frame->push_promise.promised_stream_id));
2060 frame->push_promise.promised_stream_id,
2071 frame->push_promise.promised_stream_id,
2080 frame->push_promise.promised_stream_id,
2098 const nghttp2_frame *frame, void *user_data) {
2099 if (frame->hd.type != NGHTTP2_HEADERS ||
2100 frame->headers.cat != NGHTTP2_HCAT_REQUEST) {
2104 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));
2113 int on_frame_send_callback(nghttp2_session *session, const nghttp2_frame *frame,
2116 verbose_on_frame_send_callback(session, frame, user_data);
2119 if (frame->hd.type != NGHTTP2_HEADERS ||
2120 frame->headers.cat != NGHTTP2_HCAT_REQUEST) {
2125 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));
2141 const nghttp2_frame *frame, int lib_error_code,
2143 if (frame->hd.type != NGHTTP2_HEADERS ||
2144 frame->headers.cat != NGHTTP2_HCAT_REQUEST) {
2149 nghttp2_session_get_stream_user_data(session, frame->hd.stream_id));
2737 remote endpoint as if it is received in SETTINGS frame.
2744 frame payload before the last value, to simulate
2752 Add at most <N> bytes to a frame payload as padding.