ovpn_peer_new(9)
β¨ ovpn_peer_new(9) β¨
okay bestie, welcome to the ovpn_peer_new(9) glow-up π
this little icon lives in the Kernel API Manual, and she's about to make a whole new peer object from scratch. main character energy only.
π¦ NAME π¦
ovpn_peer_new β allocate and initialize a new peer object πΈ
like, literally spawn a peer. brand new. fresh out the box. β¨
π SYNOPSIS π
struct ovpn_peer * ovpn_peer_new (struct ovpn_priv *ovpn , u32 id );
that's the whole vibe. two args, one pointer out. slay. π
π ARGUMENTS π
ovpnβ the openvpn instance inside which the peer should be created. it's giving "where this peer is gonna live", iykyk πidβ the ID assigned to this peer. yes, she gets a whole ID. iconic. πͺͺ
π RETURN π
a pointer to the new peer on success π«Ά or an error code otherwise π (so likeβ¦ check it, bestie, don't just rawdog the return value fr fr)
π SEE ALSO π
the kernel file is ./drivers/net/ovpn/peer.c β that's the mothership, go read her π§
and then the whole friend group, no cap, every single one:
ovpn_peer_keepalive_set(9)ovpn_peer_keepalive_send(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_get_by_vpn_addr6(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)
ok that's literally the whole page, no filler, we ate and left no crumbs π₯ go make some peers, bestie π
mwah π this one's from ./drivers/net/ovpn, dated October 2026 β catch you in the next manpage, ovpn_peer_new(9) out π
π¦ 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