ovpn_udp_encap_recv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ovpn_udp_encap_recv(9) ✨

okay so bestie, this is the ovpn_udp_encap_recv(9) page from the Kernel API Manual, and it's literally about starting to process a received UDP packet. no cap, this is the vibe check for incoming UDP. πŸ¦‹πŸ’…


πŸ’– NAME πŸ’–

ovpn_udp_encap_recv β€” start processing a received UDP packet. periodt. πŸ‘‘

πŸŽ€ SYNOPSIS πŸŽ€

int ovpn_udp_encap_recv (struct sock *sk , struct sk_buff *skb );

🌸 ARGUMENTS 🌸

  • sk β€” socket over which the packet was received. like, the socket it came in on, bestie. 🫢
  • skb β€” the received packet. the actual packet in question. πŸ“¦

🧚 DESCRIPTION 🧚

If the first byte of the payload is:

  • DATA_V2 β€” the packet is accepted for further processing. slay, it moves on. βœ…
  • DATA_V1 β€” the packet is dropped as not supported. nope, not today. πŸ™ˆ
  • anything else β€” the packet is forwarded to the UDP stack for delivery to user space. off it goes to userspace. πŸ’…

πŸ”₯ RETURN πŸ”₯

  • 0 β€” if skb was consumed or dropped.
  • >0 β€” if skb should be passed up to userspace as UDP (packet not consumed).
  • <0 β€” if skb should be resubmitted as proto -N (packet not consumed).

🌈 SEE ALSO 🌈


xoxo, your kernel bestie πŸ’– β€” source/version: ./drivers/net/ovpn, date: October 2026. this page ate and left no crumbs. πŸ“

πŸ“¦ where this page comes from