ovpn_peer_check_by_src(9)
πΈ ovpn_peer_check_by_src β NAME πΈ
okay so bestie, welcome to the ovpn_peer_check_by_src(9) page (yes, section 9, kernel API manual, we're in the Big Leagues now π
). this one's whole job: check that skb source is routed via peer. that's it. that's the function. she's a little vibe-checker for packets β¨
π¦ SYNOPSIS π¦
bool ovpn_peer_check_by_src (struct ovpn_priv *ovpn , struct sk_buff
*skb , struct ovpn_peer *peer );
π ARGUMENTS π
three besties walk into a function, and they are:
ovpnβ the openvpn instance to search π β like, the whole world she's gonna go rummaging around inskbβ the packet to extract source address from π¦ β we're pulling the source addr out of this babypeerβ the peer to check against the source address π β the one getting compared, no cap
π RETURN π
true if the peer is matching π β or false otherwise π. that's the whole report card, two options, no in-between, periodt.
π SEE ALSO π
bestie there are SO many cousins, the whole family tree is here, and the kernel file she lives in is ./drivers/net/ovpn/peer.c π«Ά β go say hi to:
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_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_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)
and that's the page, bestie!! π she lives under ./drivers/net/ovpn in the Kernel source, dated October 2026, and her whole name-and-number is ovpn_peer_check_by_src(9) β go forth and vibe-check those packets, i believe in you π§β¨π
π¦ 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