aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-uaudp.c19
-rw-r--r--epan/dissectors/packet-uaudp.h1
2 files changed, 19 insertions, 1 deletions
diff --git a/epan/dissectors/packet-uaudp.c b/epan/dissectors/packet-uaudp.c
index 01e3810d50..8562f8c813 100644
--- a/epan/dissectors/packet-uaudp.c
+++ b/epan/dissectors/packet-uaudp.c
@@ -59,6 +59,7 @@ static int hf_uaudp_keepalive = -1;
static int hf_uaudp_qos_ip_tos = -1;
static int hf_uaudp_qos_8021_vlid = -1;
static int hf_uaudp_qos_8021_pri = -1;
+static int hf_uaudp_superfast_connect = -1;
static int hf_uaudp_expseq = -1;
static int hf_uaudp_sntseq = -1;
@@ -171,7 +172,7 @@ static void _dissect_uaudp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
"%s",
val_to_str_ext(opcode, &uaudp_opcode_str_ext, "unknown (0x%02x)"));
- uaudp_item = proto_tree_add_protocol_format(tree, proto_uaudp, tvb, 0, 5,
+ uaudp_item = proto_tree_add_protocol_format(tree, proto_uaudp, tvb, 0, tvb_reported_length(tvb),
"Universal Alcatel/UDP Encapsulation Protocol, %s",
val_to_str_ext(opcode, &uaudp_opcode_str_ext, "unknown (0x%02x)"));
@@ -220,6 +221,9 @@ static void _dissect_uaudp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
case UAUDP_CONNECT_QOS_8021_PRI:
rV(uaudp_tree, &hf_uaudp_qos_8021_pri , tvb, offset, L);
break;
+ case UAUDP_CONNECT_SUPERFAST_CONNECT:
+ rV(uaudp_tree, &hf_uaudp_superfast_connect, tvb, offset, L);
+ break;
}
offset += (2 + L);
}
@@ -504,6 +508,19 @@ void proto_register_uaudp(void)
}
},
{
+ &hf_uaudp_superfast_connect,
+ {
+ "SuperFast Connect",
+ "uaudp.superfast_connect",
+ FT_UINT8,
+ BASE_DEC,
+ NULL,
+ 0x0,
+ "UA/UDP SuperFast Connect",
+ HFILL
+ }
+ },
+ {
&hf_uaudp_expseq,
{
"Sequence Number (expected)",
diff --git a/epan/dissectors/packet-uaudp.h b/epan/dissectors/packet-uaudp.h
index e932feb014..e890483d9c 100644
--- a/epan/dissectors/packet-uaudp.h
+++ b/epan/dissectors/packet-uaudp.h
@@ -42,6 +42,7 @@
#define UAUDP_CONNECT_QOS_IP_TOS 0x06
#define UAUDP_CONNECT_QOS_8021_VLID 0x07
#define UAUDP_CONNECT_QOS_8021_PRI 0x08
+#define UAUDP_CONNECT_SUPERFAST_CONNECT 0x09
extern value_string_ext uaudp_opcode_str_ext;
#if 0