aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2001-06-18From Joerg Mayer: explicitly fill in all members of aGuy Harris162-3023/+3028
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
2001-06-18Various signed vs. unsigned fixes, from Joerg Mayer.Guy Harris8-17/+19
svn path=/trunk/; revision=3560
2001-06-18Define __USE_XOPEN in files that use "strptime()", from Joerg Mayer.Guy Harris2-4/+11
svn path=/trunk/; revision=3559
2001-06-18Support for External Reachability TLVs, and assorted outputGuy Harris2-27/+73
improvements, from Hannes Gredler. svn path=/trunk/; revision=3558
2001-06-16Add the PPP Compression Control Protocol to the list of PPP protocolsGuy Harris1-1/+2
for which the ethertype dissector knows the name. svn path=/trunk/; revision=3557
2001-06-16Set the Protocol column in dissectors for PPP-specific subprotocols.Guy Harris1-1/+9
svn path=/trunk/; revision=3556
2001-06-15PAP support, from Laurent Rabret.Guy Harris2-7/+157
svn path=/trunk/; revision=3555
2001-06-15Explain why we have to be ready to handle Ethernet frames withGuy Harris2-5/+37
protocol type values that are PPP protocol types. svn path=/trunk/; revision=3554
2001-06-15There can be more than one next hop network address in theGuy Harris1-9/+19
BGPTYPE_MP_REACH_NLRI stuff; dissect all of them. svn path=/trunk/; revision=3553
2001-06-15If "buf" is a "char *", "sizeof(buf)" evaluates to the size of aGuy Harris1-2/+2
"char *" variable, not to the size of the buffer to which it points. svn path=/trunk/; revision=3552
2001-06-15If the capture child process sends the parent an error message with aGuy Harris1-15/+18
byte count of zero, don't bother allocating a buffer for that message, as we wouldn't do anything with that buffer. Null-terminate the error message once we read it, before using it as a string. svn path=/trunk/; revision=3551
2001-06-15Clean up the handling of RTP padding.Guy Harris1-28/+73
svn path=/trunk/; revision=3550
2001-06-14Bug fix from Francisco Javier Cabello.Guy Harris1-1/+2
svn path=/trunk/; revision=3549
2001-06-14As long as we're supporting PPP protocol types over Ethernet, we mightGuy Harris2-6/+12
as well just include "ppptypes.h" in "packet-ethertype.c", rather than defining ETHERTYPE_ values equal to the corresponding PPP_ values, and add entries for the PPP protocols we now dissect when running atop Ethernet. svn path=/trunk/; revision=3548
2001-06-14LCP-over Ethernet and IPCP-over-Ethernet support, from Laurent Rabret.Guy Harris5-3/+14
svn path=/trunk/; revision=3547
2001-06-14Cosmetic: Corrected "Maximum policed unit" to "Maximum packet size"Ashok Narayanan1-7/+7
svn path=/trunk/; revision=3546
2001-06-14Set the reported length of the tvbuff we hand to the MPEG1 dissector.Guy Harris1-3/+5
svn path=/trunk/; revision=3545
2001-06-14RFC 2250 MPEG1 support, from Francisco Javier Cabello.Guy Harris6-4/+413
svn path=/trunk/; revision=3544
2001-06-14An Acct-Status-Type value of 3 is Interim-Update; thanks and a tip ofGuy Harris1-1/+2
the hat to Diana Eichert for pointing out that 3 was missing. svn path=/trunk/; revision=3543
2001-06-14Check for a bogus TCP header length, and don't try to do dissection ifGuy Harris1-3/+24
it's bogus. svn path=/trunk/; revision=3542
2001-06-14If we see an RTP packet for a version of the protocol other than versionGuy Harris1-10/+54
2, don't try to dissect any of it other than the version field. Don't try to dissect the RTP data and padding if there's more padding than data.... svn path=/trunk/; revision=3541
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