Lines Matching refs:hd
176 void print_frame_hd(const nghttp2_frame_hd &hd) {
177 fprintf(outfile, "<length=%zu, flags=0x%02x, stream_id=%d>\n", hd.length,
178 hd.flags, hd.stream_id);
183 void print_flags(const nghttp2_frame_hd &hd) {
185 switch (hd.type) {
187 if (hd.flags & NGHTTP2_FLAG_END_STREAM) {
190 if (hd.flags & NGHTTP2_FLAG_PADDED) {
198 if (hd.flags & NGHTTP2_FLAG_END_STREAM) {
201 if (hd.flags & NGHTTP2_FLAG_END_HEADERS) {
207 if (hd.flags & NGHTTP2_FLAG_PADDED) {
213 if (hd.flags & NGHTTP2_FLAG_PRIORITY) {
224 if (hd.flags & NGHTTP2_FLAG_ACK) {
229 if (hd.flags & NGHTTP2_FLAG_END_HEADERS) {
232 if (hd.flags & NGHTTP2_FLAG_PADDED) {
240 if (hd.flags & NGHTTP2_FLAG_ACK) {
260 strframetype(frame->hd.type).c_str(), ansi_escend());
261 print_frame_hd(frame->hd);
262 if (frame->hd.flags) {
264 print_flags(frame->hd);
266 switch (frame->hd.type) {
276 if (frame->hd.flags & NGHTTP2_FLAG_PRIORITY) {
397 fprintf(outfile, " recv (stream_id=%d", frame->hd.stream_id);