Wireshark-commits: [Wireshark-commits] rev 48966: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Mon, 22 Apr 2013 17:31:17 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48966

User: alagoutte
Date: 2013/04/22 10:31 AM

Log:
 From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8601 NFSv4 attribute and READDIR modifications
 
 *  "dissect_nfs4_attribute()" was eliminated because the values dissection
    portion of that routine was identical to the "dissect_nfs_attributes()"
    routine.  The code in "dissect_nfs4_bitmap4()" and
    "dissect_nfs4_attrlist4()" was also similar so those routines
    were also eliminated and their code incorporated in dissect_nfs_fattr4s().
    These measures have reduced the size of 'packet-nfs.c' by almost 400 lines.
 
 *  Attributes were relabeled according to RFC 5661 (NFS4v1).
     o “mand_attr” (REQUIRED attribute) header was changed to "reqd_attr”.
     o “recc_attr” (RECOMMENDED attributes) header was changed to “reco_attr”
       because "recommended" only has one ‘c’. =)
 
 *  In order to be able to list the attribute names horizontally in the
    "Attr mask[x]" header (e.g., "Attr mask[0]: 0x0010111a (TYPE, CHANGE, SIZE,
    FSID, ACL, FILEID)", “FATTR4_” was removed from the attribute names
    (e.g., “FATTR4_TYPE (1)” is now “TYPE (1)”.  Note that RFC 5661 does not
    define them with a “FATTR4” prefix.
 
 *  In GETATTR responses, the “resok4” and “obj_attributes” subtrees were
    eliminated because they are neither actual fields nor serve any practical
    purpose.
 
 *  The READDIR "Directory Listing" subtree was reformatted. "Filename" was
    changed to "Entry" because entries can also be directories.
    "Value Follows", "cookie", and "Attr mask[n]" were moved within each entry.
    If an Entry header is left-clicked all the fields of that entry are
    highlighted in the Hex pane. If it is right-clicked the 'nfs.name'
    field (filter) can be obtained. Finally, the "attr_vals:<DATA>" (text)
    subtree was eliminated because it appears to serve no useful purpose and
    clutters the tree.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +342 -733  packet-nfs.c    Modified