xdr_skb_read_bits(9)
π xdr_skb_read_bits π
okay so bestie, welcome to xdr_skb_read_bits(9) β yes that's the section 9 kernel API manual, we're in the big leagues now, and no I'm not scared of it π
β¨ NAME β¨
xdr_skb_read_bits β copy some data bits from skb to internal buffer
like literally, it scoops bits out of an skb and drops them in your own little buffer π
πΈ SYNOPSIS πΈ
size_t xdr_skb_read_bits (struct xdr_skb_reader *desc , void *to ,
size_t len );
that's the whole vibe. three args, one size_t coming back at you π¦
π ARGUMENTS π
descβ the sk_buff copy helper, your little main character struct that knows how to do the copying π«Άtoβ copy destination, aka where the bytes are actually going, the it-girl of this whole operation πlenβ number of bytes to copy, so pls count responsibly β¨
π DESCRIPTION π
Possibly called several times to iterate over an sk_buff and copy data out of it.
yes bestie, possibly called several times β that's the whole thing. it's not a one-and-done situation, it's a loop girlie, walking over an sk_buff and pulling data out π so don't assume one call eats the whole buffer, okay? iykyk π
πΌ SEE ALSO πΌ
- Kernel file
./net/sunrpc/socklib.cπ§ csum_partial_copy_to_xdr(9)xprt_sock_sendmsg(9)
those last two are also section 9, so if you liked this one you know where to find the rest of the friend group β
fr fr bestie, that's everything β no cap, no skipped sections, no invented behaviour π
mwah π this has been ./net/sunrpc, from the October 2026 era of the Kernel API Manual β xdr_skb_read_bits(9), signing off, slay πΈβ¨
π¦ 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