Lines Matching refs:pinfo

283 get_spdy_conversation_data(packet_info *pinfo)
289 conversation = find_conversation(pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
292 printf("Conversation for frame #%d is %p\n", pinfo->fd->num, conversation);
298 conversation = conversation_new(pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0);
315 printf("frame #%d: inflateInit() failed: %d\n", pinfo->fd->num, retcode);
491 packet_info *pinfo,
518 col_add_fstr(pinfo->cinfo, COL_INFO, "DATA[%u] length=%d",
563 if (!pinfo->fd->flags.visited) {
567 spdy_add_data_chunk(conv_data, stream_id, pinfo->fd->num,
577 col_set_fence(pinfo->cinfo, COL_INFO);
578 col_add_fstr(pinfo->cinfo, COL_INFO, " (partial entity)");
602 add_new_data_source(pinfo, data_tvb, "Assembled entity body");
669 add_new_data_source(pinfo, data_tvb, "Uncompressed entity body");
673 call_dissector(data_handle, data_tvb, pinfo, e_tree);
691 pinfo->match_port);
702 save_private_data = pinfo->private_data;
706 pinfo->private_data = ep_strdup(si->content_type_parameters);
708 pinfo->private_data = NULL;
711 * dissector table will set pinfo->match_string
714 pinfo->match_string = si->content_type;
723 dissected = call_dissector(handle, data_tvb, pinfo, top_level_tree);
740 call_dissector(media_handle, next_tvb, pinfo, top_level_tree);
743 call_dissector(data_handle, next_tvb, pinfo, top_level_tree);
752 pinfo->private_data = save_private_data;
927 dissect_spdy_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
968 if (check_col(pinfo->cinfo, COL_PROTOCOL))
969 col_set_str(pinfo->cinfo, COL_PROTOCOL, proto_tag);
1013 return dissect_spdy_data_frame(tvb, orig_offset, pinfo, tree,
1091 spdy_find_saved_header_block(pinfo->fd,
1106 printf("Frame #%d: Inflation failed\n", pinfo->fd->num);
1113 spdy_save_header_block(pinfo->fd, stream_id, frame_type == SPDY_SYN_REPLY,
1127 add_new_data_source(pinfo, header_tvb, "Uncompressed headers");
1154 col_add_fstr(pinfo->cinfo, COL_INFO, "%s[%d]", frame_type_name, stream_id);
1223 col_add_fstr(pinfo->cinfo, COL_INFO, "%s[%d]: %s %s %s",
1226 col_add_fstr(pinfo->cinfo, COL_INFO, "%s[%d]: %s %s",
1230 col_add_fstr(pinfo->cinfo, COL_INFO, "%s[%d]", frame_type_name, stream_id);
1236 if (content_type != NULL && !pinfo->fd->flags.visited) {
1246 dissect_spdy(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
1265 conv_data = get_spdy_conversation_data(pinfo);
1269 col_add_fstr(pinfo->cinfo, COL_INFO, " >> ");
1270 col_set_fence(pinfo->cinfo, COL_INFO);
1272 len = dissect_spdy_message(tvb, offset, pinfo, tree, conv_data);
1281 col_set_fence(pinfo->cinfo, COL_INFO);
1288 dissect_spdy_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
1290 if (!value_is_in_range(global_spdy_tcp_range, pinfo->destport) &&
1291 !value_is_in_range(global_spdy_tcp_range, pinfo->srcport))
1293 return dissect_spdy(tvb, pinfo, tree) != 0;
1480 dissect_message_spdy(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
1487 if (check_col(pinfo->cinfo, COL_INFO))
1488 col_append_str(pinfo->cinfo, COL_INFO, " (message/spdy)");