STRUCT OVPN_CB(9)
β¨ struct ovpn_cb β the ovpn skb control block, bestie π
okay so this is a page from the Kernel API Manual, and honestly? it's a little icon and it deserves your attention. we're talking about struct ovpn_cb, which is the ovpn skb control block. that's the vibe. no cap. π¦
β¨ NAME β¨
struct ovpn_cb β the ovpn skb control block. that's it, that's the name, and it ate. π
πΈ SYNOPSIS πΈ
here's the whole struct, character for character, don't touch it:
struct ovpn_cb {
struct ovpn_peer *peer;
struct ovpn_crypto_key_slot *ks;
void *crypto_tmp;
unsigned int payload_offset;
bool nosignal;
};
literally every member, all five of them, living their best life in there. π«Ά
π Members π
okay so let's meet the cast, main character energy only:
peerβ the peer this skb was received from or sent to. your buddy. your person. πksβ the crypto key slot used to encrypt/decrypt this skb. the keys to the kingdom, fr fr. π₯crypto_tmpβ pointer to temporary memory used for crypto operations, and that memory contains the IV, the scatter gather list and the aead request. three things, one pointer, we love a multitasker. πpayload_offsetβ offset in the skb where the payload starts. like, that's where the actual stuff begins, iykyk. βnosignalβ whether this skb should be sent with theMSG_NOSIGNALflag (TCP). yes, that exact flag, yes,TCP, we said what we said. π
ngl bestie, that's the whole struct. no sneaky extra fields, no secret defaults, nothing hiding in the back. what you see is what you get, periodt. π
πΈ SEE ALSO πΈ
go look at the kernel file ./drivers/net/ovpn/skb.h β that's the one, that's the source of truth, go be obsessed with it. π§
and that's the page! this one came from ./drivers/net/ovpn, dated October 2026, and it's struct ovpn_cb(9) β stay iconic, stay caffeinated, and go read your headers. πβ¨π
π¦ 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