ovpn_peer_check_by_src(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 in
  • skb β€” the packet to extract source address from πŸ“¦ β€” we're pulling the source addr out of this baby
  • peer β€” 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:


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