-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is svc_getargs? #295
Comments
You're right, it was removed years ago. Uses were replaced with SVCAUTH_CHECKSUM and SVCAUTH_UNWRAP. The dev who did this hasn't been involved in years, so I'm not sure of the reasoning. |
For some idea of how nfs-ganesha uses ntirpc, here is the call stack from replacing NFSv3 NULL operation argument decode with xdr_void_x that does an assert(false) to force a crash:
That should be a good guideline to use the Ganesha code to understand how to use ntirpc. |
It looks like the functionality is basically done by SVC_CHECKSUM See Ganesha's use of SVC_CHECKSUM for comparison:
|
Trying to replace tirpc with ntirpc I got a problem:
There is no function or macro svc_getargs.
There is only one comment in rpc/svc.h about it:
But no svc_getargs, no SVC_GETARGS is defined elsewhere.
What to use instead?
The text was updated successfully, but these errors were encountered: