proto_tree_add_item(tree, hf_erldp_challenge, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
proto_tree_add_item(tree, hf_erldp_digest, tvb, offset, 16, ENC_NA);
- offset += 16;
+ /*offset += 16;*/
col_add_str(pinfo->cinfo, COL_INFO, "SEND_CHALLENGE_REPLY");
break;
case 'a' :
proto_tree_add_item(tree, hf_erldp_digest, tvb, offset, 16, ENC_NA);
- offset += 16;
+ /*offset += 16;*/
col_add_str(pinfo->cinfo, COL_INFO, "SEND_CHALLENGE_ACK");
break;
}
offset = dissect_etf_type("ControlMessage", pinfo, tvb, offset, erldp_tree);
if (tvb_length_remaining(tvb, offset) > 0)
- offset = dissect_etf_type("Message", pinfo, tvb, offset, erldp_tree);
+ dissect_etf_type("Message", pinfo, tvb, offset, erldp_tree);
break;
default:
read_type(offset, tvb, etch_tree);
if (type_code == ETCH_TC_CUSTOM) {
- type_code = read_type(offset, tvb, etch_tree);
+ read_type(offset, tvb, etch_tree);
proto_tree_add_item(etch_tree, hf_etch_value, tvb, *offset, 4,
ENC_BIG_ENDIAN);
(*offset) += 4;
}
}
-static void
+static int
dissect_begin_request(tvbuff_t *tvb, proto_tree *fcgi_tree, gint offset, guint16 len)
{
proto_item *br;
offset += 5;
- return;
+ return offset;
}
static void
return;
}
-static void
+static int
dissect_end_request(tvbuff_t *tvb, proto_tree *fcgi_tree, gint offset, guint16 len)
{
proto_item *er;
offset += 3;
- return;
+ return offset;
}
static void
if (plen > 0) {
proto_tree_add_item(fcgi_tree, hf_fcgi_padding_data, tvb, offset, plen, ENC_NA);
- offset += plen;
+ /*offset += plen;*/
}
}
}
response to a get protocol version message
contains a type length, type name and the value
*/
-static void
+static int
dissect_resp_long (tvbuff_t *tvb, proto_tree *hdfs_tree, int offset) {
/* get length that we just dissected */
int length = tvb_get_ntohs(tvb, offset);
/* the value */
proto_tree_add_item(hdfs_tree, hf_hdfs_prover, tvb, offset, 8, ENC_BIG_ENDIAN);
- offset += 8;
+ offset += 8;
+
+ return offset;
}
/*
Response to a file status message
*/
-static void
+static int
dissect_resp_filestatus (tvbuff_t *tvb, proto_tree *hdfs_tree, int offset) {
int length;
/* group name */
proto_tree_add_item(hdfs_tree, hf_hdfs_groupname, tvb, offset, length, ENC_ASCII|ENC_NA);
offset += length;
+
+ return offset;
}
/* the value of the parameter */
proto_tree_add_item(hdfs_tree, hf_hdfs_paramval, tvb, offset, length, ENC_ASCII|ENC_NA);
- offset += length;
+ /*offset += length;*/
}
}
offset += 1;
proto_tree_add_item(hdfs_tree, hf_hdfs_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
- offset += 1;
+ /*offset += 1;*/
} else {
/* second authentication packet */
return;
}
- offset += consumed_facet;
+ /*offset += consumed_facet;*/
(*consumed) += consumed_facet;
return;
}
if(flags&IFCP_FLAGS_SPC){
proto_item_append_text(item, " SPC");
}
- flags&=(~IFCP_FLAGS_SPC);
offset++;
if(flags&IFCP_COMMON_FLAGS_CRCV){
proto_item_append_text(item, " CRCV");
}
- flags&=(~IFCP_COMMON_FLAGS_CRCV);
}
static void