aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2000-09-13Added to ignore Win32 detritusgrahamb1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2431 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-13Updated to ignore Win32 detritusgrahamb5-0/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2430 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-13Don't put hf_text_only into the tree of filter-able protocols and fields.gram1-2/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2429 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-13Use another cleanup function to avoid compiler warning.gram1-3/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2428 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-13Throw ReportedBoundsError instead of asserting if reported_length < -1.gram3-12/+33
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2427 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-13Add an item for Craig Metz's OSPF patches.guy1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2426 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-13Changes from Craig Metz to:guy4-3/+13
decode type 7 LSAs (NSSA AS external); print the LS checksum as a four digit hexadecimal number. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2425 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Expand on the item about G_HAVE_GINT64.guy1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2424 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Add support for NetBSD DLT_PPP_SERIAL, which has the value 50, and whichguy1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2423 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12NULL may be defined as something such as "(void *)0", rather than justguy1-3/+3
as 0, so don't use it in a ":" operator where the other arm of the conditional is integral. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2422 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Add a col_get_writable in case there are any deeply embeddedsharpe1-1/+14
dissectors that need to change the writable status and restore the original status. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2421 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Oops, I left off one "-*" in the XLFD description for the font that isguy1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2420 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Include <unistd.h> to declare "close()" and "unlink()".guy1-1/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2419 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Fix typos and give more detail on some changes.guy1-12/+15
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2418 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12It's "GSList", not "GSlist".guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2417 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Also free the GSLists for per-frame data on frames we haven'tguy1-8/+6
re-dissected on a rescan. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2416 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12Add news for upcoming 0.8.12gram1-0/+105
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2415 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-12This completes the tvbuffication of packet-bxxp.c, in that all the cruft is ↵sharpe1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2414 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-11On some UNIX platforms, you need to include <sys/types.h> to getguy1-1/+6
"u_char" defined. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2413 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-11Fix the problem with resetting per-frame state info problems that theresharpe1-8/+7
seemed to be ... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2412 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-11Fix build on Win32.gram3-3/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2411 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-11Added #include "strutil.h"gram1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2410 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-11Move format_text(), get_token_len(), and fine_line_end(), into strutil.cgram21-214/+296
This keeps tvbuff.c generic; it doesn't have to pull in packet.h and all of it's included files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2409 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-11We have to free up the per-frame data when we rescan, because we havesharpe2-2/+12
called packet_init_proto, which blows away the items the list points to. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2408 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-10Compute and display negative relative and delta time stamps correctly,guy6-53/+112
just in case time goes backwards (yes, it sometimes does happen in captures). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2407 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-09Small changes in help windows:deniel1-8/+15
- update overview. - add a note if packet capture is not available. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2406 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-09In the callback for the "OK" button in the font selection dialog, checkguy1-36/+71
to make sure we can load the font the user selected *and* the font that would, in theory, be the boldface version of that font; if not, pop up an error dialog, and don't nuke the font selection dialog (i.e., the user either has to pick fonts that work, or give up in disgust and click "Cancel"). Don't set "prefs.gui_font_name" until the "fetch" function is called - stuff the name in a static variable when the user clicks "OK" in the font selection dialog. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2405 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-09"redraw_hex_dump()" can't use "cfile.pd" or "cfile.current_frame", as itguy5-48/+47
may be redrawing a packet window that displays a frame other than the current frame; give it arguments to specify the raw frame data and "frame_data" structure for the frame. This requires that each packet window have, associated with it, a pointer to the "frame_data" structure; that replaces the "cap_len" and "encoding" fields in a "PacketWinData" structure, as those are just copies of fields from the frame's "frame_data" structure. "packet_hex_print()" needn't be passed both the start and length values from a "field_info" structure - just pass it a pointer to that structure, or NULL for "no field is selected in the packet". It also needn't, any longer, be passed the "cap_len" and "flags.encoding" fields of a "frame_data" structure - just pass it a pointer to that structure. In "redraw_hex_dump_all()", don't redraw the hex dump pane of the main window if there is no current frame. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2404 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-09Explain why "stream_prefs_apply()" doesn't do anything.guy1-3/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2403 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-09"#if 0" out the code that puts "Cut", "Copy", and "Paste" items into theguy1-1/+8
"Edit" menu, pending the implementation of cut/copy/paste, so that users don't think that there's something they can do (other than implementing cut/copy/paste :-)) to be able to use those functions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2402 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-08Redraw:guy12-63/+169
the text in all "Follow TCP Stream" windows; the text in the help window if we have one up; all hex dump windows; when GUI preference changes are to be applied, so that font changes and "Follow TCP Stream" color changes show up. Update both the Roman and bold font when the font is changed. Don't decrement the reference counts on the old Roman and bold fonts until that's all done. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2401 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-08Get rid of a debugging "fprintf()" call in "tvb_format_text()".guy1-3/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2400 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-08Graham Bloice's patch to support inverse video rather than boldfaceguy11-80/+273
highlighting of the bytes, in the hex dump window, corresponding to a selected field. Also, make "remember_ptree_widget()" static, as it's not used outside "gtk/proto_draw.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2399 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-08Load "libsnmp.so.0", not "libsnmp.so":guy1-8/+27
on the systems that have the problem we're working around, the SNMP shared library is "libsnmp.so.0"; on those systems, there's also no "libsnmp.so" unless the user has installed the UCD SNMP development package or has made a symlink from "libsnmp.so" to "libsnmp.so.0" by hand, and we don't want to force users to do that (some of them may be sufficiently new to UNIX that they don't know how to do that); the run-time linker, if told to load "libsnmp.so", won't necessarily realize that it's the same object as "libsnmp.so.0", and may load it again rather than using the already-loaded object, which might not be a good idea. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2398 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-08I have tvbuffified packet-bxxp.c and started on per-session and per-packetsharpe1-100/+249
state so I can dissect things correctly ... Will have to clean out all the old non-tvbuff cruft as well. Boy, I will be glad when we re-do Ethereal and have TCP segment re-assembly under control. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2397 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-08Added tvb_format_textsharpe2-2/+26
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2396 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-07Add return type for tvb_strneql() and add prototype in tvbuff.hgram2-4/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2395 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-07Add tvb_strneql routine for checking if a string is present in thesharpe1-1/+27
tvb at the current offset. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2394 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-07Always use "g_free()" to free "ifc.ifc_buf"; it's set to a valueguy1-2/+2
allocated by "g_malloc()", and one should always use "g_free()" to free stuff allocated with "g_malloc()" (using "free()" works if GLib isn't compiled with any special memory allocator debugging/profiling options, but doesn't work if it is compiled with those options). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2393 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-07Change wtap_read() API so that the data offset is set via a pointer, andgram17-218/+190
a "keep reading" boolean value is returned from the function. This avoids having to hack around the fact that some file formats truly do have records that start at offset 0. (i4btrace and csids have no file header. Neither does the pppdump-style file that I'm looking at right now). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2392 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-07Change variable from 'char*' to 'const char*' to avoid compiler warning.gram1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2391 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-06Check that columns are enabled and that COL_INFO exists before addinggram1-4/+7
to it (in the *_OR_DIE macros). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2390 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-06Fix offset bug in func 0x1737, and added code to automatically checkgram1-11/+45
offsets. Bug found by Marcel Cox <marcel.cox@myrealbox.com> git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2389 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-05Fix help display (random character displayed in tab).deniel1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2388 f5534014-38df-0310-8fa8-9805f1628bb7
2000-09-01Fix labelling of endianness. Error reported bygram1-3/+3
Ken A. Rederg�rd <kenr@trustix.com> git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2387 f5534014-38df-0310-8fa8-9805f1628bb7
2000-08-31Re-arrange size and nmemb arguments in fread() (file_read()) calls sogram1-8/+8
that these calls work on Win32. I still don't have a good reason as to why this is necessary, but it fixes the problem. I'll continue looking for a reason. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2386 f5534014-38df-0310-8fa8-9805f1628bb7
2000-08-31The interface list will now be get into an dynamic growing buffer and notgirlich1-14/+33
the (too big) buffer for 1024 network cards. The code comes directly after the ideas in Steven's book (UNIX network programming). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2385 f5534014-38df-0310-8fa8-9805f1628bb7
2000-08-30Initial BXXP dissector ...sharpe2-1/+634
Lots more work to be done. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2384 f5534014-38df-0310-8fa8-9805f1628bb7
2000-08-30List pint.h as a source file.gram1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2383 f5534014-38df-0310-8fa8-9805f1628bb7
2000-08-30Add FT_STRINGZ type. NCP dissector is only one that uses it right now.gram11-353/+473
Remove tvb_get_stringz from quake dissector and add tvb_get_nstringz, tvb_get_nstringz0, and tvb_strnlen to tvbuff.c. Remove multiple definitions of pntohl and friends from various places (except for wiretap) and put into pint.h Consolidate duplicate code for turning FT_* enums into strings (ala the glossary). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2382 f5534014-38df-0310-8fa8-9805f1628bb7