ovpn_udp_encap_recv(9)
β¨ 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β ifskbwas consumed or dropped.>0β ifskbshould be passed up to userspace as UDP (packet not consumed).<0β ifskbshould be resubmitted as proto-N(packet not consumed).
π SEE ALSO π
- Kernel file
./drivers/net/ovpn/udp.c ovpn_dst_cache_check_key(9)ovpn_dst_cache_current(9)ovpn_udp4_output(9)ovpn_udp6_output(9)ovpn_udp_output(9)ovpn_udp_send_skb(9)ovpn_udp_socket_attach(9)ovpn_udp_socket_detach(9)
xoxo, your kernel bestie π β source/version: ./drivers/net/ovpn, date: October 2026. this page ate and left no crumbs. π
π¦ 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