diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-05-14 19:57:19 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-05-14 19:57:19 +0000 |
commit | 8e509279b899720a94ffc466b49c0955222befe1 (patch) | |
tree | 546abfb2471636d97530060b6ad75c9cbf4f0515 /epan/dissectors/packet-exported_pdu.c | |
parent | cd01af1357a5587b22c4af3e43d82c27771add13 (diff) |
Add a tag for original frame number.
svn path=/trunk/; revision=49298
Diffstat (limited to 'epan/dissectors/packet-exported_pdu.c')
-rw-r--r-- | epan/dissectors/packet-exported_pdu.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/dissectors/packet-exported_pdu.c b/epan/dissectors/packet-exported_pdu.c index 93143b6fb2..2b74fc04c6 100644 --- a/epan/dissectors/packet-exported_pdu.c +++ b/epan/dissectors/packet-exported_pdu.c @@ -45,6 +45,7 @@ static int hf_exported_pdu_ipv6_src = -1; static int hf_exported_pdu_ipv6_dst = -1; static int hf_exported_pdu_src_port = -1; static int hf_exported_pdu_dst_port = -1; +static int hf_exported_pdu_orig_fno = -1; /* Initialize the subtree pointers */ @@ -73,6 +74,8 @@ static const value_string exported_pdu_tag_vals[] = { { EXP_PDU_TAG_SS7_OPC, "SS7 OPC" }, { EXP_PDU_TAG_SS7_DPC, "SS7 DPC" }, + { EXP_PDU_TAG_ORIG_FNO, "Original Frame number" }, + { 0, NULL } }; @@ -144,6 +147,9 @@ dissect_exported_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree_add_item(tag_tree, hf_exported_pdu_dst_port, tvb, offset, 4, ENC_BIG_ENDIAN); pinfo->destport = tvb_get_ntohl(tvb,offset); break; + case EXP_PDU_TAG_ORIG_FNO: + proto_tree_add_item(tag_tree, hf_exported_pdu_orig_fno, tvb, offset, 4, ENC_BIG_ENDIAN); + break; default: break; }; @@ -227,6 +233,11 @@ proto_register_exported_pdu(void) FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, + { &hf_exported_pdu_orig_fno, + { "Original Frame Number", "exported_pdu.orig_fno", + FT_INT32, BASE_DEC, NULL, 0, + NULL, HFILL } + }, }; /* Setup protocol subtree array */ |