aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mgcp
AgeCommit message (Collapse)AuthorFilesLines
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping1-9/+2
I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... svn path=/trunk/; revision=15520
2005-08-10ep_tvb_get_string() -> tvb_get_ephemeral_string().Gerald Combs1-3/+3
svn path=/trunk/; revision=15277
2005-07-27fix another leak of tap dataLuis Ontanon1-15/+10
svn path=/trunk/; revision=15113
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.Jörg Mayer1-5/+5
svn path=/trunk/; revision=15015
2005-07-10After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"Jörg Mayer1-0/+3
returned quite a list of files. Add them to MAINTAINERCLEANFILES. Whitespace changes (replace multiple spaces by TABs, in a few cases this needed to be done at the beginning of Makefile lines. svn path=/trunk/; revision=14891
2005-05-28from Alejandro VaqueroRonnie Sahlberg1-0/+10
fox to packet-mgcp.c to make the viop analysis working again. svn path=/trunk/; revision=14468
2005-05-26From Martin Mathieson:Anders Broman1-1/+2
This 2-liner: - adds the correct item for localconnectionoptions param - recognises the message verb "MESG" svn path=/trunk/; revision=14444
2005-05-02In dissect_mgcp_firstline(), throw an exception if tokenlen > 4. This fixesGerald Combs1-0/+2
bug 145, but may not be the best solution. svn path=/trunk/; revision=14275
2005-04-29From Martin Mathieson:Lars Roland2-91/+310
- added support for local connection options - added missing "Response Acknowledgement (000)" response code - got rid of "display_dissect_tree" preference and code - increased version number in moduleinfo.h svn path=/trunk/; revision=14225
2005-04-26Reindent the mgcp dissector with tabs andLars Roland2-1357/+1355
remove trailing white spaces. svn path=/trunk/; revision=14195
2005-04-25From Martin Mathieson:Lars Roland2-1427/+1614
a first step of cleaning up the mgcp dissector: - re-indenting/formatting the file as it was tricky to follow - some code simplification and commenting (more to do) - losing some unnecessary includes (not needed under linux at least...) - show duplicate request and response fields in tree (previously hidden) - improved duplicate response detection - fix a couple of problems shown by fuzz testing svn path=/trunk/; revision=14181
2005-04-18Make sure a pointer isn't null before we dereference it.Gerald Combs1-1/+1
svn path=/trunk/; revision=14121
2005-04-18Keep MGCP from looping in an infinite fashion. Other parts of the code lookGerald Combs1-1/+4
like they might be prone to doing the same. svn path=/trunk/; revision=14119
2005-04-08From Martin MRonnie Sahlberg1-73/+168
updates to MGCP checked in per Anders B request hope it compiles svn path=/trunk/; revision=14028
2005-03-29From Martin Mathieson :Anders Broman1-28/+38
- allow dissector to show "MGCP/SDP" in the Protocol column, at least when the 'Display the number of MGCP messages' preference is switched off - when displaying the command verb, show in the tree the full verb name as well as the 4-letter code - show the links to response and request messages as being [generated] - fixed some indentation problems svn path=/trunk/; revision=13972
2005-03-07Call the "new-style init" routine for plugins a "register" routine, asGuy Harris1-6/+6
it serves the same purpose as the register routine in a built-in dissector, and don't require all dissectors to have one, as they might just be taps. Get rid of the stats tree's init routine, as it's just a tap, and as it doesn't do anything. Update the idl2eth Python script to generate plugins with register routines. svn path=/trunk/; revision=13644
2005-03-05Preparations for dropping the old plugin api.Lars Roland2-16/+5
Introduce a new init routine for plugins, which does not take the plugin api table as an argument and allows etheral to distinguish between plugins using the old and the new api. Update README.plugins accordingly Change all g_warnings() in epan/plugins.c to report_failue(). On windows we do not have a log console open while loading the plugins, because a log console cannot be opened before the prefs have been read. Thus g_warnings() does not work for reporting problems with plugins. svn path=/trunk/; revision=13596
2005-02-21ooops,I forgot this one with the last checkinLuis Ontanon1-1/+1
svn path=/trunk/; revision=13462
2005-02-20Don't register mgcp taps, Lars Roland2-8/+51
when we haven't loaded the mgcp plugin. and From Alejandro Vaquero: mgcp support for the voip call analysis tap svn path=/trunk/; revision=13447
2005-02-14Make the "maintainer-clean" rules get rid of some additional generatedGuy Harris1-0/+2
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and GENERATED_FILES macros in Makefile.common files, along the lines of what wiretap/Makefile.common has. Clean up "*~" files with "make clean" rather than only "make distclean" in some additional places. Add "maintainer-clean" rules to the Makefile.nmake files, paralelling the ones in the automake-generated Makefile.in files, using the GENERATED_FILES macros from Makefile.common files. In some cases, move the cleanup of files from "make distclean" to "make maintainer-clean", and in other cases, put in a comment indicating why we're not doing that (because some files that are distributed in the source tarballs, namely Flex output, were built with a UN*X Flex and won't compile on Windows, so we get rid of them with "make distclean" so you can clean up stuff that *has* to be re-generated for Windows). Clean up some *CLEANFILES definitions - get rid of ones that no longer apply as files were moved or that add to the definition a name that's already there. svn path=/trunk/; revision=13402
2005-02-02From Jon Ringle:Anders Broman1-6/+6
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. svn path=/trunk/; revision=13244
2005-01-05From Chris Maynard: free a string obtained with "tvb_get_string()".Guy Harris1-1/+1
svn path=/trunk/; revision=12958
2005-01-01When computing a hash value based on, among other things, aGuy Harris1-1/+1
conversation, use the "index" member of the conversation_t - that lets you get a value that fits in a guint, but without provoking the warning you might get from a compiler if you cast a pointer to the conversation to a guint. svn path=/trunk/; revision=12916
2004-10-01From Lars Roland: we need to define _NEED_VAR_IMPORT_ in plugins if weGuy Harris1-2/+2
link the plugins with libethereal, so do so. svn path=/trunk/; revision=12176
2004-09-29From Lars Roland: add an option to link plugins with libethereal ratherGuy Harris2-21/+5
than using the plugin address table. svn path=/trunk/; revision=12139
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12128
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-09-01Make a bunch of source files non-executable.Guy Harris1-0/+0
svn path=/trunk/; revision=11869
2004-08-06From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anGuy Harris1-1/+1
include of <resolv.h> in any system header file gets the system <resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]). svn path=/trunk/; revision=11615
2004-07-18 .cvsignore is deadJörg Mayer1-21/+0
it has been replaced by svn proplist -v <dir/file> and svn propedit <dir/file> svn path=/trunk/; revision=11422
2004-07-18Add epan/dissectors/.cvsignoreJörg Mayer1-0/+2
Add tags and TAGS to all .cvsignore files svn path=/trunk/; revision=11419
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris4-4/+4
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-05-31From Thomas Anders fix some memory leaksAnders Broman1-1/+4
svn path=/trunk/; revision=11047
2004-05-30From Thomas Anders patch adds sub parameter dissection to the MGCP pluginAnders Broman1-7/+148
(plugins/mgcp/packet-mgcp.c), initially for the ConnectionParameters(P), and updates/adds some specification references. This patch makes the sub parameter values filterable as numbers and may allow for improved MGCP statistics in the future. svn path=/trunk/; revision=11033
2004-05-23Add translation of result codesAnders Broman1-4/+48
svn path=/trunk/; revision=10972
2004-05-09From Lars Roland: add support for building a libethereal.dll with MSVC:Guy Harris2-4/+31
add a config.nmake option to control whether to build libethereal.dll or not; remove "./wiretap" from PATH to prevent problems due to wrongly-loaded files; build dissector.lib with MSVC; move "print.c" and "ps.c" to the dissector helpers, as "print.c" imports variables from packet-frame.c and packet-data.c, which are in libethereal; move "g711.c" out of the dissector helpers, as they're used only by Ethereal in a tap, not in Tethereal or in any dissector; add a .def file for libethereal; arrange to declare global variables exported from libethereal with "__declspec(dllimport)" when building programs that import those variables; update the NSIS installer. Make the "configure" script define ETH_VAR_IMPORT as "extern". svn path=/trunk/; revision=10834
2004-04-25Replace the plugin linkage libs into PLUGIN_LIBS which is generated from theOlivier Biot1-2/+2
top-level configure.in when running configure. svn path=/trunk/; revision=10699
2004-04-14Add support for plugin dissectors on cygwin builds, by adding the followingOlivier Biot1-1/+2
line to every Makefile.am file for a given plugin XXX: XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@ This way symbols defined in libethereal and GLib are resolved when linking the plugin dissector modules. svn path=/trunk/; revision=10601
2003-12-05Subdissectors must be called regardless of whether a protocol tree isGuy Harris1-67/+61
being built. svn path=/trunk/; revision=9174
2003-11-17Fix the copyright notices (Gerald has the copyright on Ethereal).Guy Harris1-4/+3
svn path=/trunk/; revision=8991
2003-11-06Use "$(OBJECTS)" whenever a complete list of .obj files appears, ratherGuy Harris1-3/+3
than repeating the list from the setting of OBJECTS. svn path=/trunk/; revision=8893
2003-10-10Give every Makefile.nmake file a "distclean" rule, and have "distclean"Guy Harris1-1/+3
recurse into subdirectories doing "nmake -f Makefile.nmake distclean". Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean" doesn't remove (such as Flex/Bison output and config.h files) - and have "nmake -f Makefile.nmake distclean" remove stuff that "make distclean" removes, including "tethereal-tap-register.c" and "ethereal-tap-register.c". svn path=/trunk/; revision=8672
2003-09-05- Make --enable-static work again (configure.in, Makefile.am)Jörg Mayer2-9/+4
- get rid of ...-static.o files in the build process (now done via config.h instead of compiler flag) - make packet-rtnet link statically (remove one unused function, rename another one) svn path=/trunk/; revision=8389
2003-09-02"tvb_new_subset(tvb, 0, tvb_length(tvb), -1)" is equivalent toGuy Harris1-5/+3
"tvb_new_subset(tvb, 0, -1, -1)", which is equivalent to just "tvb" - it's creating a "subset" that includes the entire tvbuff. Don't bother with the "tvb_new_subset()" call. svn path=/trunk/; revision=8341
2003-07-25Get rid of carriage returns - some compilers don't like them.Guy Harris1-53/+53
svn path=/trunk/; revision=8086
2003-06-14Define GLIB_LIBS and GTK_LIBS variables in config.nmake (based onGuy Harris1-2/+2
variables the user configures - the user isn't expected to change GLIB_LIBS or GTK_LIBS, and there's a comment nothing that users shouldn't have to do so), which contain the appropriate libraries for building stuff that requires only GLib, and stuff that required GTK+ and GLib, respectively, and use those macros in the Makefile.nmake files. svn path=/trunk/; revision=7885
2003-06-14Define GLIB_CFLAGS and GTK_CFLAGS variables in config.nmake (based onGuy Harris1-4/+2
variables the user configures - the user isn't expected to change GLIB_CFLAGS or GTK_CFLAGS, and there's a comment nothing that users shouldn't have to do so), which contain the appropriate "/I" flags for building stuff that requires only GLib, and stuff that required GTK+ and GLib, respectively, and use those macros in the Makefile.nmake files. svn path=/trunk/; revision=7884
2003-06-12Get rid of allocations of unused buffers.Guy Harris1-3/+1
svn path=/trunk/; revision=7861
2003-04-30Modify tvb_get_nstringz*() to behave more like snprintf(). Make changesGerald Combs1-3/+3
where necessary to reflect the new behavior. svn path=/trunk/; revision=7607
2003-04-16From Lars Roland:Guy Harris4-15/+24
Add Response-Time statistics for each known mgcp message-type. Fix a few bugs and remove trailing whitespace. Use "gdouble" for printing time-values and calculating the average. It is easier to use and shouldn't overflow on big trace files like "guint32". Move some functions for time statistics into the new file timestats.c in the main directory. This code may be useful in the rpc and smb rtt-taps as well. svn path=/trunk/; revision=7469