aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2000-12-01Comment out some unused variables.Gilbert Ramirez1-4/+4
svn path=/trunk/; revision=2728
2000-12-01Fix one small type WRT Forwarding Equivalence Classes and handle theRichard Sharpe1-1/+1
illegal padding by trying to skip it. svn path=/trunk/; revision=2727
2000-12-01A much more complete LDP dissector.Richard Sharpe1-31/+220
Still more work to do though, as I want to dissect the various message types correctly, and to dissect TLVs much more as well. The dissector currently handles multiple messages in a PDU, as the trace file I have has some of those. I think that the equipment that generated the LDP trace I have has a bug. It seems to think that TLVs must be alligned on 4-byte boundaries, while the spec (draft) says that there are no alignment requirements :-) Don't know what generated the trace :-) svn path=/trunk/; revision=2726
2000-12-01NFS V4 support, from Mike Frisch.Guy Harris4-6/+1837
svn path=/trunk/; revision=2725
2000-11-30Step-wise improvement on this thing ... next to dissect each message typeRichard Sharpe1-53/+105
more fully. Apparently, LDP allows multiple messages per PDU. Has anyone seen such an implementation? svn path=/trunk/; revision=2724
2000-11-30Small code optimization to make it possible to compile on ReliantUNIX.Uwe Girlich1-59/+9
svn path=/trunk/; revision=2723
2000-11-30Fix up the handling of type/length fields in ATMARP.Guy Harris1-30/+116
svn path=/trunk/; revision=2722
2000-11-30GVRP dissector, from Kevin Shi.Guy Harris7-4/+435
svn path=/trunk/; revision=2721
2000-11-30More work in progress on the Label Distribution Protocol dissector ...Richard Sharpe1-12/+150
Bit more work to do, and a list of TLV values, and I am away :-) svn path=/trunk/; revision=2720
2000-11-30In "tvb_find_guint8()" and "tvb_pbrk_guint8()", correctly set the limitGuy Harris1-4/+14
of the search if the caller-supplied limit goes past the end of the tvbuff - the limit should just be what remains in the tvbuff after the specified starting offset. In "tvb_find_line_end_unquoted()", after searching for the next interesting character, check the value we got back from that search, in "char_offset", not whatever happens to be in "cur_offset", to see if we found a character. svn path=/trunk/; revision=2719
2000-11-30In tvb_set_reported_length(), don't assert onGilbert Ramirez1-2/+4
reported_length <= tvb->reported_length, but throw a ReportedBoundsError if that condition is not met. svn path=/trunk/; revision=2718
2000-11-30Rename "proto_reg_handoff_iee380211()"[sic] toGuy Harris1-3/+3
"proto_reg_handoff_wlan()", to match "proto_register_wlan()". Call it "IEEE 802.11 wireless LAN", not "Wireless ethernet" - that makes it clearer what type of wireless LAN it is (which *isn't* Ethernet at the MAC layer, although I suspect many of the drivers make it look like Ethernet to the rest of the system). svn path=/trunk/; revision=2717
2000-11-30Clean up the handling of the RTSP payload a bit.Guy Harris1-6/+7
svn path=/trunk/; revision=2716
2000-11-29Add LDP dissector to NMake makefile.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=2715
2000-11-29Initial coding of the dissector for the Label Distribution Protocol.Richard Sharpe2-1/+254
It registers the same dissector for the LDP port for both TCP and UDP. Still a lot of work to do, but we can see the header now. svn path=/trunk/; revision=2714
2000-11-29Use GLib's G_MODULE_EXPORT when defining constants and functionsGuy Harris4-28/+28
exported by a plugin, rather than defining our own DLLEXPORT. svn path=/trunk/; revision=2713
2000-11-29Get the suffix for dynamically-loaded modules by means of a hackGuy Harris1-9/+31
involving "g_module_build_path()", rather than by checking the platform - this should let us handle non-Windows platforms that don't use ".so" (e.g., HP-UX). Use G_DIR_SEPARATOR_S as the pathname separator character when generating the pathname of the module. svn path=/trunk/; revision=2712
2000-11-29Catch Sniffer packets where the record length for a record containing aGuy Harris1-1/+14
packet is too small to contain all the data that the frame header claims was captured for the packet; treat that as a bad record, and return an error. svn path=/trunk/; revision=2711
2000-11-29Tvbuffify the GRE and WCCP dissectors.Guy Harris2-484/+416
svn path=/trunk/; revision=2710
2000-11-29WCCP 2.0 support.Guy Harris4-10/+1036
svn path=/trunk/; revision=2709
2000-11-29Wrap the dissect_fddi() call (with a 4th argument) withGilbert Ramirez27-266/+117
dissect_fddi_not_bitswapped() and dissect_fddi_bitswapped(), both of which use the standard 3-argument tvbuffified-dissector argument list. Add a dissector table called "wtap_encap" which is used to call dissectors from dissect_frame(). The switch() statement from this top-level dissector is removed. The link-layer dissectors register themselves with the "wtap_encap" dissector table. The dissectors are now static where possible. svn path=/trunk/; revision=2708
2000-11-29Translate the A-F characters of all OUIs to uppercase before insertingGilbert Ramirez2-168/+71
them into the hash. Without using the same case on all OUIs, some collisions were not detected (00:00:F6 vs 00:00:f6) svn path=/trunk/; revision=2707
2000-11-28Move Win32 version to 0.8.14.1Gilbert Ramirez2-6/+6
svn path=/trunk/; revision=2705
2000-11-28Updates from Ralf Holzer.Guy Harris1-17/+93
svn path=/trunk/; revision=2704
2000-11-28The SMI Network Management Private Enterprise Code for Ascend is 529,Guy Harris1-2/+10
not 123 (123 is Newbridge Networks); update the list of RADIUS vendor IDs, and put in a comment before that list indicating that RADIUS vendor IDs are just SMI Network Management Private Enterprise Codes and giving the URL of the IANA list of enterprise codes. svn path=/trunk/; revision=2703
2000-11-27The length of FT_BOOLEAN bitfields must be specified in bits, not bytes.Olivier Abad1-7/+7
svn path=/trunk/; revision=2702
2000-11-26Credit Michael Patton and the IEEE in the document header. Add URLs to theGerald Combs2-4/+34
IEEE data (Michael's was already there). svn path=/trunk/; revision=2701
2000-11-23Add make-manuf, a script that:Gerald Combs3-6/+4739
- Reads our current 'manuf' file header and contents - Fetches OUI information from the IEEE and CaveBear - Merges the OUI information, with our entries taking precedence, then CaveBear's, then the IEEE. - Dumps eveything into the 'manuf' file. svn path=/trunk/; revision=2700
2000-11-22Apply Jeroen Ruigrok van der Werven's patches ...Richard Sharpe3-14/+15
svn path=/trunk/; revision=2699
2000-11-22Generated Bison and Flex files test whether __STDC__ is definedGuy Harris3-2/+57
in order to check whether to use ANSI C features such as "const". GCC defines it as 1 even if extensions that render the implementation non-conformant are enabled; Sun's C compiler (and, I think, other AT&T-derived C compilers) define it as 0 if extensions that render the implementation non-conformant are enabled; Microsoft Visual C++ 6.0 doesn't define it at all if extensions that render the implementation non-conformant are enabled. We define it as 0 in "config.h.win32", so that those generated files will use those features (and thus not get type warnings when compiled with MSVC++). svn path=/trunk/; revision=2698
2000-11-22Export plugin_reg_handoff via DLLEXPORT.Gilbert Ramirez1-3/+5
svn path=/trunk/; revision=2697
2000-11-22Change Ethereal homepage URL from etheral.zing.org to www.ethereal.com.Gilbert Ramirez7-11/+11
svn path=/trunk/; revision=2696
2000-11-22Enable the building of any combination of ethereal, tethereal, and editcap.Gilbert Ramirez5-17/+120
If GTK+ is not detected, then ethereal is not built. svn path=/trunk/; revision=2695
2000-11-22In the tvbuffified "dissect_rpc()", use the "pinfo" argument rather thanGuy Harris1-9/+13
the global "pi". Also set "pinfo->current_proto" to "RPC", so that we get the right message if a tvb accessor throws an exception. svn path=/trunk/; revision=2694
2000-11-22Get rid of declarations of no-longer-extant "init_dissect_rpc()" andGuy Harris1-4/+1
"cleanup_dissect_rpc()". svn path=/trunk/; revision=2693
2000-11-21Add a "color.h" file that declares a nominally-toolkit-independentGuy Harris13-59/+207
"color_t" structure to store color values (although currently it has all the same fields that a GdkColor has; its currently advantage is that you don't have to include any GTK/GDK stuff to declare it). Add routines in the "gtk" directory to convert between "color_t" and GdkColor values. Define, in "prefs.h", all colors as "color_t" values rather than GdkColor values. "prefs.h" now no longer needs to include <gtk/gtk.h>, so don't include it. svn path=/trunk/; revision=2692
2000-11-21Tethereal includes no GUI stuff, so it doesn't need to includeGuy Harris1-2/+1
"ui_util.h". svn path=/trunk/; revision=2691
2000-11-21Initialize "http_type" to HTTP_OTHERS before callingGuy Harris1-1/+3
"is_http_request_or_reply()", so that if "is_http_request_or_reply()" decides the line is part of a request or a response it'll set "*type" (which it does only if "*type" is HTTP_OTHERS). svn path=/trunk/; revision=2690
2000-11-21Some compilers, e.g. Microsoft Visual C++, don't define __STDC__ unlessGuy Harris2-90/+8
extensions to ANSI C are disabled if they may cause strictly conforming programs not to compile, or to work differently if those extensions are enabled. (Other compilers #define it as 0, e.g. Sun's and, I think, other AT&T-derived compilers; still others cheerfully define it as 1 even when those extensions are enabled, e.g. GCC.) As such, checking whether __STDC__ is defined, or is defined as a non-zero value, isn't the right way to check whether function prototypes are supported; MSVC++ 6.0 supports them, but, by default, leaves extensions of the sort described above enabled, and thus doesn't define __STDC__. This means that the compiler warns about arguments to "snprintf()" when compiling it, as the declaration is an old-style declaration. As Ethereal uses function prototypes, there's not much point in making it possible for its private "snprintf()" to be compiled or used when function prototypes aren't supported; just get rid of the tests for __STDC__, so that it's compiled with function prototypes regardless of whether __STDC__ is defined or not. While we're at it, have "snprintf()" give it a "__attribute__((format (printf, 3, 4))))" when compiled by GCC 2.x or later, so that format/argument checks can be done even on platforms lacking "snprintf()". svn path=/trunk/; revision=2689
2000-11-21Fix infinite loop in reallocation of memory for decryption buffer.Gilbert Ramirez1-6/+11
svn path=/trunk/; revision=2688
2000-11-21Start of a tvbuff_t version of the dissect_rpc() function.Uwe Girlich2-190/+237
All ONC/RPC dissectors remain old dissectors for now but this will change too. svn path=/trunk/; revision=2687
2000-11-21Senseless old prototype for rpc init removed.Uwe Girlich1-3/+1
svn path=/trunk/; revision=2686
2000-11-21Updates from Ed Warnicke.Guy Harris1-140/+95
svn path=/trunk/; revision=2685
2000-11-21Tvbuffication, and introduction of a number of named fields, from HeikkiGuy Harris1-51/+120
Vatiainen. svn path=/trunk/; revision=2684
2000-11-20Move to version 0.8.14Gilbert Ramirez6-26/+26
svn path=/trunk/; revision=2682
2000-11-20Changes in 0.8.14Gilbert Ramirez1-0/+48
svn path=/trunk/; revision=2681
2000-11-20Initialize winsock as we do in Ethereal.Gilbert Ramirez1-1/+11
svn path=/trunk/; revision=2680
2000-11-20Move tvbtest.c to EXTRA_DISTGilbert Ramirez1-3/+3
svn path=/trunk/; revision=2679
2000-11-20next_pd and next_offset are used only if HAVE_PLUGINS is #defined.Gilbert Ramirez1-1/+3
Therefore, declare these 2 variables only if HAVE_PLUGINS is #defined. svn path=/trunk/; revision=2678
2000-11-19In dissect_ntp(), add an ellipsis (...) to the end of a reference clock IDGerald Combs1-4/+7
if its name gets truncated. svn path=/trunk/; revision=2677