aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
AgeCommit message (Collapse)AuthorFilesLines
2006-03-11 Mark coverity CID 117 as a false positive.Luis Ontanon1-0/+2
Lex code is often hard for humans to understand... neither of the error conditions found would be happening... One was marked as error because coverity does not understand that yyterminate() breaks execution. The other marked as an error because coverity is not able to figure out that the error appears in an actions against two different rules that will not ever match toghether. svn path=/trunk/; revision=17584
2006-01-24Add register_postdissector() to the API.Luis Ontanon1-1/+6
Dissectors registered with register_postdissector() will be called after all other dissectors have been called. Use it to register mate. svn path=/trunk/; revision=17089
2006-01-05Bill Meier:Jörg Mayer1-4/+4
Spelling fixes. svn path=/trunk/; revision=16956
2005-12-13we are opening the file for writing....Luis Ontanon1-2/+2
svn path=/trunk/; revision=16784
2005-12-12- add Debug and Default declarations.Luis Ontanon5-9/+85
- supress unwanted console printouts. svn path=/trunk/; revision=16769
2005-12-12Avoid to crash if we are given an unexistent field.Luis Ontanon1-1/+1
svn path=/trunk/; revision=16762
2005-12-12Done is not needed anymore; Luis Ontanon1-3/+4
in Pdus transforms go before Criteria (because they are evaluated before) svn path=/trunk/; revision=16761
2005-12-11Cleanup the grammar.Luis Ontanon1-693/+152
svn path=/trunk/; revision=16759
2005-12-09Fix ...$ to : $Jörg Mayer4-4/+4
svn path=/trunk/; revision=16750
2005-11-07Use <wiretap/file_util.h> to include "file_util.h"; otherwise, theGuy Harris1-1/+1
include fails as we don't do -Iwiretap. If we have it, include <sys/stat.h> in epan/filesystem.c - we need it for stat() and the macros and structures it uses. svn path=/trunk/; revision=16410
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping1-1/+2
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403
2005-10-31When printing the code for a display filter:Guy Harris1-27/+1
print register numbers as unsigned (they're guint32); when printing a PUT_FVALUE instruction, show the value as well as the type of the value. That requires that a bunch of types get to_repr methods; add them for PCRE (FTREPR_DFILTER-only - show the regular expression as text), tvbuffs (FTREPR_DFILTER_only - show the data as a hex string), integral types, string types other than FT_STRING, and FT_IPv6. That means we can use fvalue_to_string_repr() for FT_IPXNET and FT_IPv6 in proto_construct_dfilter_string(), and that we don't need to handle integer and floating types specially in MATE. Fix some problems with the PCRE execution code for tvbuff types. svn path=/trunk/; revision=16369
2005-09-22Make the private variables for various lexical analyzers static, soGuy Harris1-5/+5
that we don't have all the lexical analyzers in libethereal share them (note that they're already static in radius_dict.l, so they weren't sharing with any other lexical analyzer), and so that OS X 10.3.9's run-time linker doesn't get upset at finding them defined in libethereal and the MATE plugin. Fix up indentation. svn path=/trunk/; revision=15961
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping1-1/+1
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-20- Include the .h files in their .c files.Jörg Mayer2-0/+2
- Remove epan/dissectors/packet-sna.h, it isn't used anywhere. svn path=/trunk/; revision=15475
2005-08-06Make a variable whose value might be trashed by setjmp/longjmpGuy Harris1-1/+1
"volatile" to avoid that. svn path=/trunk/; revision=15240
2005-08-05Squelch a warning about "state" being used uninitialized.Guy Harris1-2/+1
svn path=/trunk/; revision=15230
2005-08-04Put in comments explaining why we're removing some generated files withGuy Harris1-0/+9
"make distclean", even though they come with the distribution, and make the one in plugins/xml/Makefile.nmake match the one in some other files. svn path=/trunk/; revision=15214
2005-08-02Clean up after ourselves so that we pass "distcheck" again.Gerald Combs1-0/+5
svn path=/trunk/; revision=15194
2005-08-02Last set of trivial fixes for "no previous declaration" warnings.Jörg Mayer2-14/+14
svn path=/trunk/; revision=15191
2005-08-01Make sure "lemon" exists before we try to use it. This can happen if weGerald Combs1-1/+1
run "make dist" before running "make". svn path=/trunk/; revision=15167
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.Jörg Mayer7-34/+34
svn path=/trunk/; revision=15015
2005-07-10After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"Jörg Mayer1-2/+21
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-06-24More constification.Guy Harris1-1/+1
svn path=/trunk/; revision=14740
2005-05-22at this point mate should be working as it did before the grammarLuis Ontanon3-26/+60
- pdu transports were upside down (ip/tcp vs tcp/ip) - the gop to gog index was not being populated - tell svn to ignore generated c files svn path=/trunk/; revision=14416
2005-05-21PDU, GOP and GOG should be at the same level not nestedLuis Ontanon1-2/+2
svn path=/trunk/; revision=14415
2005-05-20Fix the Id tagLuis Ontanon1-1/+1
svn path=/trunk/; revision=14403
2005-05-17- change the state label OUT to OUTSIDE to avoid a name collision with a ↵Luis Ontanon1-67/+67
macro defined in the windows system headers. svn path=/trunk/; revision=14381
2005-05-16Transforms and Pdus are working already, Gops start to work.Luis Ontanon6-150/+33
svn path=/trunk/; revision=14376
2005-05-16let's get things right, we are in plugins/mate not epan/dfilter (from which ↵Luis Ontanon1-1/+1
I stole the nmake rules) svn path=/trunk/; revision=14375
2005-05-16Forgot this one in the last checkin!Luis Ontanon1-2/+23
svn path=/trunk/; revision=14374
2005-05-16MATE has a grammar.Luis Ontanon11-1697/+2552
Although not yet fully implemented I want this version as a reference. svn path=/trunk/; revision=14373
2005-03-07remove remnants of the old plugin api from dissectors and pluginsLars Roland2-6/+4
svn path=/trunk/; revision=13656
2005-03-07Call the "new-style init" routine for plugins a "register" routine, asGuy Harris1-1/+1
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-06Change to new_plugin_init()Luis Ontanon1-3/+1
svn path=/trunk/; revision=13612
2005-03-05Preparations for dropping the old plugin api.Lars Roland1-4/+3
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-24- fix a crash in new_avpl_strict_match when the operator avpl was emptyLuis Ontanon2-1/+4
- change the name of the preference mate.config_filename: into mate.config: svn path=/trunk/; revision=13488
2005-02-22avoid crashing when Debug_Cfg is set and no Payload is given for a PduLuis Ontanon1-1/+1
svn path=/trunk/; revision=13464
2005-02-20fix a typo: lenght -> lengthUlf Lamping1-2/+2
This seems to be a "more common" typo, fixed it 13 times throughout the code ... svn path=/trunk/; revision=13452
2005-02-20Changed the GopTree in GogDef and GogExtra from a boolean to a stringLuis Ontanon8-17/+67
GopTree={BasicTree|NoTree|FullTree} NoTree: just an item for each gop BasicTree: (default) some essential information regarding the gop FullTree: the Gop's full tree added Id and eol-style to examples svn path=/trunk/; revision=13435
2005-02-19add mms.mate to the examples collectionLuis Ontanon1-0/+41
svn path=/trunk/; revision=13430
2005-02-19In order to avoid a crash at reanalize_gop(), do not accept a GogKey where ↵Luis Ontanon1-0/+5
the Gop has not yet being declared. svn path=/trunk/; revision=13429
2005-02-18Step the version number of the pluginLuis Ontanon1-1/+1
svn path=/trunk/; revision=13428
2005-02-18Adds Payload AVP to PduDef AVPLs simmetric to the Transport AVPLuis Ontanon3-33/+115
allows to fetch fields also from ranges that are the payload of the Proto svn path=/trunk/; revision=13427
2005-02-18Get rid of some useless lines from the last patchLuis Ontanon1-6/+1
svn path=/trunk/; revision=13424
2005-02-18Add a pointer to the start frame of each gop in the gog's treeLuis Ontanon3-7/+37
svn path=/trunk/; revision=13423
2005-02-18two fixes in config loading:Luis Ontanon1-1/+6
- do not accept GopDefs for non existent pdus Pdu - GogExtra "no For" instead of "no Name" svn path=/trunk/; revision=13422
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-11avoid freeing the gop_key more than once and do not reregister the tap at ↵Luis Ontanon2-5/+8
every reload svn path=/trunk/; revision=13382
2005-02-10mate runtime did not get initialized when configured after loading a capture ↵Luis Ontanon1-1/+5
file svn path=/trunk/; revision=13381