Commit 5b5d702b authored by Claes Sjofors's avatar Claes Sjofors

Wireshark qcom dissector, CircBuff messages added, and handling of middle and last segments

parent c15fab71
......@@ -1139,6 +1139,11 @@ dissect_qcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
is_mhreturn = 0;
is_sev = 0;
if ( is_user) {
if ( msg_flags & mSeg_middle && !(msg_flags & mSeg_first))
strcpy( info, "Middle segment");
else if ( msg_flags & mSeg_last && !(msg_flags & mSeg_first))
strcpy( info, "Last segment");
else {
receiver_qix = tvb_get_ntohl( tvb, header_size + 12);
reply_qix = tvb_get_ntohl( tvb, header_size + 20);
btype = tvb_get_ntohl( tvb, header_size + 28);
......@@ -1438,6 +1443,18 @@ dissect_qcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case net_eMsg_fileListR:
strcpy( info, "FileListR");
break;
case net_eMsg_getCircBuffer:
strcpy( info, "GetCircBuffer");
break;
case net_eMsg_getCircBufferR:
strcpy( info, "GetCircBufferR");
break;
case net_eMsg_updateCircBuffer:
strcpy( info, "UpdateCircBuffer");
break;
case net_eMsg_updateCircBufferR:
strcpy( info, "UpdateCircBufferR");
break;
case net_eMsg_volumes7:
strcpy( info, "Volumes7");
break;
......@@ -1675,6 +1692,9 @@ dissect_qcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
strcpy( info, "Unknown basetype");
}
}
if ( msg_flags & mSeg_first && !(msg_flags & mSeg_last))
strcat( info, " First segment");
}
if (check_col(pinfo->cinfo, COL_PROTOCOL)) {
col_set_str(pinfo->cinfo, COL_PROTOCOL, protostrp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment