ovpn_peer_hold(9)
okay bestie, this is ovpn_peer_hold(9) from the Kernel API Manual β manual name folded right in, and this little function is giving reference-counter realness π
β¨
πΈ NAME πΈ
ovpn_peer_hold β increase reference counter π«Ά
π¦ SYNOPSIS π¦
bool ovpn_peer_hold (struct ovpn_peer *peer );
π ARGUMENTS π
peerβ the peer whose counter should be increased π
β RETURN β
Returns true if the counter was increased, or false if it was zero already. no cap, that's the whole return story πβ¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ovpn/peer.h struct ovpn_route_key(9)struct ovpn_peer(9)ovpn_peer_put(9)
cute sign-off time, bestie: this page is ovpn_peer_hold(9) from the Kernel API Manual, source/version ./drivers/net/ovpn, dated October 2026. go forth and slay your reference counters, 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