aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate_runtime.c
AgeCommit message (Collapse)AuthorFilesLines
2007-04-03Fix warnings on Linux/gcc 4.1.1Stephen Fisher1-1/+1
svn path=/trunk/; revision=21330
2007-03-30revert back (void*) -> (void**) which will stop free-warning compilation withSebastien Tandel1-1/+1
gcc-4.1.2 svn path=/trunk/; revision=21282
2007-03-29strict aliasing warnings fix : replace (void**) by (void*)Sebastien Tandel1-1/+1
svn path=/trunk/; revision=21274
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-12-12- add Debug and Default declarations.Luis Ontanon1-1/+5
- supress unwanted console printouts. svn path=/trunk/; revision=16769
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-05-22at this point mate should be working as it did before the grammarLuis Ontanon1-1/+3
- 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-16Transforms and Pdus are working already, Gops start to work.Luis Ontanon1-14/+27
svn path=/trunk/; revision=14376
2005-05-16MATE has a grammar.Luis Ontanon1-220/+200
Although not yet fully implemented I want this version as a reference. svn path=/trunk/; revision=14373
2005-02-18Adds Payload AVP to PduDef AVPLs simmetric to the Transport AVPLuis Ontanon1-2/+43
allows to fetch fields also from ranges that are the payload of the Proto svn path=/trunk/; revision=13427
2005-02-11avoid freeing the gop_key more than once and do not reregister the tap at ↵Luis Ontanon1-0/+1
every reload svn path=/trunk/; revision=13382
2005-02-07From LEGO:Anders Broman1-8/+12
- fixes a leak in analize_pdu() - fixes a typo in analize_pdu() - fixes a crash in scs_unsubscribe() - save a malloc and a free in get_pdu_fields() svn path=/trunk/; revision=13335
2005-02-06From: LEGOAnders Broman1-102/+150
- fix a bug at gog reinit that disabled gogs after reload of a file. - fix some crashes when Debug_GoG>0 - cleanup the debug output (no CR at the end is needed) - Gops start when no GopStart is given and match an existing GogKey svn path=/trunk/; revision=13318
2005-01-28A new patch for mate from Luis Ontanon:Lars Roland1-8/+4
- move mate_packet into packet-mate.c and remove it frome mate.h - supressed some warnings svn path=/trunk/; revision=13190
2005-01-21From Luis Ontanon for Mate:Lars Roland1-3/+19
- supress some solaris compiler warnings - adds GopExpiration, GopIdleTimeout and GopLifetime parameters svn path=/trunk/; revision=13154
2005-01-10One more patch for mate:Lars Roland1-1/+1
- renamed analyze_frame() into mate_analyze_frame(). - prepare mate to be statically linked - use report_open_failure() , report_read_failure() and report_failure() in case there's an error while loading the config - some cleanup in mate_util.c - some fixes and cleanup in examples and matelib svn path=/trunk/; revision=13001
2005-01-06From Luis Ontanon:Lars Roland1-1/+1
Fix some MSVC warnings in MATE svn path=/trunk/; revision=12969
2005-01-06From Luis Ontanon:Lars Roland1-5/+6
Another patch for mate: - adds a "GopTree={TRUE|FALSE}" attribute to Gogs - changes "ShowPduTree={NoTree|PduTree|FrameTree}" - adds "implicit stop" to Gops with no Stop declared svn path=/trunk/; revision=12968
2004-12-31From Luis Ontanon for Mate:Lars Roland1-52/+129
- moved gop and gog indexes into gopcfgs, which is a propedeutic change for upcoming changes in the way gops are to be grouped - changed the way gog-keys are kept in memory - every gopkey attribute is copied into the gop->extras to avoid redundancy in the configuration - added timers to gogs mate.gog_type.StartTime and mate.gog_type.Time - fixed a bug in scs_subscribe that mangled some strings - minor interface improvement to scs propedeutic to having types avp values in a future - changed medium and large into mate_medium and mate_large in the scs_collection - fixed Mode=Replace in Transforms, now it works - fixed a crash at reinit due to impropper initialization of mate_items svn path=/trunk/; revision=12902
2004-12-23Fixes for Mate from Luis Ontanon:Lars Roland1-36/+29
- fixes crash at reinit when DiscardPduData=TRUE: check if there's an avpl before deleting it. - mate.pdu_type.RelativeTime had a dual use, add mate.pdu_type.TimeInGop and leave the other alone. - other fixes related to times (they now seem to be right) - scs_subscribe doesn't use g_malloc anymore. it uses GMemChunks (I had to rename two GMemChunks to make MSVC happy) - fixes crash at reinit when DiscardPduData=TRUE: check if there's an avpl before deleting it. - mate.pdu_type.RelativeTime had a dual use, add mate.pdu_type.TimeInGop and leave the other alone. - other fixes related to times (they now seem to be right) - fixed few things at reinit: - reset last_id - remove the nodes in the items hash tables svn path=/trunk/; revision=12820
2004-12-16Patch for Mate Plugin.Lars Roland1-45/+39
From Luis Ontanon: - moves mate configuration from proto_register to proto_register_handoff - add the config file protocol preference - every item (gop,gog,pdu) has it's own ett - the tap doesn't do nothing, it just primes the tree - analyze_frame() what once was the tap now is called by the dissector - should work with tethereal now (to be tested) svn path=/trunk/; revision=12763
2004-12-12Update for Mate from Luis Ontanon:Lars Roland1-14/+33
- make rd static (no purpose for it to be global) - remove outdated comments - add "PduCriteria" feature (as already stated in the wiki) - add "DiscardUnassignedPdu" feature (as already stated in the wiki) - removed ".Id" from abbrev for "mate.item_name" - in radius.mate: Don't use the port to determine the Gop key. svn path=/trunk/; revision=12735
2004-12-12Fixes for Mate Plugin:Lars Roland1-20/+24
As suggested by Martin Regner: - Use strtod() instead of strtof() From Luis Ontanon: - changes the id of mate items to be integer (the old string ID imposed a lenght limit and as mate fileds had become dynamic it makes no more sense anymore) - fixes a huge avp leak on reinit (every avp object was leaked when a new file was loaded) - adds the "Lib" AVP to the Action=Include AVPL to include definitions >from matelib - rename mate.[dll/so] to zzmate.[dll/so] so it gets initialized as the very last protocol (so that fields from every dissector can be used). svn path=/trunk/; revision=12728
2004-12-11New Plugin from Luis Ontanon:Lars Roland1-0/+742
MATE -- Meta Analysis and Tracing Engine Won't be compiled by default. It is still not possible to link the plugin on Win32. svn path=/trunk/; revision=12716