Support for dissection of concatenated SMPP PDUs.
Also:
Add more information to the protocol tree summary.
Clean up the white space so it's in-line with the conventions
of the original author (8-space tabs, 4-space indentations).
svn path=/trunk/; revision=9696
Clean up white space.
Have "font_fetch()" return a Boolean indicating whether it succeeded or
not. If it failed, don't use "new_font_name", as it hasn't been set.
svn path=/trunk/; revision=9689
to subdissectors. This means that we need to parse the MMS headers for
those PDUs.
Fix also indentation (8-space tabs, 4-space soft tabs).
svn path=/trunk/; revision=9688
Note: I don't know anything about the limitations of nmake, so I don't know
whether the `find ...` will work and I can't test it, as I don't have a
Windows system with anything even remotely resembling a compiler on it.
svn path=/trunk/; revision=9687
"proto_tree_add_uint_format()" truncates it to a guint32; that might be
what you'd want if it has no fractional part, but it's probably not what
you want if it has a fractional part. Make the validity time and hello
emission interval values be FT_DOUBLE - and make the variables storing
them doubles so that we don't get whinging from some compilers about
stuffing doubles into floats.
Use hex, not decimal, for bitmasks.
svn path=/trunk/; revision=9685
That means that the codeset number cannot be bigger than the number of
elements in "q931_info_element_vals[]", so we can get rid of the checks
for the codeset value; we also make NUM_INFO_ELEMENT_VALS equal to
(Q931_IE_SHIFT_CODESET+1), to make this clearer.
svn path=/trunk/; revision=9676
handle the case where the address presentation restricted
indicator in a location number parameter indicates the address
isn't available;
register as "application/isup", not "application/ISUP", as
dissectors that use the media_type dissector table convert the
media type to lower case, under the assumption that dissectors
register all-lower-case media types, to make the match
case-insensitive.
svn path=/trunk/; revision=9661
them and running all taps on them, but not reconstructing the packet
list. Use that in the IO-stat tap rather than "redissect_packet()"; the
latter does more work and redraws the display, neither of which are
necessary.
Call the filter callback when the Calc field is changed, to redraw the
graphs; that change also fixes things so that it's called when the
Filter field is changed.
Rename the "filter_button" member of an io_stat_graph_t to
"filter_field", as it's not the "Filter:" button, it's the text field
containing the filter expression.
svn path=/trunk/; revision=9659
so you can't rely on getting the length of an FT_UINT_STRING item by
calling "proto_tree_add_item()" and fetching the item length from the
item. Get the length of the string explicitly, and advance the offset
by the length of the string plus the length of the length field.
svn path=/trunk/; revision=9658
"gtk_iostat_reset()" call it, and have calls to
"gtk_iostat_reset(&io->graphs[0])" just call "io_stat_reset(io)".
Add a routine "io_stat_draw()" to draw an io_stat_t; have
"gtk_iostat_draw()" call it, and have calls to
"gtk_iostat_draw(&io->graphs[0])" just call "io_stat_draw(io)".
Add a routine "io_stat_redraw()" to set the "needs_redraw" flag on an
io_stat_t and call "io_stat_draw()" on it, in order to force a redraw.
Use that in place of set flag/io_stat_draw pairs.
Add a routine "enable_graph()" to set an io_stat_graph_t's display flag
to TRUE and register a tap listener for it, and add a routine
"disable_graph()" to, if an io_stat_graph_t's display flag is set, clear
it, remove its tap listener, and turn its display button off. Use
"disable_graph()" to disable graphs, rather than just turning the
display flag off, so that we ensure that the invariant "tap listener
present iff graph enabled" is preserved - the code to destroy an io-stat
window only removes tap listeners for enabled graphs, so it depends on
that invariant being preserved.
Check the validity of a display filter by compiling it, not by going
through the whole sequence of registering a tap listener.
svn path=/trunk/; revision=9656