Network File System (NFS) Version 4 Minor Version 2 External Data Representation Standard (XDR) Description
RFC 7863
|
Document |
Type |
|
RFC - Proposed Standard
(November 2016; No errata)
|
|
Last updated |
|
2016-11-10
|
|
Stream |
|
IETF
|
|
Formats |
|
plain text
html
pdf
htmlized
bibtex
|
|
Reviews |
|
|
Stream |
WG state
|
|
Submitted to IESG for Publication
|
|
Document shepherd |
|
Spencer Shepler
|
|
Shepherd write-up |
|
Show
(last changed 2015-09-10)
|
IESG |
IESG state |
|
RFC 7863 (Proposed Standard)
|
|
Consensus Boilerplate |
|
Yes
|
|
Telechat date |
|
|
|
Responsible AD |
|
Spencer Dawkins
|
|
Send notices to |
|
(None)
|
IANA |
IANA review state |
|
Version Changed - Review Needed
|
|
IANA action state |
|
No IANA Actions
|
Internet Engineering Task Force (IETF) T. Haynes
Request for Comments: 7863 Primary Data
Category: Standards Track November 2016
ISSN: 2070-1721
Network File System (NFS) Version 4 Minor Version 2
External Data Representation Standard (XDR) Description
Abstract
This document provides the External Data Representation (XDR)
description for NFS version 4 minor version 2.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 7841.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc7863.
Copyright Notice
Copyright (c) 2016 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
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.
Haynes Standards Track [Page 1]
RFC 7863 NFSv4.2 XDR November 2016
Table of Contents
1. Introduction ....................................................2
1.1. Requirements Language ......................................2
2. XDR Description of NFSv4.2 ......................................2
3. Security Considerations ........................................86
4. IANA Considerations ............................................86
5. Normative References ...........................................86
Acknowledgments ...................................................87
Author's Address ..................................................87
1. Introduction
This document contains the External Data Representation (XDR)
[RFC4506] description of the NFSv4.2 protocol [RFC7862].
1.1. 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].
2. XDR Description of NFSv4.2
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. This
XDR specification is fully compatible with the specification for
NFSv4.0 [RFC7531], with the exception of the clientaddr4 structure,
which has been replaced by (strictly, aliased to) netaddr4, which has
the same members with the same purposes but the names have changed:
(r_netid -> na_r_netid, r_addr -> na_r_addr)
This effectively fully reconverges the NFSv4.0 [RFC7531] and NFSv4.1
[RFC5662] strands of the XDR.
The XDR description is provided in this document in a way that makes
it simple for the reader to extract it into a form that is ready to
compile. The reader can feed this document in the following shell
script to produce the machine-readable XDR description of NFSv4.2:
<CODE BEGINS>
#!/bin/sh
grep "^ *///" | sed 's?^ */// ??' | sed 's?^ *///$??'
<CODE ENDS>
Haynes Standards Track [Page 2]
RFC 7863 NFSv4.2 XDR November 2016
That is, 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:
<CODE BEGINS>
sh extract.sh < spec.txt > nfs4_prot.x
<CODE ENDS>
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:
<CODE BEGINS>
/// /*
/// * This file was machine generated for [RFC7862].
/// *
/// * Last updated Sun Mar 13 10:58:40 PDT 2016
/// */
///
/// /*
/// * Copyright (c) 2016 IETF Trust and the persons identified
/// * as the authors. All rights reserved.
/// *
/// * Redistribution and use in source and binary forms, with
/// * or without modification, are permitted provided that the
/// * following conditions are met:
Show full document text