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-h223.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-h223.c')
-rw-r--r-- | epan/dissectors/packet-h223.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/dissectors/packet-h223.c b/epan/dissectors/packet-h223.c index 006769d2c2..fadeb13622 100644 --- a/epan/dissectors/packet-h223.c +++ b/epan/dissectors/packet-h223.c @@ -79,6 +79,7 @@ static int hf_h223_mux_fragment_overlap_conflict = -1; static int hf_h223_mux_fragment_multiple_tails = -1; static int hf_h223_mux_fragment_too_long_fragment = -1; static int hf_h223_mux_fragment_error = -1; +static int hf_h223_mux_fragment_count = -1; static int hf_h223_mux_reassembled_in = -1; static int hf_h223_mux_reassembled_length = -1; @@ -89,6 +90,7 @@ static int hf_h223_al_fragment_overlap_conflict = -1; static int hf_h223_al_fragment_multiple_tails = -1; static int hf_h223_al_fragment_too_long_fragment = -1; static int hf_h223_al_fragment_error = -1; +static int hf_h223_al_fragment_count = -1; static int hf_h223_al_reassembled_in = -1; static int hf_h223_al_reassembled_length = -1; @@ -134,6 +136,7 @@ static const fragment_items h223_mux_frag_items _U_ = { &hf_h223_mux_fragment_multiple_tails, &hf_h223_mux_fragment_too_long_fragment, &hf_h223_mux_fragment_error, + &hf_h223_mux_fragment_count, &hf_h223_mux_reassembled_in, &hf_h223_mux_reassembled_length, "fragments" @@ -149,6 +152,7 @@ static const fragment_items h223_al_frag_items = { &hf_h223_al_fragment_multiple_tails, &hf_h223_al_fragment_too_long_fragment, &hf_h223_al_fragment_error, + &hf_h223_al_fragment_count, &hf_h223_al_reassembled_in, &hf_h223_al_reassembled_length, "fragments" @@ -1474,6 +1478,10 @@ void proto_register_h223 (void) { "Defragmentation error", "h223.mux.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "Defragmentation error due to illegal fragments", HFILL }}, + { &hf_h223_mux_fragment_count, + { "Fragment count", "h223.mux.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x0, + NULL, HFILL }}, + { &hf_h223_mux_fragment, { "H.223 MUX-PDU Fragment", "h223.mux.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, @@ -1511,6 +1519,10 @@ void proto_register_h223 (void) { "Defragmentation error", "h223.al.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x0, "Defragmentation error due to illegal fragments", HFILL }}, + { &hf_h223_al_fragment_count, + { "Fragment count", "h223.al.fragment.count", FT_UINT32, BASE_DEC, NULL, 0x0, + NULL, HFILL }}, + { &hf_h223_al_fragment, { "H.223 AL-PDU Fragment", "h223.al.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x0, NULL, HFILL }}, |