ovpn_peer_keepalive_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this page is ovpn_peer_keepalive_work β€” run keepalive logic on each known peer. That's the whole vibe, periodt. We're in the Kernel API Manual with ovpn_peer_keepalive_work(9), and it's giving very important background-worker energy. ✨

✨ SYNOPSIS ✨

the function signature is exactly this, no cap:

void ovpn_peer_keepalive_work (struct work_struct *work );

πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” pointer to the work member of the related ovpn object. that's your pointer, bestie 🫢

🌸 DESCRIPTION 🌸

Each peer has two timers (if configured):

  1. peer timeout β€” when no data is received for a certain interval, the peer is considered dead and it gets killed. πŸ’€ no cap, dead means dead.
  2. peer keepalive β€” when no data is sent to a certain peer for a certain interval, a special 'keepalive' packet is explicitly sent. πŸŽ€ keeping the connection cute and alive.

This function iterates across the whole peer collection while checking the timers described above. So yeah, it lowkey does a full sweep of all the peers and gives those timers a vibe check. πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file first: ./drivers/net/ovpn/peer.c β€” then the whole function squad:

source/version: ./drivers/net/ovpn Β· date: October 2026 β€” mwah, bye bestie πŸ’…πŸ’–

πŸ“¦ where this page comes from