Commit Graph

7 Commits

Author SHA1 Message Date
Bill Meier 4910bc142f Add to comment about using a heuristic; Fix a typo.
svn path=/trunk/; revision=37330
2011-05-20 15:34:29 +00:00
Alexis La Goutte 2105f81d8a Enhance BT-UTP dissector:
* Add type (syn, data, reset...) in column info
* Split dissect_utp_header(...) function to 
	* dissect_utp_header_v0(...)
	* dissect_utp_header_v1(...)
	* dissect_utp_extensions(...)

svn path=/trunk/; revision=36803
2011-04-22 13:16:45 +00:00
Bill Meier 2eced546c1 Add code to dissect "original uTP header format"
as described in the LibuTP utp.cpp source code;
Add a kludgy heuristic to differentiate between
 original and "V1" header formats.
 TBD: validity of the heuristic; is there a better way ?

svn path=/trunk/; revision=36742
2011-04-20 20:32:26 +00:00
Bill Meier 42538888ea - New-style dissectors need to always return "bytes dissected" (not just when tree != NULL);
- The dissector probably shouldn't return a value for "bytes dissected" which is larger
   than the tvb length (altho there's actually no harm given the current implementation).
- Don't try to do an 'add_item' with an offset past the end of the tvb (altho again there's
   no actual harm in this case).

ToDo: Handle "original format" uTP headers.

svn path=/trunk/; revision=36737
2011-04-20 17:25:07 +00:00
Bill Meier 26a50ccd97 Whitespace cleanup; Remove an uneeded col_clear().
svn path=/trunk/; revision=36720
2011-04-19 16:37:39 +00:00
Stephen Fisher 9dad613f08 This file had an identical copy appended to the end of it. Remove
duplicate.


svn path=/trunk/; revision=36719
2011-04-19 16:24:29 +00:00
Alexis La Goutte 372639e7f8 From Xiao Xiangquan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5846
A new dissector for uTorrent Transport Protocol

From me :
* Add link to spec BEP-0029
* Add note about type/version 
* Rework extensions loop
* Use 2-space indenting


svn path=/trunk/; revision=36716
2011-04-19 15:23:51 +00:00