commit | 4f28be1fe441a15876b951b74c970a127a4bed05 | [log] [tgz] |
---|---|---|
author | Matt Benjamin <matt@linuxbox.com> | Mon Oct 07 16:02:21 2013 |
committer | Matt Benjamin <matt@linuxbox.com> | Mon Oct 07 16:02:21 2013 |
tree | f475fa27c725f20812269481558c367e1c81d03e | |
parent | dd4cc26913be62b795462bd9494a5fe8981a1201 [diff] |
Add XDR x_flags and XDR_FLAG_CKSUM. Add a shared flags member to XDR, and use it for fine-grained control over request checksum behavior. Internal checksumming when decoding is an acceptable default since it reduces work for both NFSv3 and NFSv4.0. Since the checksum is unecessary for NFSv4.1, allow the caller to omit the checksum step by clearing the approprite bit in XDR x_flags. Signed-off-by: Matt Benjamin <matt@linuxbox.com>