aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2001-06-12Give a number of files RCS IDs.Guy Harris21-26/+72
Give "proto_hier_stats.h" a standard header. svn path=/trunk/; revision=3540
2001-06-12DVMRP support, from Ronnie Sahlberg.Guy Harris6-21/+898
Give "packet-igmp.c" an RCS ID. svn path=/trunk/; revision=3539
2001-06-12Display hex numbers with a leading 0x.Guy Harris1-4/+4
Supply "true" and "false" strings for the Order flag bit. svn path=/trunk/; revision=3538
2001-06-10Rename the arguments and flags for the conversation routines, so as notGuy Harris5-248/+265
to imply that 1) conversations have source and destination addresses and ports - they don't (if they did, they'd be monologues, not conversations), they just have two address/port pairs for the two endpoints, with one or more of the address or port in the second pair possibly being wildcarded; 2) the first and second address or port argument to "find_conversation()" or "try_conversation_dissector()" have anything to do with the first or second address/port pair in a conversation - they don't, the two arguments to those routines are matched against *both* address/port pairs for a conversation; as otherwise people might think that they need to add flags to wildcard the first arguments "conversation_new()" or "find_conversation()" (they don't, they just have to pass the non-wildcarded address/port first and then pass the wildcarded one, even if that means passing the destination first and source second). svn path=/trunk/; revision=3537
2001-06-10Clean up the handling of MAC addresses - set the addresses in theGuy Harris1-62/+41
standard fashion, for data and managment packets, and set the columns correctly for other packets (as we currently put address types in the address columns; if we don't do so, we could just set the addresses in the standard fashion for those packets as well). svn path=/trunk/; revision=3536
2001-06-10Clean up the handling of AVPs.Guy Harris1-258/+398
svn path=/trunk/; revision=3535
2001-06-10MP-BGP message support, from Thierry Stagiaire.Guy Harris4-242/+484
svn path=/trunk/; revision=3534
2001-06-09"long" does not necessarily mean "32-bit integral data type"; the unionGuy Harris1-6/+6
used to treat a 32-bit quantity either as 2 16-bit quantities or a 32-bit quantity should use "guint32", not "long", for the latter. We should also use "guint8" for the two 8-bit quantities in "s_util", although that shouldn't make a difference in practice (we store into them, but fetch only the 16-bit overlapping quantity, which is already unsigned). svn path=/trunk/; revision=3533
2001-06-08We only need to print the data corresponding to the field, so fetch onlyGuy Harris1-14/+11
that data with a "tvb_get_ptr()". svn path=/trunk/; revision=3532
2001-06-08When printing the contents of a raw-data field, don't use the raw dataGuy Harris5-21/+54
of the current frame as the source, use the raw data of the tvbuff that's the data source of that field. svn path=/trunk/; revision=3531
2001-06-08The only thing including "globals.h" did for us was to drag inGuy Harris1-2/+2
"packet.h"; we don't need the rest of what "globals.h" gives us, so just include "packet.h". svn path=/trunk/; revision=3530
2001-06-08There's no need to include "globals.h" - don't include it.Guy Harris5-20/+9
svn path=/trunk/; revision=3529
2001-06-08Add support for reassemmbling IPv6 fragments, and add an option toGuy Harris1-29/+262
control whether to do it or not. svn path=/trunk/; revision=3528
2001-06-08Don't display the data portion of an ER NPDU - we dissect it as a CLNPGuy Harris1-2/+2
PDU. svn path=/trunk/; revision=3527
2001-06-08Don't display the data portion of an ER NPDU - we dissect it as a CLNPGuy Harris1-4/+4
PDU. svn path=/trunk/; revision=3526
2001-06-08Move the fragment reassembly code into "reassemble.c" andGuy Harris8-337/+718
"reassemble.h", and remove IPv4 dependencies from it. Use it for OSI CLNP segment reassembly as well. svn path=/trunk/; revision=3525
2001-06-08Use "col_set_str()", rather than "col_add_str()", wherever possible.Guy Harris1-114/+109
Don't bother doing multiple "tvb_get_letohs()" to get the frame control field - we fetched it once, just use the value we fetched. Call sub-dissectors *regardless* of whether a protocol tree is being built or not - dissectors should always do so. svn path=/trunk/; revision=3524
2001-06-07Pull the hash functions into macros, rather than using duplicating theGuy Harris1-55/+59
code to generate the hash index. svn path=/trunk/; revision=3523
2001-06-07More updates from Hannes Gredler.Guy Harris3-28/+72
svn path=/trunk/; revision=3522
2001-06-06Updates from Martin Held.Guy Harris1-1/+3
svn path=/trunk/; revision=3521
2001-06-06Gnutella support, from B. Johannessen.Guy Harris6-3/+912
svn path=/trunk/; revision=3520
2001-06-06Fix a comment.Guy Harris1-10/+14
Split some lines differently. svn path=/trunk/; revision=3519
2001-06-05Fix a typo.Guy Harris1-2/+2
svn path=/trunk/; revision=3518
2001-06-05hmac-md5 authentication support for IS-IS, from Hannes Gredler.Guy Harris3-27/+38
svn path=/trunk/; revision=3517
2001-06-05Juniper Networks vendor ID in RADIUS dissector, from Hannes Gredler.Guy Harris2-1/+3
svn path=/trunk/; revision=3516
2001-06-05Compensate better for invalid (at least for IPv4) prefix lengths inGuy Harris1-3/+10
FECs. svn path=/trunk/; revision=3515
2001-06-05Correctly compute the OSI checksum.Guy Harris4-29/+112
Have "calc_checksum()" just return an indication of the status of the checksum. Check the CLNP header checksum, and put display its status. svn path=/trunk/; revision=3514
2001-06-05Enable "Match Selected" only if there's a field selected *and* we can doGuy Harris16-115/+272
a "Match Selected" on it - we can't do a "Match Selected" if the field has no value (e.g., FT_NULL) and has a length of 0. If we unselect the current packet, we don't have a protocol tree, so we don't have a currently selected field - clear the "Match Selected" menu item and the display in the status line of information about the currently selected field. Move the low-level statusbar manipulation into "gtk/main.c", in routines whose API doesn't expose anything GTK+-ish. "close_cap_file()" calls one of those routines to clear out the status bar, so it doesn't need to take a pointer to the statusbar widget as an argument. "clear_tree_and_hex_views()" is purely a display-manipulating routine; move it to "gtk/proto_draw.c". Extract from "tree_view_unselect_row_cb()" an "unselect_field()" routine to do all the work that needs to be done if the currently selected protocol tree row is unselected, and call it if the currently selected packet list row is unselected (if it's unselected, there *is* no protocol tree, so no row can be selected), as well as from "tree_view_unselect_row_cb()". Before pushing a new field-description message onto the statusbar, pop the old one off. Get rid of an unused variable (set, but not used). svn path=/trunk/; revision=3513
2001-06-05There is no string value assigned to the "ip.fragment.error",Guy Harris1-8/+8
"ip.fragment", and "ip.fragments" fields, so make them FT_NONE, not FT_STRING. (Otherwise, if you try to do a "Match Selected" on them, we dump core because the value is a null pointer and we try to dereference it.) svn path=/trunk/; revision=3512
2001-06-04Make Ethereal default to promiscuous-mode captures, the way it didGuy Harris1-6/+5
before promiscuous-vs-non-promiscuous was made a preference in the preferences file (I suspect at least some of the problems people are seeing with captures on Windows not seeing all the traffic they expect to see might be due to the captures not being done in promiscuous mode - and the default behavior shouldn't have changed in any case). svn path=/trunk/; revision=3511
2001-06-04Define a "COPY_ADDRESS()" macro, which copies the data in one address toGuy Harris2-21/+20
another (copying the data to a mallocated array) in "epan/packet_info.h", and use it in the conversation code. svn path=/trunk/; revision=3510
2001-06-04Add an "ADDRESSES_EQUAL()" macro, taking pointers to two "address"Guy Harris2-32/+17
structures as arguments, that evaluates to "true" if the two addresses are equal and "false" if they're not equal. Use that macro in the conversation code. svn path=/trunk/; revision=3509
2001-06-04Updates from Mark Burton.Guy Harris1-26/+56
svn path=/trunk/; revision=3508
2001-06-02Correct the values for sna_rh_ru_category_vals, thanks toGilbert Ramirez1-23/+23
Edgar Iglesias <edgar.iglesias@axis.com> Also fix a few more places where I accidentally used hex instead of binary. svn path=/trunk/; revision=3507
2001-06-02"old_dissector_delete()" is no longer used; remove it.Guy Harris2-35/+4
Update Gerald's e-mail address. svn path=/trunk/; revision=3506
2001-06-02Handoff registration routines must be named "proto_reg_handoff_XXX()",Guy Harris1-3/+2
not "proto_register_handoff_xxx()"; otherwise, the Python "register.c"-generation script will think it's a protocol registration routine not a handoff registration routine. svn path=/trunk/; revision=3505
2001-06-02On Windows, "min" apparently gets defined or declared in such a fashionGuy Harris1-6/+6
that declaring our own static function "min()" doesn't work; rename it "iscsi_min()" to get rid of the problem. svn path=/trunk/; revision=3504
2001-06-02Not all platforms have u_int32_t (for example, Windows+MSVC doesn't), soGuy Harris1-2/+2
use "guint32" instead. svn path=/trunk/; revision=3503
2001-06-02Windows+MSVC lacks "strptime()", so we need to include "strptime.h" toGuy Harris1-1/+2
declare our version of it. svn path=/trunk/; revision=3502
2001-06-02Changes to structure initializations not to initialize some but not allGuy Harris5-20/+22
members, from Joerg Mayer. svn path=/trunk/; revision=3501
2001-06-02Windows and the MSVC++ 6.0 library don't have "strptime()", so pull inGuy Harris7-10/+1061
the glibc "strptime()" (modified so it doesn't require the rest of glibc), set up the configure script to check for it, and set up Makefile.am and Makefile.nmake to use it. Get rid of NEED_MKSTEMP - nothing uses it. svn path=/trunk/; revision=3500
2001-06-02Create the tree for an ICMPv6 optionn before putting something in it.Guy Harris1-5/+5
svn path=/trunk/; revision=3499
2001-06-02The Cisco 802.11 bridges used 0000F8, i.e. OUI_CISCO_90, not 000078;Guy Harris2-16/+6
various Cisco documents indicate that 0000F8 is used on at least some Cisco boxes for bridging Ethernet frames onto 802.x+LLC frames. svn path=/trunk/; revision=3498
2001-06-01draft-draves-ipngwg-router-selection-01 support.Jun-ichiro itojun Hagino2-45/+137
fix icmp6 homeagent info option decoding (convert to tvb framework). plug a memory leak. sync some of mobile-ip6 #define symbol names with draft-ietf-ipngwg-2292bis-02. svn path=/trunk/; revision=3497
2001-06-01Some Cisco 802.11 bridges apparently change the OUI of packets fromGuy Harris2-6/+18
000000 to 000078, so treat LLC packets with that OUI the same way we treat LLC packets with 000000. svn path=/trunk/; revision=3496
2001-06-01Updates from Martin Held.Guy Harris1-15/+53
svn path=/trunk/; revision=3495
2001-06-01Bug fixes, and WEP support, from Javier Achirica.Guy Harris3-65/+226
svn path=/trunk/; revision=3494
2001-05-31Support for leading LWS in RTSP headers, from Robert Tsai.Guy Harris2-1/+10
svn path=/trunk/; revision=3493
2001-05-31Updates from Mark Burton.Guy Harris1-76/+172
svn path=/trunk/; revision=3492
2001-05-31Don'tcramallthewordsinapreference'snametogether;Guy Harris1-5/+5
underscores_are_permitted_in_those_names. svn path=/trunk/; revision=3491