aboutsummaryrefslogtreecommitdiffstats
path: root/packet-stat.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated all remaining ONC-RPC dissectors to pass the procedure name ↵Ronnie Sahlberg2002-11-011-3/+17
| | | | | | value_string in the call to prc_init_proc_table() svn path=/trunk/; revision=6528
* Add an extra argument to "rpc_init_proc_table()" that can specify an hf_Guy Harris2002-10-231-2/+2
| | | | | | | | | | | | value for a field to be used for the procedure number for that version of the protocol; use that field, if specified, instead of just putting in a generic "rpc.procedure" field. Have the ypserv dissector register those fields and supply them to "rpc_init_proc_table()". Supply -1 for other RPC programs (for now), meaning "no such field exists". svn path=/trunk/; revision=6486
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-18/+18
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer2002-08-021-5/+1
| | | | | | | | equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
* Removed many senseless pinfo parameters in RPC dissection and the layers above.Uwe Girlich2002-04-031-23/+23
| | | | svn path=/trunk/; revision=5090
* From Adam Sulmicki: fixes to typos in comments.Guy Harris2002-03-051-3/+3
| | | | svn path=/trunk/; revision=4877
* When creating an subtree with variable-length items under it, use -1 asGuy Harris2002-02-021-31/+35
| | | | | | | the initial length, and set the length at the end, rather than constructing the length from "tvb_length_remaining()". svn path=/trunk/; revision=4673
* Replace a bunch of "tvb_length()" and "tvb_length_remaining()" calls inGuy Harris2002-01-241-2/+2
| | | | | | | | | | | | arguments to "proto_tree_add_text()", and to "proto_tree_add_XXX()" calls that add FT_NONE or FT_PROTO items to the protocol tree, with -1. Replace some calls to "tvb_length()" or "tvb_length_remaining()" with calls to "tvb_reported_length()" and "tvb_reported_length_remaining()", as those give the actual length of the data in the packet, not just the data that happened to be captured. svn path=/trunk/; revision=4605
* From Ronnie Sahlberg: initial NDMPv3 support, and an update to hisGuy Harris2001-12-231-2/+2
| | | | | | e-mail address. svn path=/trunk/; revision=4444
* From Joerg Mayer: explicitly fill in all members of aGuy Harris2001-06-181-15/+15
| | | | | | | "header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
* There are no more old-style (non-tvbuffified) ONC RPC dissectors, so getGuy Harris2001-05-301-13/+13
| | | | | | | | | rid of support for them, and remove the "_tvb" from the end of the names of RPC type dissection routines. Update Gerald's e-mail address. svn path=/trunk/; revision=3477
* Status monitor V1, from Ronnie Sahlberg.Guy Harris2001-03-151-14/+258
| | | | | | Merge the two AUTHORS entries for David Hampton. svn path=/trunk/; revision=3138
* Fix comments to reflect what a null function pointer in a "vsff" tableGuy Harris2001-01-181-3/+3
| | | | | | | | really means. Make the "XXX_proc" arrays static. svn path=/trunk/; revision=2920
* Have "proto_register_protocol()" build a list of data structures forGuy Harris2001-01-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | protocols, in addition to adding structures to the list of filterable fields. Give it an extra argument that specifies a "short name" for the protocol, for use in such places as pinfo->current_proto; the dialog box for constructing filters; the preferences tab for the protocol; and so on (although we're not yet using it in all those places). Make the preference name that appears in the preferences file and the command line for the DIAMETER protocol "diameter", not "Diameter"; the convention is that the name in question be all-lower-case. Make some routines and variables that aren't exported static. Update a comment in the ICP dissector to make it clear that the dissector won't see fragments other than the first fragment of a fragmented datagram. svn path=/trunk/; revision=2810
* Use the new split between protocol registration and protocol handoffGuy Harris2000-04-041-1/+5
| | | | | | | | | | | | | | | | registration routines to get rid of the special handling of ONC RPC protocols - dissectors for ONC RPC-based protocols should register their protocol, fields, and ETT values in a protocol registration routine, and register themselves with the ONC RPC dissector in their protocol handoff routine, so that the latter is done after the ONC RPC dissector's protocol registration routine is called, so that the data structures needed when dissectors for ONC RPC protocols register themselves with the ONC RPC dissector have been initialized. Get rid of "init_dissect_rpc()", which initializes said data structures; do that in "proto_register_rpc()" instead. svn path=/trunk/; revision=1789
* Fix Gerald's e-mail address.Guy Harris2000-01-071-2/+2
| | | | svn path=/trunk/; revision=1437
* Zero-length arrays are a GCC extension, and some compilers don't supportGuy Harris1999-11-181-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
* Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1999-11-161-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
* Added mount dissector.Nathan Neulinger1999-11-111-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