I have a proxy server between the client and server.
I use XDR to read and modify NFS messages between them
for example if i want to edit the file size for and get attributes reply i use the struct and function
GETATTR3res
bool_t xdr_GETATTR3res ( XDR *xdrs, GETATTR3res *objp );
now i want to use the same method to modify replys for
RPC:
Program: NFSACL (100227)
Program version: 3
Procedure: GETACL (1) and SETACL (2)
i want to edit the (fattr3) attributes field with xdr
either a XDR function for NFSACL or even deconstructed XDR function for the fields NFSACL procedures have
I have found this list of structures that with smaller XDR function can be used to modify the attributes
and using xdr_post_op_attr to decode and enconde back