Commit Graph

5 Commits

Author SHA1 Message Date
Sake Blok 6e74ad9097 Adress => Address corrections (also in comments).
(see bug 5600)


svn path=/trunk/; revision=35600
2011-01-21 00:19:03 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Bill Meier f12c3e59ff A few minor changes:
- Move proto_reg_handoff... to the end of the file;
- Remove unneeded forward declaration;
- Fix a typo;
- Use #if 0/#endif rather than /*...*/to comment-out code.

svn path=/trunk/; revision=32200
2010-03-16 01:07:42 +00:00
Guy Harris 1f1a9ef2cc tvb_length() is *not* the length of the packet; it's the amount of
captured data for the packet, which could well be less then the length
of the packet if a slice/snapshot length was used. 
tvb_reported_length() is the length as the packet appeared on the
{wire,air}.

If a > b, and you want to report how much a was greater than b, subtract
b from a, don't take the negative of b-a, especially if a and b are
unsigned....

svn path=/trunk/; revision=32199
2010-03-15 21:36:56 +00:00
Jaap Keuter ecb18edf04 From Adrian Daerr:
I have written a crude dissector of GigE-vision Control Protocol packets.
The dissector was written as part of the opengigevision project:
http://gitorious.org/opengigevision

svn path=/trunk/; revision=32198
2010-03-15 21:07:46 +00:00