Commit Graph

15 Commits

Author SHA1 Message Date
Guy Harris bced8711f6 Make "dissector_add()", "dissector_delete()", and "dissector_change()"
take a dissector handle as an argument, rather than a pointer to a
dissector function and a protocol ID.  Associate dissector handles with
dissector table entries.

svn path=/trunk/; revision=4308
2001-12-03 04:00:26 +00:00
Guy Harris 852e3fffe5 As you set a conversation dissector by supplying a dissector handle
rather than a function pointer, "dissect_wtp_fromudp()" no longer needs
to be global; make it static, register it by name, and have the WSP
dissector get the handle by calling "find_dissector()" rather than by
constructing its own handle for it.

Fix up some attributions.

svn path=/trunk/; revision=4306
2001-12-03 02:10:31 +00:00
Guy Harris 434a3ded4c Push-traffic dissecting for WSP/WTLS, from Tom Uijldert.
svn path=/trunk/; revision=3968
2001-09-28 18:59:30 +00:00
Guy Harris 1d42c94b05 Make the resolution for time values be nanoseconds rather than
microseconds.

Fix some "signed vs. unsigned" comparison warnings.

svn path=/trunk/; revision=3934
2001-09-14 07:10:13 +00:00
Guy Harris 80722d15cf Don't base the WSP dissector's idea of whether it's running in
connectionless or connection-oriented mode on the server port; that
won't work with redirects.  Instead, base it on the protocol atop which
WSP is running - atop UDP, or directly atop WTLS, it's connectionless;
atop WTP, it's connection-oriented.

svn path=/trunk/; revision=3750
2001-07-20 09:10:16 +00:00
Guy Harris c4bd63678c Don't base the protocol column setting in the WSP and WTP dissectors on
the port - instead, base it on whether the dissector was called directly
from UDP or called from another WAP dissector.

That way, if you explicitly say "decode this as WTP" because there was a
redirection (or if, in the future, the WSP dissector handles
redirections for you, although that won't handle the case of a capture
where the redirection wasn't captured), the column doesn't say "UDP", it
says the right thing.

Don't register the WTLS dissector by name - nobody calls it through a
handle.

Register the WTP dissector by name, as the WTLS dissector tries to get a
handle for it - although it doesn't actually call it, or the WSP
dissector, through a handle.

svn path=/trunk/; revision=3647
2001-07-03 09:53:22 +00:00
Guy Harris 8412393197 From Joerg Mayer: explicitly fill in all members of a
"header_field_info" structure, including the ones that are later set by
the routines to register fields.

svn path=/trunk/; revision=3561
2001-06-18 02:18:27 +00:00
Guy Harris a7db881896 Updates from Alexandre P. Ferreira.
svn path=/trunk/; revision=3396
2001-05-02 22:37:06 +00:00
Guy Harris 0fa45bb541 FT_UINTn and FT_INTn fields must always have a base selected for them;
otherwise, the filtering GUI gets very upset when you try to construct a
filter expression to test the value of that field.  Make them BASE_DEC.

svn path=/trunk/; revision=3334
2001-04-19 23:02:44 +00:00
Guy Harris 98a6960c42 Fix from Patrick Wolfe.
svn path=/trunk/; revision=3327
2001-04-18 20:01:17 +00:00
Guy Harris 1985272288 WTLS client and trusted key ID handling enhancements, from Patrick Wolfe.
svn path=/trunk/; revision=3319
2001-04-17 23:26:52 +00:00
Guy Harris 64a43e1c0e Fixes to Lemon to get it to compile on platforms (such as some versions
of Tru64 UNIX) that define TRUE and FALSE.

Fixes to some Tru64 compiler warnings.

svn path=/trunk/; revision=3120
2001-03-09 04:35:25 +00:00
Guy Harris 1574eec2f4 Updates from Alexandre P. Ferreira.
svn path=/trunk/; revision=3048
2001-02-19 21:02:33 +00:00
Guy Harris 843dbe1e82 Updates from Alexandre P. Ferreira.
svn path=/trunk/; revision=3041
2001-02-15 19:46:41 +00:00
Guy Harris 35dfa54307 Updates from Neil Hunter.
svn path=/trunk/; revision=3026
2001-02-13 00:17:55 +00:00