aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wtls.c
AgeCommit message (Collapse)AuthorFilesLines
2001-12-10Move the pointer to the "column_info" structure in the "frame_data"guy1-7/+6
structure to the "packet_info" structure; only stuff that's permanently stored with each frame should be in the "frame_data" structure, and the "column_info" structure is not guaranteed to hold the column values for that frame at all times - it was only in the "frame_data" structure so that it could be passed to dissectors, and, as all dissectors are now passed a pointer to a "packet_info" structure, it could just as well be put in the "packet_info" structure. That saves memory, by shrinking the "frame_data" structure (there's one of those per frame), and also lets us clean up the code a bit. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4370 f5534014-38df-0310-8fa8-9805f1628bb7
2001-12-03Make "dissector_add()", "dissector_delete()", and "dissector_change()"guy1-4/+7
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4308 f5534014-38df-0310-8fa8-9805f1628bb7
2001-12-03As you set a conversation dissector by supplying a dissector handleguy1-2/+2
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4306 f5534014-38df-0310-8fa8-9805f1628bb7
2001-09-28Push-traffic dissecting for WSP/WTLS, from Tom Uijldert.guy1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3968 f5534014-38df-0310-8fa8-9805f1628bb7
2001-09-14Make the resolution for time values be nanoseconds rather thanguy1-11/+11
microseconds. Fix some "signed vs. unsigned" comparison warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3934 f5534014-38df-0310-8fa8-9805f1628bb7
2001-07-20Don't base the WSP dissector's idea of whether it's running inguy1-3/+3
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3750 f5534014-38df-0310-8fa8-9805f1628bb7
2001-07-03Don't base the protocol column setting in the WSP and WTP dissectors onguy1-3/+1
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3647 f5534014-38df-0310-8fa8-9805f1628bb7
2001-06-18From Joerg Mayer: explicitly fill in all members of aguy1-68/+68
"header_field_info" structure, including the ones that are later set by the routines to register fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3561 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-02Updates from Alexandre P. Ferreira.guy1-154/+238
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3396 f5534014-38df-0310-8fa8-9805f1628bb7
2001-04-19FT_UINTn and FT_INTn fields must always have a base selected for them;guy1-3/+3
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3334 f5534014-38df-0310-8fa8-9805f1628bb7
2001-04-18Fix from Patrick Wolfe.guy1-30/+36
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3327 f5534014-38df-0310-8fa8-9805f1628bb7
2001-04-17WTLS client and trusted key ID handling enhancements, from Patrick Wolfe.guy1-1/+216
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3319 f5534014-38df-0310-8fa8-9805f1628bb7
2001-03-09Fixes to Lemon to get it to compile on platforms (such as some versionsguy1-2/+2
of Tru64 UNIX) that define TRUE and FALSE. Fixes to some Tru64 compiler warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3120 f5534014-38df-0310-8fa8-9805f1628bb7
2001-02-19Updates from Alexandre P. Ferreira.guy1-10/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3048 f5534014-38df-0310-8fa8-9805f1628bb7
2001-02-15Updates from Alexandre P. Ferreira.guy1-29/+34
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3041 f5534014-38df-0310-8fa8-9805f1628bb7
2001-02-13Updates from Neil Hunter.guy1-0/+1337
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3026 f5534014-38df-0310-8fa8-9805f1628bb7