xdr_item_is_present(9)
πΈ NAME πΈ
okay so bestie, welcome to xdr_item_is_present(9) from the Kernel API Manual β¨ this page is literally about how to symbolically handle XDR discriminators β no cap, thatβs the whole vibe π
β¨ SYNOPSIS β¨
bool xdr_item_is_present (const __be32 *p );
π ARGUMENTS π
pβ pointer to undecoded discriminator. thatβs the input, bestie π«Ά
π RETURN π
trueβ if the following XDR item is present πfalseβ if the following XDR item is absent π
π¦ SEE ALSO π¦
first up, the Kernel file: ./include/linux/sunrpc/xdr.h β go give it a lil read, iykyk ππ
then the whole XDR bestie squad:
xdr_set_scratch_buffer(9)xdr_set_scratch_folio(9)xdr_reset_scratch_buffer(9)xdr_commit_encode(9)xdr_stream_remaining(9)xdr_align_size(9)xdr_pad_size(9)xdr_stream_encode_item_present(9)xdr_stream_encode_item_absent(9)xdr_encode_bool(9)xdr_stream_encode_bool(9)xdr_stream_encode_u32(9)xdr_stream_encode_be32(9)xdr_stream_encode_u64(9)xdr_stream_encode_opaque_inline(9)xdr_stream_encode_opaque_fixed(9)xdr_stream_encode_opaque(9)xdr_stream_encode_uint32_array(9)xdr_item_is_absent(9)xdr_stream_decode_bool(9)xdr_stream_decode_u32(9)xdr_stream_decode_be32(9)xdr_stream_decode_u64(9)xdr_stream_decode_opaque_fixed(9)xdr_stream_decode_opaque_inline(9)xdr_stream_decode_uint32_array(9)
signed off from ./include/linux/sunrpc, dated October 2026 β xdr_item_is_present(9) out, 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