xdr_stream_..._opaque_auth(9)
π xdr_stream_..._opaque_auth(9) π
okay so welcome to the Kernel API Manual, bestie β¨ this is the page for xdr_stream_..._opaque_auth(9), and the actual NAME-section function is xdr_stream_decode_opaque_auth β yes, the header has the ... but the real one is right here. no cap.
β¨ NAME β¨
xdr_stream_decode_opaque_auth β Decode struct opaque_auth (RFC5531 S8.2)
π SYNOPSIS π
ssize_t xdr_stream_decode_opaque_auth (struct xdr_stream *xdr , u32
*flavor , void **body , unsigned int *body_len );
π ARGUMENTS π
xdrβ pointer toxdr_stream.flavorβ location to store decodedflavor.bodyβ location to store decode body.body_lenβ location to store length of decoded body.
π¦ DESCRIPTION π¦
Return values, bestie β this is the whole vibe:
- On success, returns the number of buffer bytes consumed.
-EBADMSGon XDR buffer overflow.-EMSGSIZEif the decoded size of thebodyfield exceeds400octets.
the400octets cap is not a suggestion, okay? if the decodedbodysize exceeds it, that's-EMSGSIZEenergy. π
π SEE ALSO π
the XDR friend group is all here, and also the kernel file:
- Kernel file
./net/sunrpc/xdr.c xdr_encode_opaque_fixed(9)xdr_encode_opaque(9)xdr_terminate_string(9)xdr_buf_to_bvec(9)xdr_buf_to_sg(9)xdr_buf_to_sg_alloc(9)xdr_inline_pages(9)_shift_data_left_pages(9)_shift_data_right_pages(9)_copy_to_pages(9)_copy_from_pages(9)xdr_buf_pages_zero(9)xdr_shrink_bufhead(9)xdr_shrink_pagelen(9)xdr_stream_pos(9)xdr_page_pos(9)xdr_init_encode(9)xdr_init_encode_pages(9)__xdr_commit_encode(9)xdr_reserve_space(9)xdr_reserve_space_vec(9)xdr_truncate_encode(9)xdr_truncate_decode(9)xdr_restrict_buflen(9)xdr_write_pages(9)xdr_init_decode(9)xdr_init_decode_pages(9)xdr_finish_decode(9)xdr_inline_decode(9)xdr_read_pages(9)xdr_set_pagelen(9)xdr_enter_page(9)xdr_buf_subsegment(9)xdr_stream_subsegment(9)xdr_stream_move_subsegment(9)xdr_stream_zero(9)xdr_buf_trim(9)xdr_stream_decode_string_dup(9)xdr_stream_encode_opaque_auth(9)
okay bye bestie π this was xdr_stream_..._opaque_auth(9) from the Kernel API Manual. source/version line: ./net/sunrpc; date: October 2026. periodt. π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms