diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-01-30 21:01:07 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-01-30 21:01:07 +0000 |
commit | 84bc28bd6abc416b3ef2762157d957ee58bb8791 (patch) | |
tree | 4527262549f59bbfdbf71a9be3674b9724ec510e /epan/dissectors/packet-ndps.c | |
parent | 7a16aeaf058e50c0247570727fd498a505a3cdbe (diff) |
Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
Diffstat (limited to 'epan/dissectors/packet-ndps.c')
-rw-r--r-- | epan/dissectors/packet-ndps.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ndps.c b/epan/dissectors/packet-ndps.c index 199526e1fe..312408a437 100644 --- a/epan/dissectors/packet-ndps.c +++ b/epan/dissectors/packet-ndps.c @@ -70,6 +70,7 @@ static int hf_ndps_segment_overlap_conflict = -1; static int hf_ndps_segment_multiple_tails = -1; static int hf_ndps_segment_too_long_segment = -1; static int hf_ndps_segment_error = -1; +static int hf_ndps_segment_count = -1; static int hf_ndps_reassembled_length = -1; static gint ett_ndps_segments = -1; @@ -4034,6 +4035,7 @@ static const fragment_items ndps_frag_items = { &hf_ndps_segment_multiple_tails, &hf_ndps_segment_too_long_segment, &hf_ndps_segment_error, + &hf_ndps_segment_count, NULL, &hf_ndps_reassembled_length, "segments" @@ -9361,6 +9363,10 @@ proto_register_ndps(void) {"Desegmentation error", "ndps.segment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "Desegmentation error due to illegal segments", HFILL }}, + { &hf_ndps_segment_count, + {"Segment count", "ndps.segment.count", FT_UINT32, BASE_DEC, + NULL, 0x0, NULL, HFILL }}, + { &hf_ndps_reassembled_length, {"Reassembled NDPS length", "ndps.reassembled.length", FT_UINT32, BASE_DEC, NULL, 0x0, "The total length of the reassembled payload", HFILL }}, |