mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
xdrgen: Add a utility for extracting XDR from RFCs
For convenience, copy the XDR extraction script from RFC Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
parent
bb4f07f240
commit
a32442f6ca
@ -12367,6 +12367,7 @@ F: include/trace/misc/sunrpc.h
|
||||
F: include/uapi/linux/nfsd/
|
||||
F: include/uapi/linux/sunrpc/
|
||||
F: net/sunrpc/
|
||||
F: tools/net/sunrpc/
|
||||
|
||||
KERNEL PACMAN PACKAGING (in addition to generic KERNEL BUILD)
|
||||
M: Thomas Weißschuh <linux@weissschuh.net>
|
||||
|
11
tools/net/sunrpc/extract.sh
Executable file
11
tools/net/sunrpc/extract.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#! /bin/sh
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Extract an RPC protocol specification from an RFC document.
|
||||
# The version of this script comes from RFC 8166.
|
||||
#
|
||||
# Usage:
|
||||
# $ extract.sh < rfcNNNN.txt > protocol.x
|
||||
#
|
||||
|
||||
grep '^ *///' | sed 's?^ */// ??' | sed 's?^ *///$??'
|
Loading…
Reference in New Issue
Block a user