ovpn_peer_transp_match(9)
π 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β thesockaddrto match. this is the one getting compared, iykyk.
π₯ RETURN π₯
trueifsockaddrand binding matchfalseotherwise
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:
ovpn_peer_keepalive_set(9)ovpn_peer_keepalive_send(9)ovpn_peer_new(9)ovpn_peer_reset_sockaddr(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_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)
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
- 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