ovpn_nl_peer_modify(9)
π 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. π
0on success. Clean, iconic, done. β¨1on 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:
ovpn_get_dev_from_attrs(9)ovpn_nl_key_new_doit(9)ovpn_nl_peer_del_notify(9)ovpn_nl_peer_float_notify(9)ovpn_nl_key_swap_notify(9)ovpn_nl_register(9)ovpn_nl_unregister(9)
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
- 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