STRUCT OVPN_ROUTE_KEY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ovpn_route_key(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a tiny lil struct from the networking side of the kernel and honestly? it's giving "small but crucial" energy. no cap.


πŸŽ€ NAME πŸŽ€

struct ovpn_route_key β€” the route key that gets used for the peer dst cache 🌸

πŸ¦‹ SYNOPSIS πŸ¦‹

struct ovpn_route_key {
    u32 mark;
    __be16 sport;
};

πŸ’… Members πŸ’…

  • mark β€” the fwmark used for route lookup ✨ like, this is what the lookup keys off of, periodt.
  • sport β€” the UDP source port used for route lookup 🫢 yep, that's the other half of the key.

🌈 SEE ALSO 🌈


lowkey a whole vibe check happens every single route lookup and this tiny struct is the main character πŸ‘‘

sooo that's the whole page bestie, hope it slayed for you πŸŽ€βœ¨

source: ./drivers/net/ovpn Β· October 2026 Β· mwah, go forth and route responsibly πŸ’‹πŸ’–

πŸ“¦ where this page comes from