aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2002-10-22Add in a notion of "circuits", which are for virtual circuit-orientedGuy Harris3-3/+346
protocols (where there's a virtual circuit ID of some sort in packets) what conversations are for protocols ultimately running atop connectionless network layers. Have circuit type and ID values in the "packet_info" structure. Have the Frame Relay dissector set the circuit type and ID values, and have the Wellfleet compression protocol set up circuit information and store compression information with the circuit. svn path=/trunk/; revision=6471
2002-10-22Add in a notion of "circuits", which are for virtual circuit-orientedGuy Harris5-9/+29
protocols (where there's a virtual circuit ID of some sort in packets) what conversations are for protocols ultimately running atop connectionless network layers. Have circuit type and ID values in the "packet_info" structure. Have the Frame Relay dissector set the circuit type and ID values, and have the Wellfleet compression protocol set up circuit information and store compression information with the circuit. svn path=/trunk/; revision=6469
2002-10-19The Frame Relay DLCI is a virtual circuit identifer, not a source orGuy Harris2-12/+2
destination address, so yank out the AT_DLCI stuff. Clean up indentation. svn path=/trunk/; revision=6455
2002-10-19"addr->data", not "addr", points to the DLCI.Guy Harris1-2/+2
svn path=/trunk/; revision=6454
2002-10-18Put in code to handle AT_DLCI.Guy Harris1-2/+7
svn path=/trunk/; revision=6453
2002-10-18Add an AT_ARCNET address type for ARCNET addresses, and have the ARCNETGuy Harris2-3/+20
dissector set the source and destination link-layer addresses. svn path=/trunk/; revision=6452
2002-10-16Make the dfilter code support multiple header_field_info's withGilbert Ramirez4-59/+101
the same name (abbreviation). Thus, if multiple protocols or fields are registered with the same name, you can still filter on the name and have the filtering work as expected. svn path=/trunk/; revision=6434
2002-10-15Squelch some compiler warnings.Guy Harris1-4/+4
svn path=/trunk/; revision=6426
2002-10-15When registering a protocol, make sure there are no other protocols withGuy Harris1-1/+38
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-15Add a new port type, PT_IPX, for IPX socket numbers; set "pinfo->ptype",Guy Harris2-3/+15
"pinfo->srcport", and "pinfo->destport" appropriately in the IPX dissector. Add support for PT_IPX port types in display columns. Have an "spx.socket" dissector table, similar to the "ipx.socket" dissector table, and have the SPX dissector use that, with the IPX socket numbers from "pinfo->srcport" and "pinfo->destport", so that dissectors for protocols that run atop SPX can register with particular socket numbers. (Think of it as similar to what would have been the case had the IP header had 16-bit source and destination port numbers, and had TCP and UDP used those port numbers rather than having port numbers in their headers.) Also, have the SPX dissector dissect subprotocols regardless of whether we're building a protocol tree or not. Use the dissector handle for the IPX message dissector for both IPX socket numbers; there's no need to create separate handles for both registrations. Have NDPS register as a subdissector of the SPX dissector, using "spx.socket", and get rid of the duplicate SPX dissection in the NDPS dissector. Make the NDPS dissector set the columns regardless of whether a protocol tree is being built, and clean up the dissector (fixing some bugs). Get rid of unneeded includes in "packet-ndps.c". svn path=/trunk/; revision=6424
2002-10-14From Ulf Lamping: count ARP packets in capture progress dialog box.Guy Harris1-1/+2
svn path=/trunk/; revision=6416
2002-10-09Support for both old and brand new libtool versionsJörg Mayer1-1/+2
svn path=/trunk/; revision=6389
2002-10-06Change by Didier Gautheron to make automake 1.7 work.Jörg Mayer1-4/+4
svn path=/trunk/; revision=6372
2002-09-26Bump the version up to 0.9.7. The countdown begins. Too bad ourGerald Combs1-2/+2
releases don't involve explosive bolts like NASA launches do. Bring the ChangeLog and NEWS files up to date to the end of August. svn path=/trunk/; revision=6341
2002-09-10When allocating a hash table for a given MAC address range, useGuy Harris1-2/+2
"g_malloc0()", so it starts out initialized to all null pointers. svn path=/trunk/; revision=6247
2002-09-09"dfilter_prime_proto_tree()" doesn't modify the "dfilter_t" to whichGuy Harris4-10/+8
it's handed a pointer, which means that "epan_dissect_prime_dfilter()" doesn't do so either; make that argument a "const dfilter_t *" in both cases. svn path=/trunk/; revision=6239
2002-09-09Allow the "manuf" file to contain well-known MAC addresses and addressGuy Harris1-56/+354
ranges specified with a mask, as well as manufacturer OUIs. Match the address range values, as well as MAC addresses and manufacturer OUIs, when translating MAC addresses to names. Have "make-manuf" read a file containing the well-known addresses and append it to the list of OUIs. svn path=/trunk/; revision=6233
2002-09-04Tap api. tap is a simple api that can be used for arbitrary extensions.Ronnie Sahlberg1-1/+3
One example extension is rpcstat. Try -Z rpc,rtt,100003,3 as argument to tethereal when reading a capture containing NFSv3 packets. tap-rpcstat.[ch] is intended to demonstrate the api and can be used to base other extensions on. svn path=/trunk/; revision=6175
2002-09-02From Hannes Gredler:Guy Harris1-3/+3
open up a new subtree for dissecting the lsp-entry TLV; remove the isis_lsp_decode_lsp_id() routine, as the same functionality is better served using print_system_id(); fix a small bug in print_system_id(). svn path=/trunk/; revision=6169
2002-08-29From Hannes Gredler: make the IS-IS dissector more verbose in the INFOGuy Harris1-4/+10
field - specifically for IIHs the System-ID of the Hello; LSPs the LSP-ID, Sequence #, Lifetime; CSNPs the LAN-ID, Start LSP-ID, End LSP-ID. and change the display of some IDs. Clean up white space. svn path=/trunk/; revision=6128
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer84-538/+538
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2002-08-28Add gtk2/glib2 handling to configure. Use --enable-gtk2 to useJörg Mayer1-3/+9
gtk2 instead of gtk and glib2 instead of glib. Right now, --enable-gtk2 will fail during compile unless acompanied by --disable-ethereal, as ethereal does not yet support gtk2 (but does support glib2 alone). svn path=/trunk/; revision=6107
2002-08-24From Ulf Lamping: add a new FT_FLOAT type, for single-precisionGuy Harris5-17/+241
floating-point numbers, and display all the significant digits for both single-precision and double-precision floating-point numbers in the protocol tree, not just what "%g" does (6 digits). Put in comments explaining how the length of filter strings is computed, and fix some of the computations. svn path=/trunk/; revision=6081
2002-08-24Before dissecting a packet, clear the filter field and value stored withGuy Harris1-1/+3
each column for use by the "Match Selected" and "Prepare Selected" functions in the packet list pane. svn path=/trunk/; revision=6080
2002-08-22Fix the comment before "CMP_ADDRESS()" to reflect reality ("memcmp()"Guy Harris1-3/+3
isn't guaranteed to return 0, 1, or -1, it returns *some* positive number, not necessarily 1, if the first argument is greater than the second, and *some* negative number, not necessarily -1, if the first argument is less than the second). svn path=/trunk/; revision=6063
2002-08-21Moved the generic true_false_string saying "Set", "Not set" intoTim Potter2-2/+9
epan/packet.c It was cut and pasted into seven other dissectors! svn path=/trunk/; revision=6052
2002-08-18From Vassilii Khachaturov: put protocol blurbs into tables generatedGuy Harris1-3/+3
with the "-G fields" flag. In the scripts to process that output, handle FT_UINT64, FT_INT64, and FT_UINT_STRING. svn path=/trunk/; revision=6012
2002-08-17Bump the version number to 0.9.6. Update the ChangeLog. Add roughGerald Combs1-2/+2
release notes to NEWS. svn path=/trunk/; revision=6006
2002-08-14From Tomas Kukosa: add some more routines to the plugin API.Guy Harris3-25/+31
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-14Sort .cvsignore alphabetically and add libtool where missing.Jörg Mayer1-11/+12
svn path=/trunk/; revision=5993
2002-08-14Replace usage of AC_PROG_RANLIB which is deprecated for newer versionsJörg Mayer1-2/+2
of autoconf by AM_PROG_LIBTOOL svn path=/trunk/; revision=5992
2002-08-04Undo my last change: These files are used by systems only that need sys/types.hJörg Mayer2-13/+29
anyway (see Guys remark on inet_pton.c). svn path=/trunk/; revision=5947
2002-08-03<netinet/in.h> is needed for <arpa/inet.h>, at least on some platforms,Guy Harris1-13/+21
and <sys/types.h> is needed for <netinet/in.h>. On systems with "inet_pton()", the API is defined using "u_char", and we're including <sys/types.h> on platforms that have it (which should be most if not all UNIX platforms) and including <winsock2.h> on platforms that have it (Windows), so we might as well use "u_char" and "u_int", as the BSD version of "inet_pton.c" does. (Besides, we weren't including any GLib include files, so "guchar" and "guint" weren't getting defined in any case.) svn path=/trunk/; revision=5937
2002-08-03<netinet/in.h> is needed for <arpa/inet.h>, at least on some platforms,Guy Harris1-1/+9
and <sys/types.h> is needed for <netinet/in.h>. svn path=/trunk/; revision=5936
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer22-194/+70
equivalents for the epan/ directory but leave winsock2.h in inet_pton.c and inet_ntop.c for now (can't estimate the consequences). svn path=/trunk/; revision=5928
2002-07-31Fix small typoRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=5920
2002-07-31Adding a new macro CMP_ADDRESS similar to ADDRESS_EQUAL but this one will returnRonnie Sahlberg1-1/+15
-1,0,1 as the xxxcmp() functions will instead of just true/false. Useful if you not only want to check for equality but also if you want to have a way to order the elements. svn path=/trunk/; revision=5917
2002-07-17Add an extra argument to "tvb_find_line_end()", which specifies what itGuy Harris2-16/+66
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 Harris3-16/+3
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-16From Joerg Mayer: add #includes of "snprintf.h" in modules that usedGuy Harris1-1/+5
"snprintf()" but weren't including "snprintf.h". svn path=/trunk/; revision=5887
2002-07-12From Anand V. Narwani:Guy Harris1-1/+4
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-06-29From Didier Gautheron:Guy Harris1-3/+3
Add Zone Information Protocol support. Rename "ddp.dst.socket" and "ddp.src.socket" to "ddp.dst_socket" and "ddp.src_socket", as the socket number is no longer considered part of the DDP address. svn path=/trunk/; revision=5800
2002-06-28There are no "ipx.src" or "ipx.dst" filterable fields.Guy Harris1-6/+1
svn path=/trunk/; revision=5787
2002-06-28From Hannes Gredler: fix display of OSI system IDs to use a dot ratherGuy Harris1-3/+3
than a dash before the PSN byte; the dash is typically only used to demarcate the fragment. svn path=/trunk/; revision=5785
2002-06-28Bump the version up to 0.9.5.Gerald Combs1-2/+2
svn path=/trunk/; revision=5779
2002-06-28From Didier Gautheron: move port number from AppleTalk addresses toGuy Harris4-7/+22
separate column, and put in hidden fields for AppleTalk source and destination addresses. svn path=/trunk/; revision=5778
2002-06-23Add a routine to "epan/filesystem.c" to test whether a file is a FIFO.Guy Harris2-2/+29
Use that in Tethereal rather than duplicating a pile of macros. Get rid of the remaining uses of "stat()" in Tethereal - none of them are necessary (they were just cut-and-pasted from Ethereal). svn path=/trunk/; revision=5746
2002-06-23WinPcap 2.3's <pcap.h> includes <packet32.h>, and WinPcap 2.3'sGuy Harris9-27/+26
<packet32.h> includes <winsock2.h>; we include that rather than <winsock.h>, to avoid errors due to conflicting declarations in <winsock.h> and <winsock2.h>. svn path=/trunk/; revision=5742
2002-06-19From Joerg Mayer: fix a typo in a comment.Guy Harris1-2/+2
svn path=/trunk/; revision=5707
2002-06-04Get rid of the "data_src" member of the "frame_data" structure; put itGuy Harris5-18/+20
in the "packet_info" structure instead, as we don't need a pointer for every single frame in the capture file, just for each frame for which we currently have an open "epan_dissect_t". svn path=/trunk/; revision=5614