ovpn_peer_reset_sockaddr(9)
π NAME π
okay bestie, you're reading the Kernel API Manual page for ovpn_peer_reset_sockaddr(9) β¨ and it is literally about recreating the binding for a peer. that's it, that's the vibe, and she ate π
β¨ SYNOPSIS β¨
int ovpn_peer_reset_sockaddr (struct ovpn_peer *peer , const struct
sockaddr_storage *ss , const void *local_ip );
π ARGUMENTS π
peerβ the peer to recreate the binding for π«Άssβ thesockaddrto use as the remote endpoint for the binding πΈlocal_ipβ the local IP for the binding π¦
π RETURN π
0 on success, or a negative error code otherwise. so like, 0 is the success slay, and anything negative is the βoop, something went sidewaysβ π no cap.
π SEE ALSO π
this one is chillin' in the kernel file ./drivers/net/ovpn/peer.c, and the whole bestie lineup is:
ovpn_peer_keepalive_set(9)ovpn_peer_keepalive_send(9)ovpn_peer_new(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)
mwah π source: ./drivers/net/ovpn β date: October 2026 β page: ovpn_peer_reset_sockaddr(9). that's the whole manual, bestie, go off πβ¨
π¦ 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