ovpn_peer_del_p2p(9)
β¨ NAME β¨
okay bestie, meet ovpn_peer_del_p2p(9) β the kernel API manual page for deleting a peer from related tables in a P2P instance π
it's giving cleanup era, and honestly? iconic.
π SYNOPSIS π
int ovpn_peer_del_p2p (struct ovpn_peer *peer , enum
ovpn_del_peer_reason reason , struct llist_head *release_list );
lowkey just a function signature, but every character matters, so here it is exactly β
π¦ ARGUMENTS π¦
peerβ the peer to delete. say bye bestie πreasonβ the reason why the peer was deleted, and it gets sent to userspace, so it's not just vibes β it's data πrelease_listβ the list where the delete peer should be appended. put it on the list, bestie π
πΈ RETURN πΈ
0 on success, or a negative error code otherwise. success is the main character; negative error code is the plot twist π
π SEE ALSO π
Kernel file ./drivers/net/ovpn/peer.c β that's where this lives, iykyk π«Ά
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_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(9)ovpn_peer_release_p2p(9)ovpn_peers_free(9)ovpn_peer_keepalive_work(9)
mwah π source/version: ./drivers/net/ovpn Β· date: October 2026 β that's the cute little sign-off, bestie, no cap π
π¦ 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