proto_item *sti = NULL;
proto_tree *tlv_tree = NULL, *dsl_tree = NULL;
guint8 tech_type;
- guint16 blk_len, tlen, ttype, stlvtype, stlvlen;
+ guint16 tlen, ttype, stlvtype, stlvlen;
gint16 num_tlvs, num_stlvs;
gint val;
sti = proto_tree_add_item(ancp_tree, hf_ancp_len, tvb,
offset, 2, FALSE);
- blk_len = tvb_get_ntohs(tvb, offset);
proto_item_append_text(sti, " (Extension Block)");
offset += 2;
proto_tree_add_item(ancp_cap_tree, hf_ancp_tot_len, tvb,
offset, 2, FALSE);
- tlv_len = tvb_get_ntohs(tvb, offset);
offset += 2;
for ( ;numcaps; numcaps--) {
proto_item *sti = NULL;
proto_tree *ancp_tree = NULL;
guint8 byte;
- guint16 len;
ti = proto_tree_add_item(tree, proto_ancp, tvb, 0, -1, FALSE);
proto_tree_add_item(ancp_tree, hf_ancp_len, tvb, offset, 2,
FALSE);
- len = tvb_get_ntohs(tvb, offset);
offset += 2;
sti = proto_tree_add_item(ancp_tree, hf_ancp_ver, tvb, offset, 1,