ovpn_peer_ge...nsp_addr_p2p(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual page for ovpn_peer_get_by_transp_addr_p2p β€” the function that gets you a peer by its transport address when you're chilling inside a P2P instance. yes, that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

struct ovpn_peer * ovpn_peer_get_by_transp_addr_p2p (struct ovpn_priv
*ovpn , struct sockaddr_storage *ss );

like, it hands you back a struct ovpn_peer * and takes exactly two things. no more, no less. πŸŽ€


πŸ’– ARGUMENTS πŸ’–

  • ovpn β€” the openvpn instance you wanna search through. this is the main character you're digging around in πŸ”
  • ss β€” the transport socket address. like, the address-address, struct sockaddr_storage flavored 🧚

πŸŽ€ RETURN πŸŽ€

you get the peer back if it's found β€” and if it's not? NULL. that's it, that's the deal. no cap. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

so this whole thing lives in the kernel file ./drivers/net/ovpn/peer.c, and there is so much more to read if you're obsessed like me:


✨ and that's the page, bestie!! source situation is ./drivers/net/ovpn, dated October 2026, and the header title was literally ovpn_peer_ge...nsp_addr_p2p(9) β€” yeah the name got truncated, she's mysterious like that πŸ’€. go forth and peer-search, ily, mwah πŸ“πŸ’œ

πŸ“¦ where this page comes from