ovpn_aead_crypto_req_sg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ovpn_aead_crypto_req_sg ✨

Okay bestie, welcome to the ovpn_aead_crypto_req_sg(9) page β€” it's a kernel API manual situation and honestly it's a little niche but we're gonna slay it together πŸ’…

🌸 NAME 🌸

ovpn_aead_crypto_req_sg β€” bestie, this one locates the scatterlist that sits right after the AEAD request inside a temporary buffer, and that buffer is the one you allocated using ovpn_aead_crypto_tmp_size. That's the whole vibe ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

struct scatterlist * ovpn_aead_crypto_req_sg (struct crypto_aead *aead ,
struct aead_request *req );

πŸŽ€ ARGUMENTS πŸŽ€

  • aead β€” the AEAD cipher handle, iconic, essential, the main character πŸ”₯
  • req β€” a pointer to the AEAD request structure, and it lives in the temporary buffer, no cap 🫢

πŸ’– DESCRIPTION πŸ’–

So like, here's the tea β˜•: this function computes the starting address of the scatterlist β€” and that scatterlist is allocated immediately after the AEAD request structure. Like, right after. Adjacent. Besties in memory πŸ₯°

And it aligns the pointer based on whatever the alignment requirements of the scatterlist structure are, because of course scatterlist has standards πŸ’…

⭐ RETURN ⭐

It returns a pointer to the scatterlist. That's it, that's the gift 🎁

πŸ’œ SEE ALSO πŸ’œ


ngl bestie, go read those three siblings above before you start vibing with pointers in a temp buffer, iykyk πŸ™ˆ

✨ ok that's the whole page, mwah πŸ’‹ ✨

This little love letter lives under ./drivers/net/ovpn, dated October 2026 β€” stay hydrated, read your manpages, and remember: alignment is self-care πŸ§šπŸ’œπŸ“

πŸ“¦ where this page comes from