ovpn_nl_peer_modify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, this is ovpn_nl_peer_modify(9) from the Kernel API Manual β€” and it's literally the function that modifies the peer attributes according to the incoming msg. No cap, that's the whole vibe. ✨

✨ SYNOPSIS ✨

int ovpn_nl_peer_modify (struct ovpn_peer *peer , struct genl_info *info , struct nlattr **attrs );

πŸŽ€ ARGUMENTS πŸŽ€

  • peer β€” the peer to modify. This is the one getting the little glow-up. πŸ’…
  • info β€” generic netlink info from the user request. Think of it as the group-chat message that kicked this off. 🫢
  • attrs β€” the attributes from the user request. All the lil attached details, bestie. πŸŽ€

πŸ’… RETURN πŸ’…

  • A negative error code in case of failure. Not slay. 😭
  • 0 on success. Clean, iconic, done. ✨
  • 1 on success and the VPN IPs have been modified β€” and yes, this requires rehashing in MP mode. Important detail, don't forget it. πŸ”₯

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ovpn/netlink.c plus the whole friend group:


Source/version: ./drivers/net/ovpn Β· date: October 2026 Β· page: ovpn_nl_peer_modify(9) β€” that's the sign-off, bestie, muah πŸ’‹πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from