aboutsummaryrefslogtreecommitdiffstats
path: root/packet-stat.c
AgeCommit message (Collapse)AuthorFilesLines
1999-11-18Zero-length arrays are a GCC extension, and some compilers don't supportGuy Harris1-3/+5
them - don't "#if 0" out the initializers for "hf[]", "#if 0" out the entire declaration of "hf[]" and the call that uses "hf[]". svn path=/trunk/; revision=1059
1999-11-16Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1-3/+8
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-11-11Added mount dissector.Nathan Neulinger1-0/+82
Added stat dissector. Enhancements to portmap dissector. Added rpc_prog_name function to packet-rpc to retrieve the name of an rpc program. This should likely eventually be modified to use the /etc/rpc or rpc.bynumber NIS maps in addition to the programs that are registered within ethereal. svn path=/trunk/; revision=1016