aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nisplus.c
AgeCommit message (Collapse)AuthorFilesLines
2002-11-01Updated all remaining ONC-RPC dissectors to pass the procedure name ↵sahlberg1-6/+47
value_string in the call to prc_init_proc_table() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6528 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-23Add an extra argument to "rpc_init_proc_table()" that can specify an hf_guy1-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". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6486 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-81/+81
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hjmayer1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5932 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-03Removed many senseless pinfo parameters in RPC dissection and the layers above.girlich1-94/+94
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5090 f5534014-38df-0310-8fa8-9805f1628bb7
2002-01-20Allow a length of -1 to be specified when adding FT_NONE and FT_PROTOCOLguy1-19/+18
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4578 f5534014-38df-0310-8fa8-9805f1628bb7
2001-12-23From Ronnie Sahlberg: initial NDMPv3 support, and an update to hisguy1-2/+2
e-mail address. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4444 f5534014-38df-0310-8fa8-9805f1628bb7
2001-09-14Make the resolution for time values be nanoseconds rather thanguy1-6/+5
microseconds. Fix some "signed vs. unsigned" comparison warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3934 f5534014-38df-0310-8fa8-9805f1628bb7
2001-06-18From Joerg Mayer: explicitly fill in all members of aguy1-115/+115
"header_field_info" structure, including the ones that are later set by the routines to register fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3561 f5534014-38df-0310-8fa8-9805f1628bb7
2001-06-12Give a number of files RCS IDs.guy1-0/+2
Give "proto_hier_stats.h" a standard header. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3540 f5534014-38df-0310-8fa8-9805f1628bb7
2001-06-02Changes to structure initializations not to initialize some but not allguy1-1/+1
members, from Joerg Mayer. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3501 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-30There are no more old-style (non-tvbuffified) ONC RPC dissectors, so getguy1-81/+81
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3477 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-23If you put an item into the protocol tree with "dissect_rpc_data_tvb()",guy1-19/+19
it must be FT_BYTES, not FT_STRING. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3439 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-07Fix one remaining "NIS" to be "NIS+".guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3403 f5534014-38df-0310-8fa8-9805f1628bb7
2001-05-07NIS+ support, from Ronnie Sahlberg.guy1-0/+1922
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3401 f5534014-38df-0310-8fa8-9805f1628bb7