aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More EPAN-related code movements. Get rid of usage of #include "globals.h"Gilbert Ramirez2000-09-2813-126/+188
| | | | | | | and #include "util.h" from epan code. Move get_home_dir() into epan/filesystem.c as it's used by plugins.c. svn path=/trunk/; revision=2461
* Move packet.[ch] to epanGilbert Ramirez2000-09-274-8/+8
| | | | svn path=/trunk/; revision=2460
* Fix for bug in lex command.Gilbert Ramirez2000-09-271-2/+2
| | | | svn path=/trunk/; revision=2459
* First step in moving core Ethereal routines to libepan.Gilbert Ramirez2000-09-2730-94/+222
| | | | svn path=/trunk/; revision=2458
* Windows Sniffers appear to write out ATM traces with a network type ofGuy Harris2000-09-232-3/+10
| | | | | | | | | | | | | 8, which is NDIS's ATM type. At least one capture appears to have LLC-encapsulated frames in it; for now, we'll map it to WTAP_ENCAP_ATM_RFC1483 - and make Ethereal dissect WTAP_ENCAP_ATM_RFC1483 by handing the frames to "dissect_llc()". While we're at it, we'll have Ethereal panic if handed a Wiretap packet type it doesn't dissect, rather than giving you a rather blank dissection. svn path=/trunk/; revision=2457
* Move #included C code from an *.h file to an *.inc file.Gilbert Ramirez2000-09-223-7/+12
| | | | svn path=/trunk/; revision=2456
* Make sure to pass the sent/received direction from pppdump.c inGilbert Ramirez2000-09-2117-53/+94
| | | | | | | | | | | | | | | | pseudo_header. Use generic "p2p_phdr" instead of "lapd_phdr". Modify toshiba.c and packet-lapd.c to take that into account. Add frame.p2p_dir, a filterable field, 0=sent, 1=recvd Make p2p_dir available in packe_info, as I think it will be needed in VJ COMP and UNCOMP dissection. Rename WTAP_ENCAP_TR to WTAP_ENCAP_TOKEN_RING. Mention pppd-log support in man page. Mention atmsnoop in README. svn path=/trunk/; revision=2455
* In "dissect_tcp()", compute the payload length of a TCP segment and useGuy Harris2000-09-211-5/+9
| | | | | | that value later, rather than computing it several times. svn path=/trunk/; revision=2454
* If I ever again have to compute the sequence number of the first byteGuy Harris2000-09-211-1/+12
| | | | | | | | | | after a TCP segment, so I can see what stuff some other segment is ACKing, I'll go crazy. Add a "Next sequence number" field to the TCP dissection, giving exactly that (well, giving exactly that unless the TCP segment is in a fragmented IP datagram, but hopefully those are rare; when we support IP fragment reassembly, we can fix that). svn path=/trunk/; revision=2453
* Mention support for reading pppd log files.Gilbert Ramirez2000-09-202-2/+8
| | | | svn path=/trunk/; revision=2452
* Give Tethereal a "-l" flag, as tcpdump has, to make the standard outputGuy Harris2000-09-202-4/+16
| | | | | | line-buffered. svn path=/trunk/; revision=2451
* Oh well, get rid of the debug printf's.Gilbert Ramirez2000-09-191-89/+1
| | | | svn path=/trunk/; revision=2450
* Add pppdump.obj to win32 makefile.Gilbert Ramirez2000-09-191-1/+2
| | | | svn path=/trunk/; revision=2449
* Add support for reading pppd log files in wiretap.Gilbert Ramirez2000-09-196-5/+735
| | | | svn path=/trunk/; revision=2448
* Shomiti Surveyor 3.x appears to have changed the version number in theGuy Harris2000-09-191-3/+9
| | | | | | | | | | | | file header to 4; fortunately, as they appear to put their extensions to snoop into the padding at the end of the record, all their capture files look alike to programs such as snoop and Ethereal that ignore the padding, so we can just treat version 4 just like version 2 (unless and until Brent decides a new snoop format is called for, changes the record header, and picks a version number that's the same as one used by Shomiti). svn path=/trunk/; revision=2447
* Move the dlclose() of libsnmp_handle into the libsnmp_handle != NULLGilbert Ramirez2000-09-191-2/+2
| | | | | | block. svn path=/trunk/; revision=2446
* The correct way to check for an error (rather than an EOF) from a failedGuy Harris2000-09-171-4/+4
| | | | | | | | attempt to read from a capture file is to check whether the error returned was 0 - if it is, it's an EOF. We no longer guarantee that the data offset supplied will be negative on an error and 0 on an EOF. svn path=/trunk/; revision=2445
* Close the handle for the SNMP library after we're done with it - sharedGuy Harris2000-09-171-7/+11
| | | | | | | objects are reference-counted so that won't make it disappear if Ethereal is also linked with it as a shared SNMP library. svn path=/trunk/; revision=2444
* Close the handle for the SNMP library after we're done with it - sharedGuy Harris2000-09-171-1/+2
| | | | | | | objects are reference-counted so that won't make it disappear if Ethereal is also linked with it as a shared SNMP library. svn path=/trunk/; revision=2443
* libpcap unconditionally includes <net/if.h> on UNIX systems, as that is,Guy Harris2000-09-173-9/+5
| | | | | | | | | | | | | | | | | | as far as I know, the only way to get IFF_UP, IFF_LOOPBACK, "struct ifreq", and "struct ifconf" defined, and those are required in order to get, via SIOCGIFCONF, the interface list, and to exclude interfaces that aren't up and handle loopback interfaces differently from other interfaces. If we're on UNIX and have libpcap, we should do the same; that way, if the system doesn't have <net/if.h> installed, the compile will fail with an "I can't find <net/if.h>" error, rather than the configure indicating that <net/if.h> can't be found, causing "util.c" not to include it, causing it to fail with complaints about IFF_UP, IFF_LOOPBACK, and various structures not being defined - the former tells you the root cause, the latter doesn't. svn path=/trunk/; revision=2442
* Apply the patch for ECN in the IP header fromRichard Sharpe2000-09-161-9/+19
| | | | | | Ulrich Kiermayr <kie@thp.univie.ac.at> svn path=/trunk/; revision=2441
* Code to read capture files from some version of tcpdump from some sortGuy Harris2000-09-154-110/+316
| | | | | | | of Nokia box (firewall) - yep, it's yet *another* mutant libpcap format that didn't change the magic number, sigh.... svn path=/trunk/; revision=2440
* Add a "-p" command-line option, and a checkbox in the "CaptureGuy Harris2000-09-157-47/+179
| | | | | | | Preferences" dialog box, to control whether to put the interface in promiscuous mode or not; Debian bug #34376 asked for this. svn path=/trunk/; revision=2439
* Corrected startup // shutdown of windows sockets to allow name resolution to ↵Graham Bloice2000-09-142-2/+18
| | | | | | work svn path=/trunk/; revision=2438
* Show CWR and ECN flags in TCP. Ulrich Kiermayr <kie@thp.univie.ac.at>Gilbert Ramirez2000-09-141-3/+17
| | | | svn path=/trunk/; revision=2437
* TVBUFF_SUBSET constructor shouldn't die when cleaning up afterGilbert Ramirez2000-09-141-2/+6
| | | | | | a thrown ReportedBoundsError. svn path=/trunk/; revision=2436
* Move BSWAP32 definition from packet-null.c to pint.h. Add moreGilbert Ramirez2000-09-142-9/+28
| | | | | | macros (from wiretap) to pint.h svn path=/trunk/; revision=2435
* Change #include "wtap-int.h" to #include "wtap.h"Gilbert Ramirez2000-09-141-2/+2
| | | | svn path=/trunk/; revision=2434
* Move to version 0.8.12Gilbert Ramirez2000-09-148-28/+32
| | | | svn path=/trunk/; revision=2432
* Added to ignore Win32 detritusGraham Bloice2000-09-131-0/+1
| | | | svn path=/trunk/; revision=2431
* Updated to ignore Win32 detritusGraham Bloice2000-09-135-0/+19
| | | | svn path=/trunk/; revision=2430
* Don't put hf_text_only into the tree of filter-able protocols and fields.Gilbert Ramirez2000-09-131-2/+7
| | | | svn path=/trunk/; revision=2429
* Use another cleanup function to avoid compiler warning.Gilbert Ramirez2000-09-131-3/+12
| | | | svn path=/trunk/; revision=2428
* Throw ReportedBoundsError instead of asserting if reported_length < -1.Gilbert Ramirez2000-09-133-12/+33
| | | | svn path=/trunk/; revision=2427
* Add an item for Craig Metz's OSPF patches.Guy Harris2000-09-131-0/+1
| | | | svn path=/trunk/; revision=2426
* Changes from Craig Metz to:Guy Harris2000-09-134-3/+13
| | | | | | | | decode type 7 LSAs (NSSA AS external); print the LS checksum as a four digit hexadecimal number. svn path=/trunk/; revision=2425
* Expand on the item about G_HAVE_GINT64.Guy Harris2000-09-121-1/+2
| | | | svn path=/trunk/; revision=2424
* Add support for NetBSD DLT_PPP_SERIAL, which has the value 50, and whichGuy Harris2000-09-121-1/+55
| | | | | | | is, for now, handled as WTAP_ENCAP_PPP (although we may have to split WTAP_ENCAP_PPP into more than one type at some point). svn path=/trunk/; revision=2423
* NULL may be defined as something such as "(void *)0", rather than justGuy Harris2000-09-121-3/+3
| | | | | | | as 0, so don't use it in a ":" operator where the other arm of the conditional is integral. svn path=/trunk/; revision=2422
* Add a col_get_writable in case there are any deeply embeddedRichard Sharpe2000-09-121-1/+14
| | | | | | | dissectors that need to change the writable status and restore the original status. svn path=/trunk/; revision=2421
* Oops, I left off one "-*" in the XLFD description for the font that isGuy Harris2000-09-121-2/+2
| | | | | | | | 6x13 on most UNIXes (frankly, I think XLFD should have been hidden very deeply in the bowels of most X toolkits, and not even exposed to most programmers, much less to users). svn path=/trunk/; revision=2420
* Include <unistd.h> to declare "close()" and "unlink()".Guy Harris2000-09-121-1/+5
| | | | svn path=/trunk/; revision=2419
* Fix typos and give more detail on some changes.Guy Harris2000-09-121-12/+15
| | | | svn path=/trunk/; revision=2418
* It's "GSList", not "GSlist".Guy Harris2000-09-121-2/+2
| | | | svn path=/trunk/; revision=2417
* Also free the GSLists for per-frame data on frames we haven'tGuy Harris2000-09-121-8/+6
| | | | | | re-dissected on a rescan. svn path=/trunk/; revision=2416
* Add news for upcoming 0.8.12Gilbert Ramirez2000-09-121-0/+105
| | | | svn path=/trunk/; revision=2415
* This completes the tvbuffication of packet-bxxp.c, in that all the cruft is ↵Richard Sharpe2000-09-121-33/+165
| | | | | | | | | | gone, I think. I also now handle a lot more of the BXXP protocol, and can handle multiple messages within a TCP segment. However, captures from the Linux loopback device confuse things awfully. svn path=/trunk/; revision=2414
* On some UNIX platforms, you need to include <sys/types.h> to getGuy Harris2000-09-111-1/+6
| | | | | | "u_char" defined. svn path=/trunk/; revision=2413
* Fix the problem with resetting per-frame state info problems that thereRichard Sharpe2000-09-111-8/+7
| | | | | | seemed to be ... svn path=/trunk/; revision=2412
* Fix build on Win32.Gilbert Ramirez2000-09-113-3/+13
| | | | svn path=/trunk/; revision=2411