ovpn_peer_del_p2p(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 🫢


mwah πŸ’– source/version: ./drivers/net/ovpn Β· date: October 2026 β€” that's the cute little sign-off, bestie, no cap 🌈

πŸ“¦ where this page comes from