aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nfs.h
AgeCommit message (Collapse)AuthorFilesLines
2014-03-31Continue to remove $Id$ from top of fileAlexis La Goutte1-2/+1
Last one $Id$ (remove by hand) to make checkAPI haapy ! Change-Id: I5adfdcac0629a36e08c5fe3ea7960bdbc251364f Reviewed-on: https://code.wireshark.org/review/887 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-11-10Have rpc_call_info_value be passed through to (sub)dissectors instead of ↵Michael Mann1-3/+3
using pinfo->private_data. This was acheived by adding a void* data parameter to the dissect_function_t typedef in packet-rpc.h (r53213). After converting the pinfo->private_data, I'm not sure if it would be better to change the void* data pointer to be a rpc_call_info_value* explicitly. Not all "dissector functions" use it, but it would certainly save a lot of casting... svn path=/trunk/; revision=53232
2013-04-19From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8581Evan Huus1-27/+15
Major NFS dissector cleanup. Consistent naming, spacing, line wrapping, variable initialization, ... For full details see comment #18 of the bug. svn path=/trunk/; revision=48934
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-04-09Add missing const attribute to some char *Jakub Zawadzki1-1/+1
Fix some "assignment discards qualifiers from pointer target type", etc svn path=/trunk/; revision=41996
2011-12-14Fix moving nfs_fhandle_data from packet-nfs.h to packet-nfs.c as begunStephen Fisher1-5/+1
in r40205. svn path=/trunk/; revision=40206
2010-11-05(Trivial) Whitespace cleanup.Bill Meier1-101/+101
svn path=/trunk/; revision=34790
2010-10-10Define some fcns & vars as static ...Bill Meier1-1/+0
svn path=/trunk/; revision=34458
2010-09-17Remove check_col(). Clean up some spacing/indentation too.Jeff Morriss1-32/+32
svn path=/trunk/; revision=34142
2010-09-17From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5197 :Jeff Morriss1-2/+13
The NFS dissector (all versions) show access types that have not been requested to be checked as "not allowed" in the call and reply. This is incorrect and misleading. At present one must manually compare what was requested in order to assess if access was actually denied for that type. When there are hundreds or thousands of these ACCESS requests in a capture, it is not possible or practical to manually check each one. The submitted patch does the following: * Passes the access mask in the call to the reply for comparison * Adds filterable fields for each supported (v4) and access type * Adds a pseudo field, nfs.access_denied * Lists the access types to be checked in the summary and tree * Separately lists the supported, denied, and allowed access types in the summary and tree The changes are applied to all NFS versions. From me: a couple of small changes to make it compile without warnings. svn path=/trunk/; revision=34141
2009-07-02From Radek Vokál:Anders Broman1-0/+17
Support for new NFSv4 features. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3258 svn path=/trunk/; revision=28919
2008-11-26Remove all the NFS "fhandle to name" related warnings.Uwe Girlich1-1/+1
svn path=/trunk/; revision=26852
2008-07-12From J. Bruce Fields (bug 2634):Stig Bjørlykke1-4/+21
The attached patches bring the wireshark code up to date with the latest NFSv4.1 protocol drafts (in ietf last call now, so hopefully not too much more of this will be required). They also cover more of the protocol, and do some minor cleanup (e.g. remove some operations which were really only used by one prototype implementation, and never part of the protocol.) A few ops and attributes are still missing. svn path=/trunk/; revision=25727
2007-11-24From J. Bruce Fields:Stig Bjørlykke1-1/+16
Add basic support for NFSv4.1, as of about draft 13 of the current spec. The protocol is not completely finished yet, and future patches will be needed to bring it up to date. From me: - Add a check for valid pointers in nfsv4_operation_ett - Always increase offset when calling dissect_nfs_devices4 - Added a default case in dissect_rpc_secparms4 svn path=/trunk/; revision=23570
2007-06-18make hf_nfs_nfsstat externaly visible so other dissectors can use nfs Ronnie Sahlberg1-0/+1
status codes svn path=/trunk/; revision=22123
2006-07-22licence infoRonnie Sahlberg1-2/+0
svn path=/trunk/; revision=18787
2006-07-22add gpl licenceRonnie Sahlberg1-1/+22
svn path=/trunk/; revision=18786
2006-06-21two things have irritated me immensly with nfs filehandlesRonnie Sahlberg1-0/+2
1, (minor) the heuristics are too weak and everyting is always decoded either as netapp filehandles or one of the others even when just capturing ibetween say two classic unix boxens 2, (major) you can not filter on specific subfields of the filehandle observation: 5 people or less in the world care about implementation specific storage of data inside an opaque blob. remove the too weak heuristics for nfs filehandles. make decoding of filehandles accorrding to specific implementations controlled by a preference setting. default this setting to "unknown" display unknown filehandles using proto_tree_add_item() FT_BYTES/BASE_HEX to make it fitlerable instead of a useless proto_tree_add_text() wiki needs to be updated tomorrow svn path=/trunk/; revision=18530
2006-04-02prettify dissection of nfsv3 fattr3 structureRonnie Sahlberg1-1/+1
put useful info like type,mode,uid,gid on the expansion lines so we dont have to open the expansion to see these values. allow it to push this info multiple expansion lines upward and optionally (such as for GETATTR replies) put this info in the info column as well svn path=/trunk/; revision=17783
2006-03-06 get rid of another slow hashtable and one global variable andRonnie Sahlberg1-2/+1
replace it with a better and memleak free se_tree svn path=/trunk/; revision=17480
2005-07-30More char -> const char warning fixesJörg Mayer1-5/+5
svn path=/trunk/; revision=15155
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+132
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410