diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-02-02 16:01:52 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-02-02 16:01:52 +0000 |
commit | 88b72356adcf886a2381572c758d4d4f881ba559 (patch) | |
tree | e7f51edf88c97e06325053a1bb28b7768e940a44 /epan/dissectors/packet-6lowpan.c | |
parent | 6dfde6891119b45e7ae543c4601ba69d5b833127 (diff) |
Introduce "Reassembled length" filter element for all protocols doing
reassembly.
svn path=/trunk/; revision=31767
Diffstat (limited to 'epan/dissectors/packet-6lowpan.c')
-rw-r--r-- | epan/dissectors/packet-6lowpan.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-6lowpan.c b/epan/dissectors/packet-6lowpan.c index 8aa91b8445..e13c599c02 100644 --- a/epan/dissectors/packet-6lowpan.c +++ b/epan/dissectors/packet-6lowpan.c @@ -337,6 +337,7 @@ static int hf_6lowpan_fragment_multiple_tails = -1; static int hf_6lowpan_fragment_too_long_fragment = -1; static int hf_6lowpan_fragment_error = -1; static int hf_6lowpan_reassembled_in = -1; +static int hf_6lowpan_reassembled_length = -1; static gint ett_6lowpan_fragment = -1; static gint ett_6lowpan_fragments = -1; @@ -354,6 +355,8 @@ static const fragment_items lowpan_frag_items = { &hf_6lowpan_fragment_error, /* Reassembled in field */ &hf_6lowpan_reassembled_in, + /* Reassembled length field */ + &hf_6lowpan_reassembled_length, /* Tag */ "6LoWPAN fragments" }; @@ -2163,7 +2166,9 @@ proto_register_6lowpan(void) { &hf_6lowpan_fragment_error, { "Message defragmentation error", "6lowpan.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }}, { &hf_6lowpan_reassembled_in, - { "Reassembled in", "6lowpan.reassembled.in",FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }} + { "Reassembled in", "6lowpan.reassembled.in",FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }}, + { &hf_6lowpan_reassembled_length, + { "Reassembled length", "6lowpan.reassembled.length",FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL }} }; static gint *ett[] = { |