aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pcnfsd.c
AgeCommit message (Collapse)AuthorFilesLines
2002-11-01Updated all remaining ONC-RPC dissectors to pass the procedure name ↵Ronnie Sahlberg1-4/+36
value_string in the call to prc_init_proc_table() svn path=/trunk/; revision=6528
2002-10-23Add an extra argument to "rpc_init_proc_table()" that can specify an hf_Guy Harris1-3/+3
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
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-9/+9
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-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
2002-05-14From Mike Frisch: implement MAPID (procedure 12) in PCNFSD v2.Guy Harris1-2/+115
svn path=/trunk/; revision=5468
2002-04-14From Joerg Mayer:Guy Harris1-4/+4
Declares some variables static. Creates a new include file packet-rsvp.h, and make use of it (change some extern decls to #inlcude). Move the file packet-pgm.h into packet-pgm.c as it is not used by anything outside packet-pgm.c. svn path=/trunk/; revision=5162
2002-04-03Removed many senseless pinfo parameters in RPC dissection and the layers above.Uwe Girlich1-14/+14
svn path=/trunk/; revision=5090
2002-01-30Include <string.h> to declare various string functions.Guy Harris1-2/+2
Include "snprintf.h", when needed, to declare "snprintf()" on platforms that don't have it. Fix some formats and arguments to various printing routines. Fix "diameter_time_to_string()" to properly fetch the time value from the data buffer handed to it. svn path=/trunk/; revision=4639
2002-01-20Allow a length of -1 to be specified when adding FT_NONE and FT_PROTOCOLGuy Harris1-6/+4
items to the protocol tree; it's interpreted as "the rest of the data in the tvbuff". This can be used if 1) the item covers the entire packet or the remaining payload in the packet or 2) the item's length won't be known until it's dissected, and will be then set with "proto_item_set_len()" - if an exception is thrown in the dissection, it means the item ran *past* the end of the tvbuff, so saying it runs to the end of the tvbuff is reasonable. Convert a number of "proto_tree_add_XXX()" calls using "tvb_length_remaining()", values derived from the result of "tvb_length()", or 0 (in the case of items whose length is unknown) to use -1 instead (using 0 means that if an exception is thrown, selecting the item highlights nothing; using -1 means it highlights all the data for that item that's available). In some places where "tvb_length()" or "tvb_length_remaining()" was used to determine how large a packet is, use "tvb_reported_length()" or "tvb_reported_length_remaining()", instead - the first two calls indicate how much captured data was in the packet, the latter two calls indicate how large the packet actually was (and the fact that using the latter could cause BoundsError exceptions to be thrown is a feature - if such an exception is thrown, the frame really *was* short, and it should be tagged as such). Replace some "proto_tree_add_XXX()" calls with equivalent "proto_tree_add_item()" calls. Fix some indentation. svn path=/trunk/; revision=4578
2001-11-07code cleanupUwe Girlich1-23/+89
AUTH reply dissector added svn path=/trunk/; revision=4171
2001-11-06AUTH call dissected. It includes XOR encoded user name/passwords. I didUwe Girlich1-2/+142
a decode on the fly. svn path=/trunk/; revision=4169
2001-11-06Start of a PCNFSD dissector as the RPC dissector 150001.Uwe Girlich1-0/+97
svn path=/trunk/; revision=4165