aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mount.c
AgeCommit message (Collapse)AuthorFilesLines
2000-05-11Add tvbuff class.Gilbert Ramirez1-26/+26
Add exceptions routines. Convert proto_tree_add_*() routines to require tvbuff_t* argument. Convert all dissectors to pass NULL argument ("NullTVB" macro == NULL) as the tvbuff_t* argument to proto_tree_add_*() routines. dissect_packet() creates a tvbuff_t, wraps the next dissect call in a TRY block, will print "Short Frame" on the proto_tree if a BoundsError exception is caught. The FDDI dissector is converted to use tvbuff's. svn path=/trunk/; revision=1939
2000-04-04Use the new split between protocol registration and protocol handoffGuy Harris1-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
2000-03-20Change dfilter_init() to check for empty-string abbreviations and forGilbert Ramirez1-2/+2
duplicate abbreviations. All mods to packet-*.c files are fixes to remove those cases. svn path=/trunk/; revision=1733
2000-03-09New dissector functions for mount DUMP and EXPORT replies.Uwe Girlich1-11/+163
svn path=/trunk/; revision=1706
2000-01-22Give "dissect_rpc_string()" an extra "char **" argument; if it'sGuy Harris1-2/+2
non-null, it returns through that argument a pointer to the displayed version of the string, otherwise it just frees that string. Use that to put, in the tree item for READDIR and READDIRPLUS reply directory entry items, the file name from the directory entry. svn path=/trunk/; revision=1521
2000-01-07Fix Gerald's e-mail address.Guy Harris1-2/+2
svn path=/trunk/; revision=1437
1999-11-29Some more RPC functions dissected.Uwe Girlich1-3/+42
svn path=/trunk/; revision=1153
1999-11-20Mount V2.Guy Harris1-11/+322
Add EXPORTALL, which is identical to EXPORT. Make static and/or const a number of things that can be made static or const. svn path=/trunk/; revision=1078
1999-11-19Make various "value_string" tables "const"; this allows the compiler toGuy Harris1-5/+4
stuff them into shared read-only space. Put the "VALS()" cast macro into the initialization of an "hf_register_info" array. svn path=/trunk/; revision=1072
1999-11-19Added Uwe's update to RPC.Gilbert Ramirez1-2/+86
svn path=/trunk/; revision=1069
1999-11-16Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1-2/+7
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-15Got rid of dissect_rpc_string routine, renamed dissect_rpc_string_item toNathan Neulinger1-2/+2
dissect_rpc_string. Replaced only instance of this routine being called. Added display filtering to rpc dissector. Replaced most instances of proto_tree_add_text with proto_tree_add_item. Added program version and procedure to the program tree in addition to it being in the RPC tree. svn path=/trunk/; revision=1037
1999-11-15Uwe Girlich's patches for nfs,mount,portmap and addition of nlm.Nathan Neulinger1-9/+36
svn path=/trunk/; revision=1034
1999-11-11Added mount dissector.Nathan Neulinger1-0/+86
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