STRUCT OVPN_PRIV(9)
πΈ NAME πΈ
struct ovpn_priv β per ovpn interface state. Hii bestie, welcome to the struct ovpn_priv(9) page in the Kernel API Manual π This is the state struct for an ovpn interface, and weβre doing a full field roll call, no skips.
β¨ SYNOPSIS β¨
Okay so hereβs the whole struct, exactly as it appears:
struct ovpn_priv {
struct net_device *dev;
enum ovpn_mode mode;
spinlock_t lock;
struct ovpn_peer_collection *peers;
struct ovpn_peer *peer;
struct gro_cells gro_cells;
struct delayed_work keepalive_work;
};
π«Ά Members π«Ά
devβ the actual netdev representing the tunnel πmodeβ device operation mode (i.e.p2p,mp,..) β literally βwhich mode are we in?β energy πlockβ protect this object πpeersβ data structures holding multi-peer references π«peerβ in P2P mode, this is the only remote peer πgro_cellsβ pointer to the Generic Receive Offload cell πΎkeepalive_workβ struct used to schedule keepalive periodic job β°
π SEE ALSO π
- Kernel file
./drivers/net/ovpn/ovpnpriv.h struct ovpn_peer_collection(9)β go read, iykyk π¦
xoxo, your Kernel API Manual bestie π β source ./drivers/net/ovpn, October 2026, page struct ovpn_priv(9). Thatβs the vibe, periodt β¨
π¦ 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