ovpn_peer_transp_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

ovpn_peer_transp_match(9) β€” check if sockaddr and peer binding match

okay so this tiny bool icon is from the Kernel API Manual, and she has exactly one job, bestie: look at a peer’s binding and a sockaddr, then tell you if they match. no cap, that’s the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

bool ovpn_peer_transp_match (const struct ovpn_peer *peer , const struct
       sockaddr_storage *ss );

that’s the whole call, fr fr. peer and ss pull up, the function returns a bool, and the group chat gets its answer. ✨

πŸ¦‹ ARGUMENTS πŸ¦‹

  • peer β€” the peer to get the binding from, periodt. that’s where the binding comes from.
  • ss β€” the sockaddr to match. this is the one getting compared, iykyk.

πŸ”₯ RETURN πŸ”₯

  • true if sockaddr and binding match
  • false otherwise

literally that’s it β€” true or false, no maybes, no β€œit’s complicated” status, just a clean bool moment. πŸ’–

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/net/ovpn/peer.c and the whole function friend group:

byeee bestie 🫢 β€” this page is from ./drivers/net/ovpn, dated October 2026, and it’s ovpn_peer_transp_match(9) πŸ’–

πŸ“¦ where this page comes from