ovpn_udp6_output(9)
π ovpn_udp6_output(9)
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for ovpn_udp6_output, and honestly? it's giving "one job, done well" π
πΈ NAME πΈ
ovpn_udp6_output β send an IPv6 packet over a udp socket π¦
like, that's it. that's the whole vibe. you got an IPv6 packet? you got a udp socket? say less, this function ships it π¦β¨
β¨ SYNOPSIS β¨
int ovpn_udp6_output (struct ovpn_peer *peer , struct ovpn_bind *bind ,
struct dst_cache *cache , struct sock *sk , struct sk_buff *skb , const
struct ovpn_route_key *key );
six arguments, no cap. she's highkey thorough π₯
π ARGUMENTS π
peerβ the destination peer π«Ά like, who are we even sending this to, bestie? this is them.bindβ the binding related to the destination peer π it's the connection-y situation attached to that peer, iykyk.cacheβ dst cache πΎ the destination cache, keeping things speedy so we're not out here doing lookups from scratch every single time πskβ the socket to send the packet over 𧦠this is the actual udp socket the packet rides out on.skbβ the packet to send π¨ the literal payload, the main character of this whole operation, no notes πkeyβ the route key snapshot used for cache validation and flow lookup πβ she does double duty: checks that the cache is still valid, and helps with the flow lookup. multi-talented fr fr.
π RETURN π
0 on success π or a negative error code otherwise π β so like, always check her return value, bestie, don't just assume it ate π
π SEE ALSO π
- Kernel file
./drivers/net/ovpn/udp.cπ (the source, the origin story, the blueprint) ovpn_udp_encap_recv(9)ovpn_dst_cache_check_key(9)ovpn_dst_cache_current(9)ovpn_udp4_output(9)ovpn_udp_output(9)ovpn_udp_send_skb(9)ovpn_udp_socket_attach(9)ovpn_udp_socket_detach(9)
go read the whole friend group, they all slay in their own way π β¨
and that's the page!! mwah π this icon lives in ./drivers/net/ovpn, dated October 2026, and she goes by ovpn_udp6_output(9) β periodt ππΈπ¦
π¦ 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