ovpn_peer_get_by_vpn_addr6(9)
π ovpn_peer_get_by_vpn_addr6(9) β a Kernel API Manual moment πΈ
ok so bestie, welcome to the ovpn_peer_get_by_vpn_addr6(9) page, straight out of the Kernel API Manual. yes it's a mouthful, no you're not gonna say it out loud at a party. let's get into it π«Ά
β¨ NAME β¨
ovpn_peer_get_by_vpn_addr6 β literally just go fetch a peer by its VPN IPv6 address. that's the whole vibe. π
π SYNOPSIS π
struct ovpn_peer * ovpn_peer_get_by_vpn_addr6 (struct ovpn_priv *ovpn ,
const struct in6_addr *addr );
look at that signature. she's gorg. π
π ARGUMENTS π
ovpnβ the openvpn instance you're searching through. like, the whole squad, and you're looking for one specific member. πaddrβ the VPN IPv6 you're using as your search key. this is the little name-tag you're matching against. π·οΈ
π¦ DESCRIPTION π¦
ok so real talk, and this is the important part: the refcounter is NOT increased for the returned peer. like, at all. zero. none. so don't go assuming you've got a nice little reference holding it alive for you, because ngl you don't π. handle with the appropriate amount of care, bestie. β οΈ
β RETURN β
the peer if it's found β slay π β or NULL otherwise. that's it, that's the deal. π
π§ SEE ALSO π§
it's giving extended universe, so buckle up:
Kernel file ./drivers/net/ovpn/peer.c:
ovpn_peer_keepalive_set(9)ovpn_peer_keepalive_send(9)ovpn_peer_new(9)ovpn_peer_reset_sockaddr(9)ovpn_peer_endpoints_update(9)ovpn_peer_release_rcu(9)ovpn_peer_release(9)ovpn_peer_release_kref(9)ovpn_peer_skb_to_sockaddr(9)ovpn_nexthop_from_skb4(9)ovpn_nexthop_from_skb6(9)ovpn_peer_get_by_vpn_addr4(9)ovpn_peer_vpn_addr_conflict4(9)ovpn_peer_vpn_addr_conflict6(9)ovpn_peer_transp_match(9)ovpn_peer_get_by_transp_addr_p2p(9)ovpn_peer_get_by_transp_addr(9)ovpn_peer_get_by_id_p2p(9)ovpn_peer_get_by_id(9)ovpn_peer_get_by_dst(9)ovpn_nexthop_from_rt4(9)ovpn_nexthop_from_rt6(9)ovpn_peer_check_by_src(9)ovpn_peer_add_mp(9)ovpn_peer_add_p2p(9)ovpn_peer_add(9)ovpn_peer_del_mp(9)ovpn_peer_del_p2p(9)ovpn_peer_del(9)ovpn_peer_release_p2p(9)ovpn_peers_free(9)ovpn_peer_keepalive_work(9)
like i said. extended universe. read them all, iykyk πβ¨
ok and finally, the little sign-off credits moment π¬ β this page lives in ./drivers/net/ovpn, dated October 2026, and it's filed under ovpn_peer_get_by_vpn_addr6(9). remember the name, she's iconic ππ₯
π¦ 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