STRUCT OVPN_ROUTE_KEY(9)
β¨ 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 π
- Kernel file
./drivers/net/ovpn/peer.hstruct ovpn_peer(9),ovpn_peer_hold(9),ovpn_peer_put(9)π
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
- 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