Page MenuHomeFreeBSD

udp: allow udp_tun_func_t() to indicate it did not eat the packet
ClosedPublic

Authored by kp on Apr 11 2022, 6:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 31, 1:33 AM
Unknown Object (File)
Sun, Mar 31, 1:33 AM
Unknown Object (File)
Sun, Mar 31, 1:28 AM
Unknown Object (File)
Sun, Mar 31, 1:19 AM
Unknown Object (File)
Mar 7 2024, 2:41 PM
Unknown Object (File)
Feb 19 2024, 1:42 AM
Unknown Object (File)
Dec 25 2023, 1:17 AM
Unknown Object (File)
Dec 20 2023, 8:29 AM

Details

Summary

Allow udp tunnel functions to indicate they have not taken ownership of
the packet, and that normal UDP processing should continue.

This is especially useful for scenarios where the kernel has taken
ownership of a socket that was originally created by userspace. It
allows the tunnel function to pass through certain packets for userspace
processing.

The primary user of this is if_ovpn, when it receives messages from
unknown peers (which might be a new client).

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable