Commit Graph

5371 Commits

Author SHA1 Message Date
Guy Harris 1408767b75 "fragment_add_seq_work()" returns a Boolean value, not a pointer, so
have it return FALSE, not NULL.

svn path=/trunk/; revision=5249
2002-04-25 21:28:15 +00:00
Guy Harris 3af29ce7bf Use "%.10g", rather than "%f", for floating-point numbers. That will
display values that would fit in a 32-bit integer as integers, leaving
out all trailing zeroes after the decimal point (and leaving out the
decimal point if there are no digits left after the decimal point once
trailing zeroes are removed), and will use scientific notation for small
fractions or large numbers.

svn path=/trunk/; revision=5248
2002-04-25 06:34:42 +00:00
Guy Harris 16510d5c56 From Marco Molteni: fix to say "BSD", not "Linux", when talking about,
well, BSD.

svn path=/trunk/; revision=5247
2002-04-24 23:19:38 +00:00
Guy Harris 7483a6197a Document the tvbuff accessors for IEEE floating-point numbers.
svn path=/trunk/; revision=5246
2002-04-24 21:53:47 +00:00
Guy Harris ed02576048 Use "gfloat" and "gdouble", rather than "float" and "double", as the
return types of the tvbuff accessors for floating-point types, to more
closely match the tvbuff accessors for integral types.

Fix an error in the code for fetching doubles on VAXes, and get rid of
unused union members on VAXes.

svn path=/trunk/; revision=5245
2002-04-24 21:53:05 +00:00
Guy Harris 1be3f38a96 Use the IEEE floating-point tvbuff accessors to get IEEE floating-point
numbers, rather than doing it ourselves.

svn path=/trunk/; revision=5244
2002-04-24 21:28:52 +00:00
Guy Harris 7d96eec76b Use Ashok's IEEE-float-to-long code as the basis for
IEEE-float-to-native-float code, and use that as the basis for
IEEE-double-to-native-double code.  Use that code on VAXes.

Eliminate "ieee-float.h", as we no longer use it; instead, we use the
tvbuff routines for extracting IEEE floating-point numbers.

svn path=/trunk/; revision=5243
2002-04-24 21:19:38 +00:00
Guy Harris 6c12522f42 Use "tvb_get_ntohieee_float()" to fetch floating-point numbers.
svn path=/trunk/; revision=5242
2002-04-24 20:25:02 +00:00
Guy Harris 36674e8e56 Use "tvb_get_ntohieee_float()" to fetch floating-point numbers.
Display those numbers as floating-point.

svn path=/trunk/; revision=5241
2002-04-24 20:18:01 +00:00
Guy Harris 92b47f62eb Use "tvb_get_ntohieee_float()" to fetch floating-point numbers.
Display those numbers as floating-point.

svn path=/trunk/; revision=5240
2002-04-24 20:06:06 +00:00
Guy Harris e4076d8efd Show the "negotiable/non-negotiable" flags as such.
svn path=/trunk/; revision=5239
2002-04-24 19:35:52 +00:00
Guy Harris 15c69a7e3d Use "tvb_get_ntohieee_float()" to fetch floating-point numbers from the
packet.

svn path=/trunk/; revision=5238
2002-04-24 19:26:18 +00:00
Guy Harris 5bc3cc445d CRLDP support, and assorted byg fixes, from Michael Rozhavsky.
Clean up the "Error processing TLV" error messages to

	1) indicate the type of TLV

and

	2) indicate the type of error.

Clean up white space.

Make routines static if they're not used outside this file.

svn path=/trunk/; revision=5237
2002-04-24 19:16:49 +00:00
Guy Harris 5fbabf3844 Add "stamp-h1", for automake 1.6.1, as per Joerg Mayer's suggestion.
svn path=/trunk/; revision=5236
2002-04-24 07:40:37 +00:00
Tim Potter 0aaf9da3fe Sometimes there is some junk at the end of an ACE so use the size field
within the ACE to work out where the end is.

svn path=/trunk/; revision=5235
2002-04-24 07:19:25 +00:00
Tim Potter c08c275702 Added 'invalid security descriptor' error to list of dos errors.
svn path=/trunk/; revision=5234
2002-04-24 06:18:51 +00:00
Guy Harris 8a5d5f9bde From Joerg Mayer: get rid of extra arguments to capture routines.
svn path=/trunk/; revision=5233
2002-04-24 06:03:34 +00:00
Guy Harris c2b87a5d1e If the progress fraction when reading in a file becomes > 1, assume that
the file grew while we were reading it, and re-fetch the size and try
again; if it's still > 1, give up and clamp it at 1 so that the GTK+
progress bar code doesn't complain.

svn path=/trunk/; revision=5232
2002-04-24 05:48:43 +00:00
Tim Potter 14395ccd3a Pass the correct len field to dissect_nt_sec_desc() when dissecting
PRINTER_INFO_2 and PRINTER_INFO_3 structures.

Added dissector for EnumJobs rpc - not quite finished yet.

svn path=/trunk/; revision=5231
2002-04-24 03:08:49 +00:00
Guy Harris 80078ecbf4 Clean up the descriptions of reassembly preferences.
svn path=/trunk/; revision=5230
2002-04-23 19:19:57 +00:00
Guy Harris 1f7177270d Use the value of "bv_size" as the size of a byte view notebook when
creating it.

svn path=/trunk/; revision=5229
2002-04-23 06:42:05 +00:00
Guy Harris 3a47e97c26 Get rid of unused variables, and mark unused arguments as such.
svn path=/trunk/; revision=5228
2002-04-23 06:25:37 +00:00
Guy Harris 0b36cbc48b Get rid of an unused variable.
svn path=/trunk/; revision=5227
2002-04-23 06:06:03 +00:00
Guy Harris 6fe4d53a37 Get rid of the last global variable.
Get rid of "nameAsChar" arguments; get the name from the field itself.

svn path=/trunk/; revision=5226
2002-04-23 06:01:01 +00:00
Richard Sharpe 84f440c3c9 Make sure that when we save a file, we don't overwrite our capture file
with an empty file.

svn path=/trunk/; revision=5225
2002-04-22 19:10:33 +00:00
Guy Harris 432ad02810 Eliminate some unused variables.
svn path=/trunk/; revision=5224
2002-04-22 09:50:54 +00:00
Guy Harris ab96c5694e Frame numbers are unsigned, and 0 is not a valid frame number; make the
frame number arguments, and elements in data structures, unsigned,
display them with "%u" rather than "%d", and use 0, rather than -1, as
"not known".

svn path=/trunk/; revision=5223
2002-04-22 09:43:03 +00:00
Guy Harris 6718d0fe05 Add support for DSI packet reassembly.
svn path=/trunk/; revision=5222
2002-04-22 08:50:49 +00:00
Guy Harris d215b73503 Get rid of some unused variables and arguments.
svn path=/trunk/; revision=5221
2002-04-22 08:14:12 +00:00
Guy Harris 1f1fb86df3 Fix typos.
svn path=/trunk/; revision=5220
2002-04-22 07:45:38 +00:00
Guy Harris 031065bf42 Additional PIM hello options support, from Kevin Humphries.
svn path=/trunk/; revision=5219
2002-04-22 07:41:33 +00:00
Guy Harris 1853574303 Support for NT Rename SMB, from Steven French.
svn path=/trunk/; revision=5218
2002-04-22 07:37:30 +00:00
Guy Harris d8110d00ad Support for NT Rename SMB, from Steven French.
svn path=/trunk/; revision=5217
2002-04-22 06:26:08 +00:00
Guy Harris 89e3b4275d Get rid of an extra colon.
svn path=/trunk/; revision=5216
2002-04-22 02:08:17 +00:00
Guy Harris 99af2a9798 Fix "samr_dissect_query_information_alias_reply()" to dissect the
ALIAS_INFO structure before the status.

svn path=/trunk/; revision=5215
2002-04-22 02:04:37 +00:00
Gerald Combs c64fb4b223 Polish the column prefs a bit. Make the column tile entry and format
menu modify the currently-selected item directly.  Remove the "Change"
button since it's no longer needed.  Make the column list a clist, and
add a column which shows the format.  Make the format option menu not
fill the entire table cell.  Update the man page accordingly.

svn path=/trunk/; revision=5214
2002-04-22 02:03:53 +00:00
Guy Harris 14caf2a9a5 Fix the return value of "dissect_nt_sec_desc()".
svn path=/trunk/; revision=5213
2002-04-22 01:54:51 +00:00
Guy Harris 677ad9ee25 Correctly dissect LSA security descriptors, at least as they appear
inside a Netlogon security descriptor.

Correctly dissect NT security descriptors as they appear inside an LSA
security descriptor (at least as those appear inside a Netlogon security
descriptor) - they get sent over the wire, apparently, as an opaque blob
from the point of view of DCE RPC, at least from one capture I've seen,
they do *not* get sent over the wire in DCE RPC NDR syntax.

svn path=/trunk/; revision=5212
2002-04-22 01:07:19 +00:00
Guy Harris 2233aa8f3e Fix an error in the "dcerpc_samr_dissectors[]" table.
Rename "samr_dissect_enum_dom_alias_rqst()" and
"samr_dissect_enum_dom_alias_reply()" to
"samr_dissect_enum_dom_aliases_rqst()" and
"samr_dissect_enum_dom_aliases_reply()", to match the name of the RPC
that they dissect.

Rename the routines used to dissect the unknown 0x2f requests and replies
along the lines of the names of the routines for other unknown requests
and replies, and change the Info column information in that fashion as
well.

Dissect the USER_INFO structure in the QueryUserInfo response.

svn path=/trunk/; revision=5211
2002-04-22 00:09:21 +00:00
Richard Sharpe 60d5c327e9 Add a hidden length fild for TCP, tcp.len. Also fixed a small type.
svn path=/trunk/; revision=5210
2002-04-21 02:57:01 +00:00
Guy Harris d40820124b On Windows, include "capture-wpcap.h", to define "has_wpcap".
svn path=/trunk/; revision=5209
2002-04-20 20:29:28 +00:00
Guy Harris 5984e4ba95 Clean up white space.
Fix the display filter expression generated for protocol tree items
without named fields attached to them; the length defaults to 1 if not
specified in a range expression, so the length should be specified.

svn path=/trunk/; revision=5208
2002-04-20 08:07:56 +00:00
Tim Potter 21c3c06391 Dissect ntstatus codes instead of uint32 for response packets.
Display pretty names in COL_INFO for commonly used functions
(RequestChallenge, Auth2, SamLogon).

svn path=/trunk/; revision=5207
2002-04-20 07:15:19 +00:00
Guy Harris 3cab99ea75 Don't prime the display filter unless we're re-applying it; otherwise,
we aren't building a protocol tree, and we can't prime the filter
against the tree.

svn path=/trunk/; revision=5206
2002-04-20 01:54:27 +00:00
Guy Harris b06e01ece1 Bug fix from Frank Singleton.
svn path=/trunk/; revision=5205
2002-04-19 22:23:37 +00:00
Guy Harris 3e35c8a9b1 On Windows, don't put the capture preferences item into the
"Preferences" dialog box if we couldn't load WinPcap.

svn path=/trunk/; revision=5204
2002-04-19 20:49:28 +00:00
Guy Harris a056c5052d proto_registrar_get_nth(hfinfo->id) == hfinfo, so use the latter rather
than the former.

svn path=/trunk/; revision=5203
2002-04-19 10:03:52 +00:00
Guy Harris ea17f40455 Initial support for writing NetXRay 2.x (Windows Sniffer) format
captures, from Olivier Abad.

svn path=/trunk/; revision=5202
2002-04-18 21:35:57 +00:00
Guy Harris 50155a975d From Phil Williams: support for looking up fields by name.
Clean up some white space, and one non-extern declaration in
"epan/proto.h".

svn path=/trunk/; revision=5201
2002-04-18 20:19:10 +00:00
Ronnie Sahlberg 9a1a6bd888 More LSA updates
svn path=/trunk/; revision=5200
2002-04-18 10:40:30 +00:00