aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-coap.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-4/+4
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-11-19From Shoichi Sakane via ↵Jeff Morriss1-6/+15
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 : Fix the dissection of the length of the option field. svn path=/trunk/; revision=34965
2010-11-15From Shoichi Sakane via ↵Jeff Morriss1-19/+32
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 : I improved the coap dissector. It is resulted by the 2nd coap test event. This patch is diff from 34794. The fuzzying test passed more than 62000. Changed: - removed "#if 0", and expanded exp2(). - added new error codes. - improved looks of the block options - renamed to "token" from "opaque_bytes" according to new draft. From me: Use a use a left shift operation instead of multiplying by 2 many times. svn path=/trunk/; revision=34878
2010-10-30Fix the randpkt assertion reported in ↵Jeff Morriss1-5/+10
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5348 : Always pass a length of 1 to proto_tree_add_item() for the ctype (this fixes the assertion). If the length indicated in the message is not 1, add an expert info. svn path=/trunk/; revision=34710
2010-10-21From Shoichi Sakane via ↵Jeff Morriss1-64/+77
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 : Update to use add the time as a filterable field and other cosmetic changes. From me: exp2() seems to be C99 so #if the use of it out. svn path=/trunk/; revision=34611
2010-10-21From Shoichi Sakane via bug 5270: minor changes and remove an unused hf ↵Jeff Morriss1-22/+18
variable. svn path=/trunk/; revision=34600
2010-10-20From Shoichi Sakane via ↵Jeff Morriss1-48/+123
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 : I made a patch to support more COAP options. some options includes variable length field. svn path=/trunk/; revision=34592
2010-10-19From Shoichi Sakane via ↵Jeff Morriss1-9/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 : Remove some unused hf variables. svn path=/trunk/; revision=34568
2010-10-19Init ett_coap_noop, another fix for bug 5305.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=34566
2010-10-18Remove some unneeded #includes ...Bill Meier1-5/+0
svn path=/trunk/; revision=34560
2010-10-18Added some length checks for integers.Stig Bjørlykke1-3/+5
This fixes bug 5305. svn path=/trunk/; revision=34550
2010-10-17coap_handle is only used in proto_reg_handoff_coap.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=34532
2010-10-17From Shoichi Sakane via bug 5270:Stig Bjørlykke1-0/+417
Added COAP protocol support. From me: Made the port number configurable. svn path=/trunk/; revision=34530