summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-13"pinfo->pseudo_header" might be null, even for link-layer types such asGuy Harris1-11/+18
WTAP_ENCAP_CHDLC; check whether it's null before using it. Use FROM_DCE rather than 0x80 to check the "this is DCE->DTE" bit in "x25.flags". svn path=/trunk/; revision=5148
2002-04-12Add (untested) routines to fetch IEEE single-precision andGuy Harris2-2/+130
double-precision floating-point numbers, in big-endian and little-endian format (hopefully there aren't any middle-endian formats; if there are, we'll have to add them), from a tvbuff, and to return floats (for single-precision) and doubles (for double-precision). svn path=/trunk/; revision=5147
2002-04-12Bug fix from Didier Gautheron.Guy Harris3-2/+7
svn path=/trunk/; revision=5146
2002-04-11From Pasi Eronen: support for the PCT record layer, and fixes for aGuy Harris2-55/+200
couple of bugs in the TCP desegmentation routines. svn path=/trunk/; revision=5145
2002-04-11From Joerg Mayer: get rid of some unused arguments, and make someGuy Harris4-33/+32
routines not used outside the file in which they're defined static. svn path=/trunk/; revision=5144
2002-04-11From Pasi Eronen: add some items for the cipher suites for Microsoft'sGuy Harris2-1/+13
old PCT protocol. svn path=/trunk/; revision=5143
2002-04-11From Tom Uijldert: create a subtree with "proto_item_add_subtree()",Guy Harris1-29/+33
rather than just using an item as a tree. svn path=/trunk/; revision=5142
2002-04-11Update the Win32 nmakefile to include "packet-lmp.c".Guy Harris1-1/+2
svn path=/trunk/; revision=5141
2002-04-11Do the "follow TCP stream" stuff before calling the subdissector, soGuy Harris1-13/+14
that it gets done even if the subdissector throws an exception (and so that, if the subdissector modifies the addresses or ports, we still hand the right values to "reassemble_tcp()"). svn path=/trunk/; revision=5140
2002-04-11Add "-" (hyphen) to the pattern for field-name/non-quoted string.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=5139
2002-04-10Added support for the Link Management Protocol (LMP), used for opticalAshok Narayanan2-1/+1460
signalling and Generalized MPLS. This commit contains code for the protocol version described in draft-ietf-ccamp-lmp-03.txt. svn path=/trunk/; revision=5138
2002-04-09Fixed two instances where si->sip was being not checked for NULL beforeTim Potter1-3/+3
being dereferenced. svn path=/trunk/; revision=5137
2002-04-09From Joerg Mayer: remove unused parameters.Guy Harris1-16/+16
svn path=/trunk/; revision=5136
2002-04-09"dissect_frame()" is now static; don't declare it in "packet-frame.h".Guy Harris1-6/+2
svn path=/trunk/; revision=5135
2002-04-09Move the definition of the FROM_DCE bit in the "flags" field of aGuy Harris10-87/+289
"struct x25_phdr" to "wiretap/wtap.h". Have two X.25 dissectors, one of which assumes that there's a "struct x25_phdr" pseudo-header and one of which doesn't; the former uses the information in that pseudo-header to determine whether the packet is DTE->DCE or DCE->DTE, and the latter assumes it has no clue whether the packet is DTE->DCE or DCE->TDE. Use the former one in the LAPB dissector, and the latter one in the XOT dissector and in the LLC dissector table. In the X.25-over-TCP dissector, handle multiple X.25 packets per TCP segment, and handle X.25 packets split across TCP segments. svn path=/trunk/; revision=5134
2002-04-09Get rid of the extra "Header" entry, putting the tree back the way itGuy Harris1-58/+41
was. Get rid of variables unused as a result. svn path=/trunk/; revision=5133
2002-04-09Decode FORM_1 and FORM_REL flag values as value_strings.Tim Potter2-10/+25
svn path=/trunk/; revision=5132
2002-04-08More static-ization.Gilbert Ramirez6-13/+13
svn path=/trunk/; revision=5131
2002-04-08More static-ization. In util.c, I commented out the ASCII-to-EBCDICGilbert Ramirez2-3/+5
functions, until that time that we need them. svn path=/trunk/; revision=5130
2002-04-08Make some variables and functions static.Gilbert Ramirez3-27/+23
svn path=/trunk/; revision=5129
2002-04-08From Michael Tuexen:Guy Harris1-26/+6
- fix a bug with the LI field - remove some out of date comments - remove some unnecessary #includes svn path=/trunk/; revision=5128
2002-04-08"expand_tree()" and "collapse_tree()" can be called on leaf nodes, soGuy Harris1-9/+19
don't blow up if "finfo->tree_type" is -1, just don't expand anything. svn path=/trunk/; revision=5127
2002-04-08Note the AiroPeek support in the message for the file type.Guy Harris1-2/+2
svn path=/trunk/; revision=5126
2002-04-08From Scott Renfro: remove unused "pinfo" arguments.Guy Harris1-28/+26
svn path=/trunk/; revision=5125
2002-04-08The length passed into "seek_read" routines is the length supplied byGuy Harris1-6/+1
the "read" routine, which means it's already had any end-of-frame padding/FCS removed; we don't need to remove it in the "seek_read" routine. svn path=/trunk/; revision=5124
2002-04-08Use WTAP_ENCAP_IEEE_802_11_WITH_RADIO for AiroPeek files, rather thanGuy Harris6-152/+111
having a special encapsulation type for AiroPeek files. svn path=/trunk/; revision=5123
2002-04-08Add an encapsulation type for "802.11 with radio information"; that typeGuy Harris7-74/+259
returns radio information such as signal strength, channel, and data rate in a pseudo-header. Add that pseudo-header. Use the "802.11 with radio information" encapsulation type for Wireless Sniffer files; extract the radio information from where it appears to be in the header. Add dissector code for that encapsulation type. Fix an error in the code to put radio information into the AiroPeek tree. Make the "wrapped" flag for NetXRay/Windows Sniffer captures a "gboolean". svn path=/trunk/; revision=5122
2002-04-08Fix the transparency on each 16-color image in ethereal.ico.Gerald Combs4-1/+5
Add our own checkbox images to the NSIS installer. svn path=/trunk/; revision=5121
2002-04-08From Joerg Mayer; get rid of unused arguments, and make some variablesGuy Harris1-17/+17
not used outside "packet-beep.c" static. svn path=/trunk/; revision=5120
2002-04-08Yes, that stuff really *does* appear to be just padding. Go figure.Guy Harris1-17/+6
svn path=/trunk/; revision=5119
2002-04-08Get rid of an unused variable.Guy Harris1-5/+4
Don't register the PFLOG dissector by name; it's only called through the "wtap_encap" dissector table. svn path=/trunk/; revision=5118
2002-04-08If variables are used only if "HAVE_UCD_SNMP" is undefined, declare themGuy Harris1-2/+3
only if "HAVE_UCD_SNMP" is undefined. svn path=/trunk/; revision=5117
2002-04-08Clean up the "Use zlib library" message.Guy Harris1-4/+8
svn path=/trunk/; revision=5116
2002-04-08Replace "--enable-zlib" with "--with-zlib", and have it take an optionalGuy Harris6-30/+287
"=DIR" argument to specify the directory in subdirectories of which zlib's headers and libraries can be found. svn path=/trunk/; revision=5115
2002-04-08A devicemode contains a uint32 at the start which represents the size ofTim Potter1-4/+7
the structure. Fixed an off by one but in displaying the device mode in a PRINTER_INFO_2 structure. The devicemode in a devicemode container is not a deferred pointer but rather occurs immediately after the pointer if it is non-NULL. svn path=/trunk/; revision=5114
2002-04-07Get rid of the unused hf_ value "hf_isis_hello_clv_restart".Guy Harris3-44/+50
Use the "tree_id" argument to "isis_dissect_mt_clv()" for the 2-byte MT IDs, and arrange that the two hf_ values passed as that argument actually be defined for protocol fields. Fix the loop in "isis_dissect_mt_clv()" so that it actually catches an odd byte at the end (i.e., loop until there is data at all, not until there is 1 or fewer bytes), and put that odd byte, if it exists, into the tree as a 1-byte text item, not a 2-byte text item. svn path=/trunk/; revision=5113
2002-04-07Get rid of unused "pinfo" arguments.Guy Harris10-349/+232
svn path=/trunk/; revision=5112
2002-04-07Get rid of unused "pinfo" arguments.Guy Harris1-24/+18
svn path=/trunk/; revision=5111
2002-04-07Get rid of the unused "pinfo" argument to "dissect_osi_options()".Guy Harris4-18/+12
svn path=/trunk/; revision=5110
2002-04-07Get rid of an unused variable.Guy Harris1-2/+2
svn path=/trunk/; revision=5109
2002-04-07Gerald says the padding has values that don't look like FCSes; note thatGuy Harris1-1/+5
in the comment. svn path=/trunk/; revision=5108
2002-04-07Make the end-of-packet padding a per-capture-file property.Guy Harris2-21/+34
Read in the entire packet, including the padding, and just tell our caller about the non-padding part; that avoids doing a "file_seek()" ("fseek()"s are inefficient on some platforms, as they flush the standard I/O buffers and do an "lseek()"), and would also let us supply the padding to the caller if it turns out it's an FCS rather than padding. svn path=/trunk/; revision=5107
2002-04-07Add support for Sniffer 4.6 wireless captures.Gerald Combs1-8/+23
svn path=/trunk/; revision=5106
2002-04-05Get rid of the global variable referring to the current protocol tree;Guy Harris1-67/+75
pass it as a parameter, instead. svn path=/trunk/; revision=5105
2002-04-05Give all subtrees an ett_ value.Guy Harris1-37/+27
Clean up some case statements - instead of having most branches do "return 0", and the default branch just break, with code after the case statement handing that case and then returning 0, pull the code after the case statement into the default case, and have the other cases just break, with the "return 0" after the case statement. Initialize some ett_ values that weren't getting initialized. svn path=/trunk/; revision=5104
2002-04-05Give the top-level tree for concatenated PDUs an ett_ value of ett_wtp.Guy Harris1-43/+46
Create a protocol tree item for the fixed part of the WTP header. Don't assign the value of "proto_tree_add_XXX" routines to a variable if you're not going to use the value. svn path=/trunk/; revision=5103
2002-04-05Decode some bits of the PRINTER_INFO_2 structure that we were missingTim Potter1-8/+55
before. Display which info level a getprinter response contains in COL_INFO. Fixed some bugs in dissecting devicemodes - the device name and form name live in a 64-byte buffer instead of a NULL terminated unicode string. svn path=/trunk/; revision=5102
2002-04-04Add ett_ values for subtrees.Guy Harris1-26/+114
svn path=/trunk/; revision=5101
2002-04-04From Mark Burton: add an ett_iscsi ett_ value for the top-level treeGuy Harris1-4/+7
item. svn path=/trunk/; revision=5100
2002-04-04Put in the RFCs for RIPv1 and RIPv2.Guy Harris1-10/+49
Handle an address family of 0; that means that the address wasn't specified in the request, which is used for a "send me the whole routing table" request. Replace some "proto_tree_add_XXX" calls with "proto_tree_add_item" calls. Use FALSE, rather than TRUE, as the byte order argument in one "proto_tree_add_item" call, for consistency with other calls; the field is a string, so the byte order doesn't matter. svn path=/trunk/; revision=5099