aboutsummaryrefslogtreecommitdiffstats
path: root/packet-icp.c
AgeCommit message (Collapse)AuthorFilesLines
1999-12-23Capitalize the "p" in "protocol" in "Internet Cache Protocol", to matchGuy Harris1-2/+2
other protocol names. svn path=/trunk/; revision=1374
1999-11-16Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1-12/+19
dynamically-assigned "ett_" integer values, assigned by "proto_register_subtree_array()"; this: obviates the need to update "packet.h" whenever you add a new subtree type - you only have to add a call to "proto_register_subtree_array()" to a "register" routine and an array of pointers to "ett_", if they're not already there, and add a pointer to the new "ett_" variable to the array, if they are there; would allow run-time-loaded dissectors to allocate subtree types when they're loaded. svn path=/trunk/; revision=1043
1999-10-12New proto_tree header_field_info stuff. Header_field_infos now containGilbert Ramirez1-5/+13
the base for numbers to be displayed in, bitmasks for bitfields, and blurbs (which are one or two sentences describing the field). proto_tree_add*() routines now automatically handle bitfields. You tell it which header field you are adding, and just pass it the value of the entire field, and the proto_tree routines will do the masking and shifting for you. This means that bitfields are more naturally filtered via dfilter now. Added Phil Techau's support for signed integers in dfilters/proto_tree. Added the beginning of the SNA dissector. It's not complete, but I'm committing it now because it has example after example of how to use bitfields with the new header_field_info struct and proto_tree routines. It was the impetus to change how header_field_info works. svn path=/trunk/; revision=815
1999-09-14Peter Torvals' Internet Cache Protocol dissector.Guy Harris1-0/+273
svn path=/trunk/; revision=677