From eb27dfed7d6b2b2bb2016e985f10263110fc93e3 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 6 Jan 2021 21:15:17 +0300 Subject: [PATCH] Note about XDR inability to address >32-bit bytes --- doc/pkt.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/pkt.texi b/doc/pkt.texi index f7bbe56..33c2f28 100644 --- a/doc/pkt.texi +++ b/doc/pkt.texi @@ -50,8 +50,9 @@ drive. Path has fixed size because of hiding its actual length -- it is valuable metadata. Payload is appended to the header -- it is not stored -as XDR field, because most XDR libraries will store all that data in the -memory. +as XDR field, because XDR has no ability to pass more than 4 GiB of +opaque data. Moreover most XDR libraries store fields in the memory in +practice. Depending on the packet's type, payload could store: -- 2.44.0