STRUCT OVPN_CB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 the MSG_NOSIGNAL flag (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