NFSv4 Minor Version 2 Protocol External Data Representation Standard (XDR) Description
draft-ietf-nfsv4-minorversion2-dot-x-23

The information below is for an old version of the document
Document Type Active Internet-Draft (nfsv4 WG)
Last updated 2014-04-29
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Stream WG state WG Document
Document shepherd None
IESG IESG state AD is watching
Consensus Boilerplate Unknown
Telechat date
Responsible AD Martin Stiemerling
Send notices to nfsv4-chairs@tools.ietf.org, draft-ietf-nfsv4-minorversion2-dot-x@tools.ietf.org
NFSv4                                                          T. Haynes
Internet-Draft                                              Primary Data
Intended status: Standards Track                          April 29, 2014
Expires: October 31, 2014

  NFSv4 Minor Version 2 Protocol External Data Representation Standard
                           (XDR) Description
              draft-ietf-nfsv4-minorversion2-dot-x-23.txt

Abstract

   This Internet-Draft provides the XDR description for NFSv4 minor
   version two.

Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [RFC2119].

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on October 31, 2014.

Copyright Notice

   Copyright (c) 2014 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect

Haynes                  Expires October 31, 2014                [Page 1]
Internet-Draft                    NFSv4                       April 2014

   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  XDR Description of NFSv4.2  . . . . . . . . . . . . . . . . .   2
   2.  Security Considerations . . . . . . . . . . . . . . . . . . .  79
   3.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  79
   4.  Normative References  . . . . . . . . . . . . . . . . . . . .  79
   Appendix A.  Acknowledgments  . . . . . . . . . . . . . . . . . .  79
   Appendix B.  RFC Editor Notes . . . . . . . . . . . . . . . . . .  80
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  80

1.  XDR Description of NFSv4.2

   This document contains the XDR ([RFC4506]) description of NFSv4.2
   protocol ([NFSv42]).  In order to facilitate implementations that
   support all of NFSv4.0, NFSv4.1, and NFSv4.2, the description
   includes operations, and other features of NFSv4.0 and NFSv4.1 that
   do not apply to NFSv4.2.

   The XDR description is provided in this document in a way that makes
   it simple for the reader to extract into ready to compile form.  The
   reader can feed this document in the following shell script to
   produce the machine readable XDR description of NFSv4.2:

   #!/bin/sh
   grep "^  *///" | sed 's?^  */// ??' | sed 's?^  *///$??'

   I.e., if the above script is stored in a file called "extract.sh",
   and this document is in a file called "spec.txt", then the reader can
   do:

    sh extract.sh < spec.txt > nfs4_prot.x

   The effect of the script is to remove leading white space from each
   line, plus a sentinel sequence of "///".

   The XDR description, with the sentinel sequence follows:

   /// /*
   ///  * This file was machine generated for
   ///  *  draft-ietf-nfsv4-minorversion2-23
   ///  * Last updated Tue Apr 29 14:45:32 PDT 2014
   ///  */
   /// /*

Haynes                  Expires October 31, 2014                [Page 2]
Internet-Draft                    NFSv4                       April 2014

   ///  *  Copyright (C) The IETF Trust (2007-2014)
   ///  *  All Rights Reserved.
   ///  *
   ///  *  Copyright (C) The Internet Society (1998-2006).
   ///  *  All Rights Reserved.
   ///  */
   ///
   /// /*
   ///  *      nfsv42.x
   ///  */
   ///
   /// %#ifndef _AUTH_SYS_DEFINE_FOR_NFSv42
   /// %#define _AUTH_SYS_DEFINE_FOR_NFSv42
   /// %#include <rpc/auth_sys.h>
   /// %typedef struct authsys_parms authsys_parms;
   /// %#endif /* _AUTH_SYS_DEFINE_FOR_NFSv42 */
   ///
   /// /*
   ///  * Basic typedefs for RFC 1832 data type definitions
   ///  */
   ///
   /// /*
   ///  * typedef int                  int32_t;
   ///  * typedef unsigned int         uint32_t;
   ///  * typedef hyper                int64_t;
   ///  * typedef unsigned hyper       uint64_t;
Show full document text