aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipp.c
AgeCommit message (Collapse)AuthorFilesLines
2000-04-08Move calls to "dissector_add()" out of the register routines for TCP andGuy Harris1-1/+17
UDP and into the handoff registration routines for the protocols in question. Make the dissectors for those protocols static if they're not called outside the dissector's source file. Get rid of header files if all they did was declare dissectors that are now static; remove declarations of now-static dissectors from header files that do more than just declare the dissector. svn path=/trunk/; revision=1823
2000-03-07Make "name_length" and "value_length" universally "int"s - the valuesGuy Harris1-16/+16
they get from the packets are 16-bit unsigned quantities, which fit comfortable within an "int" on all platforms we support. That eliminates the some additional format/argument mismatches. svn path=/trunk/; revision=1700
2000-03-06Correctly dissect integer values, using the correct offset.Guy Harris1-3/+3
svn path=/trunk/; revision=1694
2000-03-06Fix a call to "proto_tree_add_text()", and declare "name_length" in suchGuy Harris1-13/+13
a fashion as not to cause GCC to whine about format/argument mismatches if "proto.h" is tweaked to declare "proto_tree_add_text()" with an "__attribute__((format (printf, ...))" clause. svn path=/trunk/; revision=1693
2000-01-22Fix files that had Gilbert's old e-mail address or that didn't have myGuy Harris1-2/+2
forwarding e-mail address. svn path=/trunk/; revision=1522
1999-11-16Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1-6/+16
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-09-17When we see a delimiter tag, if we've seen one before, we know how muchGuy Harris1-16/+41
data corresponds to the attribute sequence belonging to the previous delimiter tag, so set the length of the item for the previous delimiter tag. The "end of attributes" tag means "no more attributes after this, just data"; dissect any stuff following it as data. svn path=/trunk/; revision=686
1999-09-17Add a "BYTES_ARE_IN_FRAME()" macro, to test whether there are aGuy Harris1-0/+538
specified number of bytes of captured data in the frame at the specified offset, and a "IS_DATA_IN_FRAME()" macro, to test whether there are any bytes of captured data in the frame at the specified offset, and convert some bounds checks to use them. Add a dissector for the Internet Printing Protocol. svn path=/trunk/; revision=685