aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mmse.c
AgeCommit message (Collapse)AuthorFilesLines
2004-02-06Add a new dissector table for multipart media encpsulation (similar to theOlivier Biot1-20/+62
"media_type" dissector table defined in the HTTP dissector), allowing us to make the distinction between dissecting a standaone media type and an encapsulated media type (e.g., encapsulated in a multipart entity). Provide separate dissectors for "standalone" and "encapsulated" MMSE, hence fixing the needlessly clearing of the Info column when the MMSE is only part of the encapsulated entity (e.g., in the PAP protocol for WAP Push). svn path=/trunk/; revision=9988
2004-01-17PDUs with a content-type header may contain data that can be handed offOlivier Biot1-118/+194
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
2004-01-04Fix the multipart dissection in WSP so media embedded in a multipart entityOlivier Biot1-2/+2
gets handed off to subdissectors. However nested multipart entities are not supported yet. Add more information to the WSP protocol summary line. Add some more clarifications (comments) in the WSP code. Skip parsing of URL encoded data if tree is NULL. svn path=/trunk/; revision=9540
2003-12-21Fix a sprintf to non-malloc()ed memory by using g_strdup_printf() and g_free().Olivier Biot1-4/+5
svn path=/trunk/; revision=9395
2003-12-21warning: static declaration for ... follows non-staticJörg Mayer1-3/+3
svn path=/trunk/; revision=9394
2003-12-20Not all C compilers allow declarations in the middle of executableGuy Harris1-2/+2
code. svn path=/trunk/; revision=9368
2003-12-19Add debug logging to the MMSE dissector.Olivier Biot1-2/+68
svn path=/trunk/; revision=9359
2003-12-18Mallocate buffers for the strings gotten by "get_encoded_strval()" andGuy Harris1-26/+45
"get_encoded_strval()", rather than filling in a fixed-size buffer, so that we don't overflow the buffer. svn path=/trunk/; revision=9340
2003-12-08Get rid of the integer media type dissector table in WSP, WBXML and MMSE.Olivier Biot1-8/+3
svn path=/trunk/; revision=9203
2003-12-07Remove the literal WSP content type dissector table, and replace it with the ↵Olivier Biot1-4/+4
"media_type" table defined in the HTTP dissector. svn path=/trunk/; revision=9194
2003-12-07Rename the "http.content_type" dissector table to "media_type", as it'sGuy Harris1-2/+2
for use in any dissector that uses Internet media types. svn path=/trunk/; revision=9189
2003-11-19Register the MMSE dissector with the "http.content_type" dissectorGuy Harris1-6/+4
table, rathe than as a heuristic subdissector of HTTP. svn path=/trunk/; revision=9026
2003-10-09From Biot Olivier:Guy Harris1-3/+7
Rename WSP defines to avoid collisions with Windows defines. Rename WSP dissector table for integer-value content types. Add WSP dissector table for literal content types. Add WSP dissection registration for literal content types. Register literal and extra WBXML content types to WSP dissector. Register textual MMS content type to WSP dissector. svn path=/trunk/; revision=8648
2003-07-07From Darren Steele: fetch the delivery time from the correct offset.Guy Harris1-2/+3
svn path=/trunk/; revision=7976
2003-06-08Print a warning in the protocol tree instead of the console.Gerald Combs1-4/+3
svn path=/trunk/; revision=7809
2002-09-26From Tom Uijldert: MMSE over HTTP supportRonnie Sahlberg1-3/+2
svn path=/trunk/; revision=6336
2002-08-07From Tom Uijldert: modify MMSE dissector to also accept content that isGuy Harris1-4/+3
not multipart. Replace my fix to create subtrees for POST data with Tom's. svn path=/trunk/; revision=5968
2002-08-05From Jan Kratochvil: fix MMSE handling of strings with specifiedGuy Harris1-2/+2
character set. svn path=/trunk/; revision=5951
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-9/+1
equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
2002-07-17From Joerg Mayer:Guy Harris1-5/+1
dftest.c: Remove #if-0-ed includes packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c, packet-wtp.c, ethereal_gen.py: Remove redundant include varargs (already in snprintf.h, and required only for snprintf.h) Remove unused include of snprintf.h from files not using "snprintf()". svn path=/trunk/; revision=5889
2002-06-07From Martin Gignac: fix the handling of From: headers to properlyGuy Harris1-5/+4
interpret and show Value-Length fields bigger than a single byte. allows the dissector to properly interpret and show From: headers with a Value-Length field bigger than a single byte. svn path=/trunk/; revision=5653
2002-06-05From Martin Gignac: make the MMS heuristic dissector recognize packetsGuy Harris1-3/+5
that lack a Transaction-Id header, as some packets don't have one. svn path=/trunk/; revision=5630
2002-06-05From Martin Gignac: fix some values to match theGuy Harris1-5/+5
WAP-209-MMSEncapsulation-20020105-a spec. svn path=/trunk/; revision=5629
2002-06-03From Martin Gignac: fix the "cc" field.Guy Harris1-2/+2
svn path=/trunk/; revision=5613
2002-05-29From Martin Gignac: fix Sender-Visibility field to use the rightGuy Harris1-4/+4
value_string table. Clean up capitalization. svn path=/trunk/; revision=5594
2002-01-24Replace a bunch of "tvb_length()" and "tvb_length_remaining()" calls inGuy Harris1-3/+2
arguments to "proto_tree_add_text()", and to "proto_tree_add_XXX()" calls that add FT_NONE or FT_PROTO items to the protocol tree, with -1. Replace some calls to "tvb_length()" or "tvb_length_remaining()" with calls to "tvb_reported_length()" and "tvb_reported_length_remaining()", as those give the actual length of the data in the packet, not just the data that happened to be captured. svn path=/trunk/; revision=4605
2002-01-21Include files from the "epan" directory and subdirectories thereof withGuy Harris1-2/+2
"epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4586
2002-01-08From Tom Uijldert: fix to supply a non-null string argument toGuy Harris1-8/+7
"proto_tree_add_string_format()", so the item has a value, and so that Ethereal doesn't just crash. Get rid of some uses of "tvb_length()" - use "tvb_reported_length()", or -1, instead (so that we don't quit when we run out of captured data). Use "g_warning()", as other dissectors do, for reporting problems with packets. (They should really put it into the protocol tree, instead, but that's another matter....) svn path=/trunk/; revision=4500
2001-12-10Move the pointer to the "column_info" structure in the "frame_data"Guy Harris1-6/+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. svn path=/trunk/; revision=4370
2001-12-07From Tom Uijldert: WSP/MMSE changes to handle multipart-content:Guy Harris1-29/+47
packet-wsp.[ch]: - Proper parameter-dissection - Now handles multipart content - Exports content-type & multipart-dissection - Attach a sub-dissector based on content-type packet-mmse.c: - Dissecting message-content added - Registers with WSP based on content-type. svn path=/trunk/; revision=4353
2001-10-19From Tom Uijldert: fix to the date decoding, fix a field's name, andGuy Harris1-5/+5
protocol-name cosmetic changes. svn path=/trunk/; revision=4045
2001-09-25MMSE support, from Tom Uijldert.Guy Harris1-0/+869
svn path=/trunk/; revision=3954