Age | Commit message (Collapse) | Author | Files | Lines |
|
"{old_}heur_dissector_add()", "{old_}conv_dissector_add()", and
"register_dissector()", so that an entry in those tables has associated
with it the protocol index of the protocol the dissector handles (or -1,
if there is no protocol index for it).
This is for future use in a number of places.
(Arguably, "proto_register_protocol()" should take a dissector pointer
as an argument, but
1) it'd have to handle both regular and heuristic dissectors;
2) making it take either a "dissector_t" or a union of that and
a "heur_dissector_t" introduces some painful header-file
interdependencies
so I'm punting on that for now. As with other Ethereal internal APIs,
these APIs are subject to change in the future, at least until Ethereal
1.0 comes out....)
svn path=/trunk/; revision=2849
|
|
particular protocols, and which keep track of all dissectors that could
be associated with conversations using those particular protocols - for
example, the RTP and RTCP dissectors could be assigned to UDP
conversations.
This is for future use with UI features allowing the dissector for a
given conversation to be set from the UI, to allow
1) conversations between two ports, both of which have
dissectors associated with them, that have been given to the
wrong dissector to be given to the right dissector;
2) conversations between two ports, neither of which have
dissectors associated with them, to be given to a dissector
(RTP and RTCP, for example, typically run on random ports,
and if you don't have, in a capture, traffic that would say
"OK, traffic between these two hosts and ports will be RTP
traffic", you may have to tell Ethereal explicitly what
protocol the conversation is).
svn path=/trunk/; revision=2848
|
|
don't give that address the host name corresponding to the target IP
address.
svn path=/trunk/; revision=2847
|
|
necessary, and won't necessarily work.
svn path=/trunk/; revision=2846
|
|
Code to register the Frame Relay dissector to handle Frame Relay
captures, from Paul Ionescu.
svn path=/trunk/; revision=2845
|
|
svn path=/trunk/; revision=2844
|
|
whether a full protocol tree dissection is being done or not.
svn path=/trunk/; revision=2843
|
|
Fix the GRE dissector to call subdissectors regardless of whether a full
protocol tree dissection is being done or not.
svn path=/trunk/; revision=2842
|
|
the protocol tree code do the work of constructing the display for them,
rather than doing it by hand.
svn path=/trunk/; revision=2841
|
|
the DEC LanBridge STP packet, so that stuff after the end of the packet
gets properly reported as Ethernet trailer data.
svn path=/trunk/; revision=2840
|
|
svn path=/trunk/; revision=2839
|
|
Fragmentation and SPP protocols.
Call the Vines dissector from the UDP dissector via a dissector table.
svn path=/trunk/; revision=2838
|
|
svn path=/trunk/; revision=2837
|
|
svn path=/trunk/; revision=2836
|
|
svn path=/trunk/; revision=2835
|
|
svn path=/trunk/; revision=2834
|
|
Use "tvb_format_text()" to display the printer and options in a request,
so that it doesn't have problems with non-printable characters - or if
we incorrectly decide that a packet is a request merely because it
happens to have what appears to be a valid request code as the first
byte.
svn path=/trunk/; revision=2833
|
|
hack to handle the two copies of "mgcp.{tcp,udp}.port" as best we can).
svn path=/trunk/; revision=2832
|
|
Show the flags in hex, not decimal.
Nobody calls the LanBridge BPDU dissector directly through a handle, so
there's no need to register it.
svn path=/trunk/; revision=2831
|
|
svn path=/trunk/; revision=2830
|
|
svn path=/trunk/; revision=2829
|
|
Put "packet-lapbether.c" into "Makefile.nmake".
svn path=/trunk/; revision=2828
|
|
if we throw an exception, the stuff from the Token-Ring protocol isn't
still there.
svn path=/trunk/; revision=2827
|
|
if we throw an exception, the stuff from the protocol atop which LLC
runs isn't still there.
svn path=/trunk/; revision=2826
|
|
Fix the indentation.
svn path=/trunk/; revision=2825
|
|
svn path=/trunk/; revision=2824
|
|
svn path=/trunk/; revision=2823
|
|
protocols.
svn path=/trunk/; revision=2822
|
|
svn path=/trunk/; revision=2821
|
|
- displays the GFI (the a/q/d bits and modulo are displayed in a subtree of
the GFI)
- correctly dissect the first bit of the GFI : Address bit in call set-up
and clearing packets, Qualifier bit in data packets.
svn path=/trunk/; revision=2820
|
|
svn path=/trunk/; revision=2819
|
|
"proto_tree_add_uint()", not "proto_tree_add_boolean()".
svn path=/trunk/; revision=2818
|
|
with not terminating their arrays because they knew the limits of the
value used to look up strings in the value_string array, but the
dfilter_expr_dlg does not know these limits and must rely on the terminating
{0, NULL} record.
Also, in SNA fixed a bug in which a field should have been defined as FT_UINT8
but was defined as FT_BOOLEAN.
In WTP, fixed a value string which had duplicate keys.
svn path=/trunk/; revision=2817
|
|
static, and have other dissectors call them through handles.
svn path=/trunk/; revision=2816
|
|
call it through a handle.
svn path=/trunk/; revision=2815
|
|
called directly from outside "packet-zebra.c".
svn path=/trunk/; revision=2814
|
|
"proto_register_protocol()" and the addition of
"prefs_register_module()".
svn path=/trunk/; revision=2813
|
|
"prefs_register_module()" except that it takes a protocol index as
returned by "proto_register_protocol()" as its first argument, rather
than taking two character strings as arguments as its first two
arguments, and uses the protocol's abbreviation as the name to use for
preferences in the preferences file and the "-o" flag and uses the
protocol's short name as the name to use in the tabs in the
"Edit->Preferences" window.
svn path=/trunk/; revision=2812
|
|
protocols, in addition to adding structures to the list of filterable
fields. Give it an extra argument that specifies a "short name" for the
protocol, for use in such places as
pinfo->current_proto;
the dialog box for constructing filters;
the preferences tab for the protocol;
and so on (although we're not yet using it in all those places).
Make the preference name that appears in the preferences file and the
command line for the DIAMETER protocol "diameter", not "Diameter"; the
convention is that the name in question be all-lower-case.
Make some routines and variables that aren't exported static.
Update a comment in the ICP dissector to make it clear that the
dissector won't see fragments other than the first fragment of a
fragmented datagram.
svn path=/trunk/; revision=2811
|
|
protocols, in addition to adding structures to the list of filterable
fields. Give it an extra argument that specifies a "short name" for the
protocol, for use in such places as
pinfo->current_proto;
the dialog box for constructing filters;
the preferences tab for the protocol;
and so on (although we're not yet using it in all those places).
Make the preference name that appears in the preferences file and the
command line for the DIAMETER protocol "diameter", not "Diameter"; the
convention is that the name in question be all-lower-case.
Make some routines and variables that aren't exported static.
Update a comment in the ICP dissector to make it clear that the
dissector won't see fragments other than the first fragment of a
fragmented datagram.
svn path=/trunk/; revision=2810
|
|
on a NetServerEnum2 request.
svn path=/trunk/; revision=2809
|
|
HTTP-based SSDP protocol, from David Hampton.
svn path=/trunk/; revision=2808
|
|
the value entry on the type of the field, not on whether the value entry
is visible; the value entry is hidden, in "field_select_row_cb()", after
"build_boolean_values()" is called, and building the list in
"build_boolean_values()" will cause an entry in that list to be
selected, and "value_list_sel_cb()" will be called as a result, so it
can't correctly base its decision on whether to set the value entry on
whether the entry is visible, as it's not yet been made invisible.
Fix a comment.
svn path=/trunk/; revision=2807
|
|
svn path=/trunk/; revision=2806
|
|
display tree, based on Jeff Foster's dialog box for selecting fields.
Make the dialog box for browsing filters into a dialog box for
constructing filters; make the "Apply" button and the "OK" button apply
the filter in the text entry box in the dialog, not the currently
selected filter (selecting a filter puts it in that text entry box, but
the user may edit it afterwards, or may use the aforementioned dialog
box to construct a filter not in the list).
Get rid of extra declarations of "m_r_font" and "m_b_font" in
"proto_draw.c"; they're declared in "gtk/gtkglobals.h", which it includes.
svn path=/trunk/; revision=2805
|
|
was not being picked up ...
Will have to add proper state keeping code soon ...
svn path=/trunk/; revision=2804
|
|
svn path=/trunk/; revision=2803
|
|
svn path=/trunk/; revision=2802
|
|
svn path=/trunk/; revision=2801
|
|
or "[Malformed Frame]" to the Info column.
Make some dissectors set the Protocol column and clear the Info column
before fetching anything from the tvbuff they were handed, so that if
the frame is short or malformed, it'll be marked as being the right
top-level protocol, and the Info column won't have cruft left over from
the previous protocol.
svn path=/trunk/; revision=2800
|