Commit graph

3 commits

Author SHA1 Message Date
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