build_rdma_ctx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… build_rdma_ctx(9) β€” the Kernel API Manual page, bestie edition πŸŽ€

okay so picture this: you're deep in the Kernel API Manual and you hit build_rdma_ctx(9). No stress, I got you. This one's short, sweet, and honestly kinda iconic β€” it builds the RDMA transform negotiate response context. That's the whole vibe. ✨


🌸 NAME 🌸

build_rdma_ctx β€” build an RDMA transform negotiate response context 🫢


⭐ SYNOPSIS ⭐

int build_rdma_ctx (struct smb2_neg_context *ctxt , unsigned long transform_ids );

that's literally it. she's compact. she's efficient. main character energy fr fr πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctxt β€” the response context header you're gonna populate. like, you hand it over and it gets filled in. that's her job πŸ’…
  • transform_ids β€” a bitmap of transforms that are common to both the client and the server. iykyk β€” it's the "what do we both speak" list, in bitmap form 🧚

πŸ‘‘ RETURN πŸ‘‘

returns the encoded negotiate context length. that's the number you get back. no cap, that's the whole return value πŸ“


🌈 SEE ALSO 🌈

the kernel file in question is ./fs/smb/server/smb2pdu.c, and here's the entire squad it rolls with β€” every single one, in order, because we don't do "etc." around here πŸ’–

sixty entries, zero skips, we ate that πŸ“


a little note from me to you: this page has no options, no environment variables, no exit statuses, no bugs section. it's just a function, two arguments, and a return value. sometimes simple is the slay πŸ’€

and that's the page!! πŸ’œ this cutie lives over in ./fs/smb/server, dated October 2026, and she answers to the name build_rdma_ctx(9) β€” go say hi to her siblings, they're all listed above πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from