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)
Sat, Apr 27, 7:36 AM
Unknown Object (File)
Sat, Apr 27, 7:36 AM
Unknown Object (File)
Sat, Apr 27, 7:36 AM
Unknown Object (File)
Sat, Apr 27, 6:04 AM
Unknown Object (File)
Mar 31 2024, 1:33 AM
Unknown Object (File)
Mar 31 2024, 1:33 AM
Unknown Object (File)
Mar 31 2024, 1:28 AM
Unknown Object (File)
Mar 31 2024, 1:19 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45123
Build 42011: arc lint + arc unit