aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/gryphon
AgeCommit message (Collapse)AuthorFilesLines
2001-07-10Add some additional items to .cvsignore files, for new files built whenGuy Harris1-0/+1
compiling plugins for statically-linked binaries. svn path=/trunk/; revision=3678
2001-07-10Fixed the make dist problem.Ed Warnicke1-2/+2
svn path=/trunk/; revision=3676
2001-07-09C sources are in $(srcdir) and not the current directoryUwe Girlich1-2/+2
svn path=/trunk/; revision=3671
2001-07-08Fixed the {tethereal,ethereal}_static targets so that theEd Warnicke3-19/+36
static binaries have the dissectors provided in the plugins available. svn path=/trunk/; revision=3665
2001-06-18From Joerg Mayer: explicitly fill in all members of aGuy Harris1-7/+7
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
2001-04-25Tvbuffify the Gryphon dissector.Guy Harris3-788/+892
Make all the routines for dissecting particular requests and responses static. svn path=/trunk/; revision=3380
2001-04-23Signed vs. unsigned fixes from Joerg Mayer.Guy Harris1-15/+19
svn path=/trunk/; revision=3372
2001-01-12Increment module version.Gilbert Ramirez1-1/+1
svn path=/trunk/; revision=2884
2001-01-09Add an additional "protocol index" argument to "{old_}dissector_add()",Guy Harris1-2/+2
"{old_}heur_dissector_add()", "{old_}conv_dissector_add()", and "register_dissector()", so that an entry in those tables has associated with it the protocol index of the protocol the dissector handles (or -1, if there is no protocol index for it). This is for future use in a number of places. (Arguably, "proto_register_protocol()" should take a dissector pointer as an argument, but 1) it'd have to handle both regular and heuristic dissectors; 2) making it take either a "dissector_t" or a union of that and a "heur_dissector_t" introduces some painful header-file interdependencies so I'm punting on that for now. As with other Ethereal internal APIs, these APIs are subject to change in the future, at least until Ethereal 1.0 comes out....) svn path=/trunk/; revision=2849
2001-01-04Doesn't need #include "dfilter.h"Gilbert Ramirez1-2/+1
svn path=/trunk/; revision=2824
2001-01-03Have "proto_register_protocol()" build a list of data structures forGuy Harris1-2/+3
protocols, in addition to adding structures to the list of filterable fields. Give it an extra argument that specifies a "short name" for the protocol, for use in such places as pinfo->current_proto; the dialog box for constructing filters; the preferences tab for the protocol; and so on (although we're not yet using it in all those places). Make the preference name that appears in the preferences file and the command line for the DIAMETER protocol "diameter", not "Diameter"; the convention is that the name in question be all-lower-case. Make some routines and variables that aren't exported static. Update a comment in the ICP dissector to make it clear that the dissector won't see fragments other than the first fragment of a fragmented datagram. svn path=/trunk/; revision=2810
2000-11-29Use GLib's G_MODULE_EXPORT when defining constants and functionsGuy Harris1-5/+5
exported by a plugin, rather than defining our own DLLEXPORT. svn path=/trunk/; revision=2713
2000-11-06"plugin_reg_handoff()" is a symbol in the plugin that Ethereal has toGuy Harris1-2/+2
access, so it must be declared with DLLEXPORT so that it's exported on Windows. svn path=/trunk/; revision=2572
2000-11-05New-style plugins don't require a "desc" variable.Guy Harris1-2/+1
svn path=/trunk/; revision=2566
2000-11-05Allow plugins to have, instead of "protocol" and "filter_string"Guy Harris1-8/+12
variables and a "dissector" routine, a "plugin_reg_handoff()" routine, which will act just like the "reg_handoff()" routine of a non-plugin dissector, registering the dissector with handoff tables. This lets them plug into both TCP and UDP, or plug into protocols other than TCP or UDP. Those new-style plugin are enabled and disabled using the standard "Edit->Protocols" mechanism (and thus should use "OLD_CHECK_DISPLAY_AS_DATA()" or "CHECK_DISPLAY_AS_DATA()"); they don't show up in the list of plugins, aren't enabled or disabled from that list, and, as they don't have a filter, can't have the filter changed from that list - instead, they should register preferences for port numbers and the like if they should be configurable to use different ports. Make the Gryphon protocol a new-style plugin. svn path=/trunk/; revision=2565
2000-11-01Updates from Steve Limkemann.Guy Harris2-16/+180
svn path=/trunk/; revision=2545
2000-10-11Fix it to build on Windows.Guy Harris1-2/+2
svn path=/trunk/; revision=2488
2000-09-13Updated to ignore Win32 detritusGraham Bloice1-0/+5
svn path=/trunk/; revision=2430
2000-08-18Modify the Gryphon plugin code in order to avoid an abort when theLaurent Deniel1-4/+11
plugin is enabled -> disabled -> re-enabled due to the fact that the protocol registration is performed at each plugin_init() call (and there is no protocol cleanup like with dfilter_cleanup). Now we use the proto_xxx static variable to check if it is the first activation or not (in this case, the proto_register_xxx routines are not called. svn path=/trunk/; revision=2290
2000-05-31Add routines for adding items to a protocol tree that take arguments ofGuy Harris1-8/+8
a particular type, rather than taking a varargs list, along the lines of the "proto_tree_add_XXX_format()" routines. Replace most calls to "proto_tree_add_item()" and "proto_tree_add_item_hidden()" with calls to those routines. Rename "proto_tree_add_item()" and "proto_tree_add_item_hidden()" to "proto_tree_add_item_old()" and "proto_tree_add_item_hidden_old()", and add new "proto_tree_add_item()" and "proto_tree_add_item_hidden()" routines that don't take the item to be added as an argument - instead, they fetch the argument from the packet whose tvbuff was handed to them, from the offset handed to them. svn path=/trunk/; revision=2031
2000-05-28Changed my mail address to oabad@cybercable.fr (dhis.net is tooOlivier Abad1-1/+1
unreliable). svn path=/trunk/; revision=2019
2000-05-11Add tvbuff class.Gilbert Ramirez1-192/+192
Add exceptions routines. Convert proto_tree_add_*() routines to require tvbuff_t* argument. Convert all dissectors to pass NULL argument ("NullTVB" macro == NULL) as the tvbuff_t* argument to proto_tree_add_*() routines. dissect_packet() creates a tvbuff_t, wraps the next dissect call in a TRY block, will print "Short Frame" on the proto_tree if a BoundsError exception is caught. The FDDI dissector is converted to use tvbuff's. svn path=/trunk/; revision=1939
2000-04-12Build tethereal and editcap on Win32.Gilbert Ramirez1-0/+4
Add RCS ID tags to Makefile.nmake's. svn path=/trunk/; revision=1836
2000-04-04Add "clean" rules in subdirectories, and run subdirectory "nmake -fGuy Harris1-0/+3
Makefile.nmake clean" when "nmake -f Makefile.nmake clean" is done in the top-level directory, so that "nmake -f Makefile.nmake clean" cleans everything up. svn path=/trunk/; revision=1792
2000-03-15Rename the local variable "pi" to "ti" in several places - "pi" is alsoGuy Harris1-10/+10
the name of the global variable containing packet information, and, on platforms where dynamically-loaded code can't access global variables and functions in the main program, we #define "pi" in plugins to be "(*p_pi)", which causes problems even if a plugin with a local variable named "pi" *isn't* accessing the global "pi". svn path=/trunk/; revision=1723
2000-03-12Break proto_tree_add_item_format() into multiple functions:Gilbert Ramirez1-71/+71
proto_tree_add_protocol_format() proto_tree_add_uint_format() proto_tree_add_ipxnet_format() proto_tree_add_ipv4_format() proto_tree_add_ipv6_format() proto_tree_add_bytes_format() proto_tree_add_string_format() proto_tree_add_ether_format() proto_tree_add_time_format() proto_tree_add_double_format() proto_tree_add_boolean_format() If using GCC 2.x, we can check the print-format against the variable args passed in. Regardless of compiler, we can now check at run-time that the field type passed into the function corresponds to what that function expects (FT_UINT, FT_BOOLEAN, etc.) Note that proto_tree_add_protocol_format() does not require a value field, since the value of a protocol is always NULL. It's more intuitive w/o the vestigial argument. Fixed a proto_tree_add_item_format-related bug in packet-isis-hello.c Fixed a variable usage bug in packet-v120.c. (ett_* was used instead of hf_*) Checked in Guy's fix for the function declearation for proto_tree_add_text() and proto_tree_add_notext(). svn path=/trunk/; revision=1713
2000-03-03Add config.nmake and two Makefile.nmake's to the list of deliverables.Gilbert Ramirez1-1/+4
svn path=/trunk/; revision=1690
2000-02-10Sean Walmsley <sean.p.walmsley@Hydro.ON.CA> caught a typo in Makefile.am.Gerald Combs1-2/+2
svn path=/trunk/; revision=1615
2000-02-09Integrate Ed Meaney's <emeaney@altiga.com> changes for using libpcapGilbert Ramirez1-3/+4
from WinDump with Ethereal. We now have packet capturing on Win32. :) svn path=/trunk/; revision=1612
2000-02-09Update Makefiles for win32. Move local configuration to config.nmake,Gilbert Ramirez1-0/+12
have top-level Makefile.nmake call Makefile.nmake's in subdirectories. Build plugins, and build generated source (lex, yacc). The only thing we can't build is register.c; I need to re-work the top-level Makefile.nmake because it lists object files, not C files, which make-reg-dotc needs. svn path=/trunk/; revision=1608
2000-02-07Change "unsigned gint64" to "guint64", and add GPL header to plugin_api.[ch]Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=1606
2000-02-07Code changes, but not Makefile changes, for enabling plugins for Win32.Gilbert Ramirez1-19/+22
svn path=/trunk/; revision=1605
2000-01-08I finally got autoconf, automake, and the plugins to behave together.Gilbert Ramirez6-860/+22
The distro is buildable finally. I had to change "plugins/gryphon" from a separately configured (i.e., "./configure") package to a member of the main ethereal autoconf package so that PLUGIN_DIR could be passed to plugins/gryphon/Makefile.am. In doing so, I had to get rid of plugins/gryphon/config.h which had PACKAGE and VERSION #defined, the latter of which was actually used in packet-gryphon.c. So I moved those two #defines into a new file, plugins/gryphon/moduleinfo.h. svn path=/trunk/; revision=1438
2000-01-01Add a "break;" statement to a "default:" clause - the AIX C compilerGuy Harris1-2/+3
apparently doesn't like it when a case label is the last line in a "switch()" statement. Fix a spelling error. svn path=/trunk/; revision=1408
1999-12-31Filter out a few more things.Guy Harris1-2/+3
Don't filter out some things that *are* in CVS. svn path=/trunk/; revision=1403
1999-12-28Add support for "--with-plugindir=<plugin install dir>" to configure.Gerald Combs1-3/+3
Make the default plugindir $(libdir)/ethereal/plugins/0.8. Ethereal now looks for plugins in the following directories: /usr/lib/ethereal/plugins/0.8 /usr/local/lib/ethereal/plugins/0.8 $plugindir (if different from above) $HOME/.ethereal/plugins svn path=/trunk/; revision=1382
1999-12-26Integrate libtool/libltdl with the plugin code. Add libtool and libltdlGerald Combs5-14/+783
to the distribution. svn path=/trunk/; revision=1379
1999-12-15Add Dearborn Group Technology's Gryphon dissector as our firstGilbert Ramirez12-0/+2460
shipped plugin. svn path=/trunk/; revision=1341