aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2002-12-02Make the format argument to the "col_XXX_fstr()" routines, and the "str"Guy Harris1-5/+5
argument to "col_append_str()", const pointers; they're not modified by the routines in question. svn path=/trunk/; revision=6725
2002-11-28Fix "addr_ip6_to_str" to reflect the fact that "ip6_to_str()" now takesGuy Harris1-2/+2
a const pointer as its argument. svn path=/trunk/; revision=6700
2002-11-14From Tomas Kukosa: export more routines to plugins.Guy Harris4-4/+125
svn path=/trunk/; revision=6630
2002-10-24Added a pointer to more information on PCLIEd Warnicke1-1/+4
svn path=/trunk/; revision=6496
2002-10-15When registering a protocol, make sure there are no other protocols withGuy Harris1-3/+3
the same long name, short name, or filter name, and abort if there are. Fix the duplicate names that found (and another name error found while fixing one of those errors). svn path=/trunk/; revision=6425
2002-10-10As we are (correctly) calling the IP dissector regardless of whether aGuy Harris1-4/+7
protocol tree is being built or not, we must also construct a tvbuff to hand to that dissector regardless of whether a protocol tree is being built or not. svn path=/trunk/; revision=6402
2002-10-10Fixed minor error in call ordering.Ed Warnicke1-2/+2
svn path=/trunk/; revision=6401
2002-10-08Fix a cut-and-pasteo - PCLI isn't defined by RFC 2705; that's the MGCPGuy Harris1-3/+2
RFC, and has nothing to do with PCLI. svn path=/trunk/; revision=6375
2002-10-06Remove unnecessary config* stuffJörg Mayer1-7/+0
svn path=/trunk/; revision=6369
2002-10-06Ignore *.la and *.loJörg Mayer1-8/+7
svn path=/trunk/; revision=6368
2002-10-03Added a dissector plugin for Packet Cable Lawful Intercept.Ed Warnicke12-4/+659
svn path=/trunk/; revision=6366
2002-09-23Fix two minor typos by Anand V. NarwaniJörg Mayer1-3/+3
svn path=/trunk/; revision=6321
2002-09-12Handle ignored files more flexible. This also fixes the newest filesJörg Mayer1-47/+2
missing from this file. svn path=/trunk/; revision=6287
2002-09-12From Anand Narwani: fix an error in decoding classifier TLV's.Guy Harris1-4/+4
svn path=/trunk/; revision=6286
2002-09-10From Anand Narwani: support for Cisco vendor-specific TLVs.Guy Harris28-11/+390
Add RCS IDs to source files. svn path=/trunk/; revision=6257
2002-08-30From Anand Narwani: updates to fix:Guy Harris2-12/+60
- Bug in the dissection of the Request/Transmit policy in packet-tlv.c - Incorrect filter string for docsis.ehdr.ver - Dissection of PHS Upstream/Downstream Extended Header sub-elements - Dissection of Unsolicited Grant Sync sub-element svn path=/trunk/; revision=6141
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer15-1402/+1402
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2002-08-20From Anand Narwani: fix an infinite recursion issue when decodingGuy Harris1-1/+10
Concatenated frames which contain 0 length PDU docsis frames. svn path=/trunk/; revision=6037
2002-08-14From Tomas Kukosa: add some more routines to the plugin API.Guy Harris4-4/+29
While we're at it, add "extern" to a bunch of function declaration the preceding change *didn't* require to have the "extern" added. svn path=/trunk/; revision=5995
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer28-223/+8
equivalents for the plugins/ directory. svn path=/trunk/; revision=5929
2002-07-22Update from Anand V. Narwani:Guy Harris1-6/+54
fix a minor problem in which the Info colum was incorrectly defaulted to "Fragmentation Frame"; add 4 missing fields for the Extended header in Fragmentation frames. svn path=/trunk/; revision=5902
2002-07-21Offsets in packets should be "int", not "guint8", unless there is anGuy Harris1-3/+3
*inviolable guarantee* that the offset will *never* be bigger than 255. (The same applies for "guint16" and 65535.) Otherwise, you run the risk of an infinite loop (packets are not guaranteed to be valid, nor are the contents of capture files - and there's no guarantee that you're reading a DOCSIS file if you've turned on the "force interpretation as DOCSIS" flag.) svn path=/trunk/; revision=5897
2002-07-20From Anand V. Narwani: fix to the Info column for Request frames.Guy Harris1-3/+3
svn path=/trunk/; revision=5896
2002-07-17Add an extra argument to "tvb_find_line_end()", which specifies what itGuy Harris2-12/+12
should do if it doesn't find an EOL; if FALSE, it behaves as before, returning values that treat the line as ending at the end of the tvbuff, and if TRUE, it returns -1, so its caller can do segment reassembly until it gets the EOL. Add an option to the SMTP dissector to do segment reassembly, and do segment reassembly of the first line. svn path=/trunk/; revision=5891
2002-07-17From Joerg Mayer:Guy Harris25-111/+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-07-16Get rid of carriage returns.Guy Harris1-43/+43
svn path=/trunk/; revision=5886
2002-07-14From Anand V. Narwani: fix so that when a filter is applied to a DOCSISGuy Harris1-6/+2
management frame, the Info column isn't erased. Replace a call to "tvb_length_remaining()" with the value returned by a earlier identical call. svn path=/trunk/; revision=5867
2002-07-12From Anand V. Narwani:Guy Harris40-22/+9135
DOCSIS support, including support for "Ethernet" captures where the raw frame is a DOCSIS frame rather than an Ethernet frame (some Cisco cable-modem head-end gear can send out a trace of all traffic on an Ethernet, but what it sends are the raw bytes of DOCSIS frames, not Ethernet frames) Get rid of second AUTHORS entry for Devin Heitmueller, merging its item into the older entry. Clean up the order of some lists of plugin items. svn path=/trunk/; revision=5861
2002-07-06From Nix:Guy Harris4-11/+11
Don't add "-I/usr/include" to CFLAGS or CPPFLAGS; GCC 3.1 warns about it, and it's not necessary. Expand the plugin directory path used for installation at installation time, rather than configuration time, so the user can reset "prefix" at installation time. svn path=/trunk/; revision=5828
2002-05-16Fix a return type mismatch for get_CDR_wchar and a parameter type mismatchGerald Combs1-3/+3
for get_CDR_octet_seq. The one for get_CDR_octet_seq was preventing compilation under MSVC++. svn path=/trunk/; revision=5484
2002-05-13Have "is_tpkt()" take a minimum-payload-length argument and checkGuy Harris1-2/+2
whether the length value in the TPKT header is large enough to include that much payload - if not, report the packet as not being a TPKT packet. Have the heuristic Q.931 dissector supply the appropriate value. svn path=/trunk/; revision=5457
2002-05-06Remove the unused "offset_saved" variable, as per the changes toGuy Harris2-2/+0
"ethereal_gen.py" not to generate the line setting it. svn path=/trunk/; revision=5409
2002-05-05Fix the declaration of pointers to "tcp_dissect_pdus()".Guy Harris1-2/+2
svn path=/trunk/; revision=5400
2002-05-05Put the pointer to "tcp_dissect_pdus()" in the function pointer tableGuy Harris4-12/+13
where the pointer to "dissect_data()" was in 0.9.3; the pointer to "dissect_data()" wasn't initialized in 0.9.3 (as the function wasn't exported - you call it through a handle), so no plugin should have been using it, and putting the pointer to "tcp_dissect_pdus()" in its place means the structure offsets of all function pointers after it will be the same in 0.9.3 and the next release, preserving binary compatibility for plugins. svn path=/trunk/; revision=5395
2002-05-05Make a "tcp_dissect_pdus()" with the standard loop for a TCP segment,Guy Harris7-457/+286
extracting PDUs from it and possibly doing reassembly. Make the COPS, DNS, DSI, Gryphon, and SCCP dissectors use it. Add "set_actual_length()", "tcp_dissect_pdus()", "decode_boolean_bitfield()", "decode_numeric_bitfield()", and "decode_enumerated_bitfield()" to the list of routines available to dissectors on platforms where routines in the main program aren't available to dynamically-loaded code. Declare routines in "to_str.h" as "extern"; as I remember, that's necessary to allow the "decode_XXX_bitfield()" routines declared therein to be made available to plugins as per the above. Note that new exported routines should be added to the end of the table if that's the only change being made to the table. Create a new "plugin_api_decls.h" header file, used to declare both the "p_" variables and the "p_" structure members in the routine-exporting mechanism; this reduces the number of places you have to change to change the list of exported routines. svn path=/trunk/; revision=5394
2002-05-04Update the dissectors (by hand) to match the changes toGuy Harris2-32/+40
"ethereal_gen.py". svn path=/trunk/; revision=5391
2002-05-01Get rid of unused arguments.Guy Harris2-101/+101
svn path=/trunk/; revision=5325
2002-05-01Make more use of "val_to_str()" and "decode_boolean_bitfield()".Guy Harris1-133/+85
svn path=/trunk/; revision=5324
2002-05-01Use the bitfield decoding routines for bitfields.Guy Harris2-100/+91
Show the value of flag fields in the top-level item for the field. Use "%u", not "%d", to display unsigned quantities. svn path=/trunk/; revision=5323
2002-05-01Add desegmentation support.Guy Harris2-153/+290
As a result of that, we now construct a tvbuff for each Gryphon message; this obviates the need to pass a message length to the dissectors for each message type. svn path=/trunk/; revision=5321
2002-04-30Mark the "plugin_address_table_t *" argument to "plugin_init()" asGuy Harris1-15/+13
unused if PLUGINS_NEED_ADDRESS_TABLE isn't defined. Get rid of some other unused arguments. svn path=/trunk/; revision=5312
2002-04-30Mark the "plugin_address_table_t *" argument to "plugin_init()" asGuy Harris1-2/+6
unused if PLUGINS_NEED_ADDRESS_TABLE isn't defined. svn path=/trunk/; revision=5311
2002-04-04Make "dissect_data()" static - it's only called through handles.Guy Harris1-5/+1
svn path=/trunk/; revision=5096
2002-02-27Fix the declaration of "addr_call_dissector" to match the functionGuy Harris1-2/+2
signature of "call_dissector()". svn path=/trunk/; revision=4828
2002-02-27From Joerg Mayer:Guy Harris4-8/+8
In the "configure.in" files, add -D_U_="__attribute__((unused))" to CFLAGS if we're using GCC, and add -D_U_="" otherwise, so _U_ can be used to mark arguments as unused. Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works with Microsoft Visual C++ as well. Add comments and RCS IDs to the Makefile.nmake files that don't already have them. svn path=/trunk/; revision=4824
2002-02-23"is_tpkt()" is always used to check a TCP segment to see if it mightGuy Harris1-2/+2
have a TPKT header at the beginning, so there's not need for it to have an offset as an argument; its callers don't have to know how big the TPKT header is (or we can put a #define in "packet-tpkt.h" for it). Get rid of the second argument. svn path=/trunk/; revision=4791
2002-02-22Handle TPKT packets split across segment boundaries, and multiple TPKTGuy Harris4-5/+29
packets per segment. Instead of having a routine for dissectors such as the Q.931 dissector to call to dissect the TPKT header, have a routine that does all the reassembly and multiple-packets-per-segment work, and have the Q.931 dissector call it. Export "is_tpkt()", and the new routine, to plugins. Add preferences for TPKT and Q.931 reassembly. svn path=/trunk/; revision=4778
2002-02-20Export "conversation_set_dissector()" in the plugin API table.Guy Harris4-15/+29
svn path=/trunk/; revision=4760
2002-02-19Fix up the declaration of "addr_tvb_new_real_data" to matchGuy Harris1-2/+2
"tvb_new_real_data()". svn path=/trunk/; revision=4755
2002-02-02Routines added to the plugin table, and include-once #ifndef/#defineGuy Harris4-5/+39
wrappers added to plugin header files, by Charlie Duke. svn path=/trunk/; revision=4676