aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2003-04-08Add "proto_tree_add_none_format()" to the set of functions exported toGuy Harris1-1/+2
plugins. svn path=/trunk/; revision=7423
2003-03-26Put in a comment about the "to what code does the configuration fileGuy Harris1-1/+22
directory belong" issue. svn path=/trunk/; revision=7370
2003-03-25Fix up a comment.Guy Harris1-2/+2
svn path=/trunk/; revision=7369
2003-03-25Use "datafiledir" rather than "DATAFILE_DIR" as the name of the variableGuy Harris1-6/+5
in the configure script for the all-variables-expanded version of the data file directory. Don't AC_SUBST "DATAFILE_DIR", as it's not used. Define DATAFILE_DIR in config.h as the all-variables-expanded version of $datadir/ethereal, as that's where the global configuration files such as manuf and the Diameter files are actually installed. svn path=/trunk/; revision=7368
2003-03-11Bump the version to 0.9.11. Let's hope the goat's blood and hastily carvedGerald Combs1-2/+2
idol is enough for the CVS gods. svn path=/trunk/; revision=7337
2003-03-06From Lars Ronald :Ronnie Sahlberg1-2/+6
MGCP request/response matching and MGCPSTAT RTT calculation. For those with MGCP captures, try -z mgcp,rtd[,filter] svn path=/trunk/; revision=7294
2003-03-04Bump the version to 0.9.10.Gerald Combs1-2/+2
svn path=/trunk/; revision=7271
2003-03-01Completely initialize all the address fields in a packet_info structure,Guy Harris1-1/+13
setting the length to 0 and the data pointer to a null pointer. svn path=/trunk/; revision=7239
2003-02-28Assume all AT_NONE addresses are the same, as they have no address dataGuy Harris1-5/+15
to compare; based on a change from Laurent Meyer. svn path=/trunk/; revision=7222
2003-02-28Fixes for a couple of problems, from Albert Chin:Guy Harris2-9/+32
1. On Solaris, inet_ntop and inet_pton need to be linked against -lnsl. AC_CHECK_FUNC() isn't good enough unless LIBS already has -lnsl. 2. On IRIX, the blanket redefinition of the inet_ntop function prototype is incorrect (compiling with MIPSpro 7.4): cc-1143 cc: ERROR File = inet_v6defs.h, Line = 32 Declaration is incompatible with "const char *inet_ntop(int, const void *, char *, socklen_t)" (declared at line 89 of "/usr/include/arpa/inet.h"). extern const char *inet_ntop(int af, const void *src, char *dst, ^ 1 error detected in the compilation of "inet_pton.c". gmake[4]: *** [inet_pton.o] Error 2 On IRIX, the correct prototype is: extern const char *inet_ntop(int, const void *, char *, socklen_t); Rather than blindly replacing the prototype we detect if a prototype exists and define it only if one does not exist. svn path=/trunk/; revision=7218
2003-02-27From Didier Gautheron: provide a mechanism to indicate why reassemblyGuy Harris2-2/+4
wasn't done, and, for TCP, use that mechanism if reassembly isn't done is an incorrect TCP checksum. svn path=/trunk/; revision=7212
2003-02-26From Pavel Roskin:Guy Harris2-40/+8
Get rid of acconfig.h, as it's an archaism; put descriptions into AC_DEFINE instead. That squelches some warnings from later versions of autoconf. Fix an unquoted call to AC_MSG_ERROR. Move the stuff to define HAVE_SOME_SNMP into configure.in. svn path=/trunk/; revision=7203
2003-02-24Rename "fake_unicode()" to "tvb_fake_unicode()" as it works on a tvbuff,Guy Harris2-2/+44
give it a byte-order argument, and move it to "epan/tvbuff.c". Use it to handle UCS-2 strings in version 1 of the Service Location Protocol. In SRVLOC V1, use registered fields that are already there for SRVLOC V2, and add some as needed. Fix some field names. svn path=/trunk/; revision=7186
2003-02-12Make the argument to "abs_time_secs_to_str()" a "time_t" - it's in ANSIGuy Harris2-4/+4
C, and it's the right thing to pass to "localtime()". svn path=/trunk/; revision=7125
2003-02-11Add a "abs_time_secs_to_str()" routine that takes a UNIX time-since-the-Guy Harris2-12/+41
epoch-in-seconds value and converts it to a string. Use that routine in the RADIUS dissector, rather than using "ctime()" and "tzname[]" - "tzname[]" strings might contain non-ASCII characters, which currently give the GTK+ 1.3[.x] used on Windows, and also, I think, GTK+ 2.x, heartburn, as they expect UTF-8, not, for example, ISO 8859/1. Fix the string length in "abs_time_to_str()". svn path=/trunk/; revision=7124
2003-02-08Provide a way for ftype modules to provide a string representationGilbert Ramirez12-86/+183
of their value. Provide such a method for FT_BYTES, FT_UINT_BYTES, and FT_ETHER. Have proto_alloc_dfilter_string() use the new methods. This is part of a movement of ftype-related code out of proto.c and into the ftype code. The immediate effect is that generated display filters for long byte sequences don't incorrectly have trailing periods ("...") to indicate continuation. svn path=/trunk/; revision=7100
2003-01-31Get rid of BASE_BIN - it's just the same as BASE_DEC, but people seemedGuy Harris2-9/+3
to be using it for stuff that should be hex, and for stuff that should be Boolean. Use BASE_DEC if it should be decimal, BASE_HEX if it should be hex, and make it Boolean if it should be Boolean. svn path=/trunk/; revision=7053
2003-01-30AC_ARG_ENABLE takes 4 argument: The 3rd specifies what to do in case aJörg Mayer1-3/+3
configure option is given on the command line. The value of the arguement is passwd in the enableval variable. The 4th argument tells what to do in case no command line argument was given. This causes --disable-gtk2 (which is the default) to behave differently from the case when no option is given. I do not really understand where the difference in the behaviour of the generated codes comes from, but I definitely see a difference. Fixed all occurrences where the 3rd arguement was empty. svn path=/trunk/; revision=7044
2003-01-28Thou shalt not cast pointers of unknown alignment to pointers toGuy Harris1-10/+7
multi-byte integral quantities and blithely dereference them, lest thou enrage those of us who work on machines that trap on unaligned references. svn path=/trunk/; revision=7021
2003-01-26Update my email address in various places since my old one no longer worksLaurent Deniel4-7/+7
svn path=/trunk/; revision=7003
2003-01-22From Dinesh Dutt:Guy Harris4-4/+33
- A new decoder called MDSHDR which decodes the internal header of the Cisco MDS switch (this is different from the Boardwalk header). - Support for some more new columns as part of FC support. - Fixed the decoding of the Special Frame in FCIP. - Fixed the decoding of credit management type field in FLOGI/PLOGI frame in FC-ELS. svn path=/trunk/; revision=6974
2003-01-21Fix a typo.Gerald Combs1-2/+2
svn path=/trunk/; revision=6956
2003-01-21From Brian Ginsbach: symbolic names for Fibre Channel Network AddressGuy Harris1-6/+24
Authority identifiers. svn path=/trunk/; revision=6954
2003-01-21Bump the version to 0.9.9. Update the NEWS and ChangeLog files.Gerald Combs1-2/+2
I'm shooting for a release on Wednesday evening. svn path=/trunk/; revision=6952
2003-01-20Move into "call_dissector_work()" the stuff to handle dissecting, inGuy Harris1-12/+110
error packets, the copy of the packet that got the error, rather than doing it in the CLNP dissector and the ICMP dissector and the ICMPv6 dissector and the PPP dissector for various control protocols; have it do that work iff "pinfo->in_error_pkt" is set. svn path=/trunk/; revision=6942
2003-01-09Use "plugindir", not "PLUGIN_DIR", as the variable name in the configureGuy Harris1-2/+2
script for the plugin directory; in most Makefile.am files it's set with plugindir = @plugindir@ (along the lines of what's done with other variables with pathnames - the variable name is all lower case), so the variable needs to be named "plugindir". Fix the DOCSIS plugins' Makefile.am to use "plugindir". Don't bother doing "AC_SUBST(PLUGIN_DIR)", as no Makefiles use PLUGIN_DIR as an autoconf variable. svn path=/trunk/; revision=6887
2003-01-06pointer spells with an oJörg Mayer1-3/+2
svn path=/trunk/; revision=6857
2003-01-06Update DCERPC so that for (NTLMSSP) PDUs that have been decryptedRonnie Sahlberg1-1/+3
we also call the proper DCERPC subdissector. With this change ethereal will call the SAMR dissector and dissect the decrypted SAMR packets in devins capture. svn path=/trunk/; revision=6855
2002-12-31From Ronald Henderson: make "format_text()", on Windows, escape allGuy Harris1-3/+15
characters that aren't printable ASCII, as GTK+ for Windows thinks strings are UTF-8 but the strings we give it wouldn't be UTF-8. svn path=/trunk/; revision=6832
2002-12-31From Ronald Henderson: fix up "snprintf()" and "vsnprintf()" calls inGuy Harris1-27/+91
"epan/proto.c" to properly handle string truncation (by checking both for -1 and a value larger than the buffer size as an indication of truncation, as some older versions of those routines return -1, and, if the string was truncated, putting in a trailing '\0', as "snprintf()" on some platforms might not put the trailing '\0' in). svn path=/trunk/; revision=6830
2002-12-19Add a new field type FT_FRAMENUM; an FT_FRAMENUM is a 32-bit unsignedGuy Harris4-80/+139
frame number, which is always decimal. If you select an FT_FRAMENUM field, there are menu items that let you go to the frame whose frame number appears in that field. Add FT_FRAMENUM fields for the ONC RPC "matching request is in this frame" and "matching reply is in this frame" protocol tree items. svn path=/trunk/; revision=6802
2002-12-10Fix the formal argument list to "bytestring_to_str()" to match theGuy Harris1-8/+14
changes to the actual argument lists in the calls (putting the byte string length after the byte string pointer). Make the byte string length actually be the length, not the length - 1. Use a #define for the longest byte string it can handle, and put in a "g_assert()" to check the sanity of that length. svn path=/trunk/; revision=6774
2002-12-10Add a new type of column for the circuit ID (Frame Relay DLCI, ISDNGuy Harris2-18/+103
channel number, X.25 logical channel number). Clean up white space and the like, and get rid of unnecessary arguments to "col_set_port()". svn path=/trunk/; revision=6772
2002-12-10From Alfred Koebler: add support for a column for the interface andGuy Harris2-2/+4
direction in Firewall-1 monitor files. svn path=/trunk/; revision=6771
2002-12-09Work around annoying Apple C compiler/linker bug.Guy Harris2-89/+41
"ether_to_str_punct()" no longer deals only with Ethernet-style addresses, as it now takes a length argument, rename it "bytestring_to_str()" - and make it static, as it's not used outside "to_str.c". Get rid of unused "fc_to_str_buf()" routine. svn path=/trunk/; revision=6770
2002-12-08Clean up a bit, and put "extern" back.Guy Harris1-9/+8
svn path=/trunk/; revision=6768
2002-12-08On UNIX, search for plugins only in the directory in which plugins willGuy Harris1-46/+3
be installed - don't explicitly search "/usr/lib/ethereal/plugins/{version}" or "/usr/local/lib/ethereal/plugins/{version}", so that if there's more than one version of Ethereal installed, we don't end up picking up plugins from the wrong version. svn path=/trunk/; revision=6766
2002-12-08From Dinesh Dutt: Add Fibre Channel support, including FCIP, Basic FCGerald Combs7-23/+200
header, Extended Link Service, Interswitch Link Service, FCP, and IPFC. svn path=/trunk/; revision=6757
2002-12-04Bump the version to 0.9.8. Update NEWS and ChangeLog to October 24.Gerald Combs1-2/+2
svn path=/trunk/; revision=6741
2002-12-03Show all 6 digits of precision in the time stamp column when displayingGuy Harris1-5/+5
absolute time stamps (we were already doing that for relative and delta time stamps). svn path=/trunk/; revision=6735
2002-12-02Make the format argument to the "col_XXX_fstr()" routines, and the "str"Guy Harris2-13/+13
argument to "col_append_str()", const pointers; they're not modified by the routines in question. svn path=/trunk/; revision=6725
2002-12-02"dfilter_compile()" doesn't modify the string pointed to by its firstGuy Harris2-4/+4
argument; make it a const pointer. svn path=/trunk/; revision=6724
2002-11-28We have to keep the first frame - circuits aren't necessarily created asGuy Harris2-11/+11
soon as we see a packet for that circuit (we don't do that in X.25, for example), so there's no guarantee that the first circuit starts at the first circuit of the capture. svn path=/trunk/; revision=6695
2002-11-28Don't keep the first frame around for circuits; we assume that a givenGuy Harris2-11/+11
circuit begins either at the beginning of the capture or right after the previous circuit ends. svn path=/trunk/; revision=6694
2002-11-28Add a "--with-extra-gcc-checks" option, which causes "-Wcast-qualGuy Harris1-3/+13
-Wcast-align" to be added to CFLAGS (except in Wiretap, where we already do "-Wcast-qual"). We don't do them by default, as they produce some warnings that aren't easy to eliminate; if we figure out how to eliminate them on all platforms (or at least, on the platforms where you *can't* eliminate them, reduce them to a low level), we can make those options the default. svn path=/trunk/; revision=6689
2002-11-28Make "ip6_to_str()" take a const pointer as an argument.Guy Harris2-5/+5
svn path=/trunk/; revision=6687
2002-11-28Make the "strings" pointer in a "header_field_info" structure a constGuy Harris3-12/+12
pointer, and put "const" into the casts in "VALS()" and "TFS()" macros, so we don't un-constify pointers to "value_string" arrays and "true_false_string" structures. Make some things "const" to keep the compiler happy with the previous change. svn path=/trunk/; revision=6684
2002-11-27Cast various "const gpointer" arguments to const pointers rather thanGuy Harris3-24/+32
non-const pointers. svn path=/trunk/; revision=6683
2002-11-27"ether_to_str()" takes a "const guint8 *" as an argument; there's noGuy Harris1-3/+3
need to cast a "const guint8 *" to a "guint8 *" when passing it to "ether_to_str()". svn path=/trunk/; revision=6682
2002-11-27The arguments to the "pntoh" and "pletoh" macros could be constGuy Harris1-19/+19
pointers, so cast them to "const guint8 *". svn path=/trunk/; revision=6681