diff options
Diffstat (limited to 'include/linux/sunrpc/xdr.h')
| -rw-r--r-- | include/linux/sunrpc/xdr.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h index f5cc0898bc53..35cf2e8cd7c6 100644 --- a/include/linux/sunrpc/xdr.h +++ b/include/linux/sunrpc/xdr.h | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * include/linux/sunrpc/xdr.h | 2 | * XDR standard data types and function declarations |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> | 4 | * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> |
| 5 | * | ||
| 6 | * Based on: | ||
| 7 | * RFC 4506 "XDR: External Data Representation Standard", May 2006 | ||
| 5 | */ | 8 | */ |
| 6 | 9 | ||
| 7 | #ifndef _SUNRPC_XDR_H_ | 10 | #ifndef _SUNRPC_XDR_H_ |
| @@ -62,7 +65,6 @@ struct xdr_buf { | |||
| 62 | 65 | ||
| 63 | unsigned int buflen, /* Total length of storage buffer */ | 66 | unsigned int buflen, /* Total length of storage buffer */ |
| 64 | len; /* Length of XDR encoded message */ | 67 | len; /* Length of XDR encoded message */ |
| 65 | |||
| 66 | }; | 68 | }; |
| 67 | 69 | ||
| 68 | /* | 70 | /* |
| @@ -178,7 +180,7 @@ struct xdr_array2_desc { | |||
| 178 | }; | 180 | }; |
| 179 | 181 | ||
| 180 | extern int xdr_decode_array2(struct xdr_buf *buf, unsigned int base, | 182 | extern int xdr_decode_array2(struct xdr_buf *buf, unsigned int base, |
| 181 | struct xdr_array2_desc *desc); | 183 | struct xdr_array2_desc *desc); |
| 182 | extern int xdr_encode_array2(struct xdr_buf *buf, unsigned int base, | 184 | extern int xdr_encode_array2(struct xdr_buf *buf, unsigned int base, |
| 183 | struct xdr_array2_desc *desc); | 185 | struct xdr_array2_desc *desc); |
| 184 | 186 | ||
