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)
Wed, Dec 25, 2:35 AM
Unknown Object (File)
Dec 4 2024, 5:12 PM
Unknown Object (File)
Dec 4 2024, 4:51 PM
Unknown Object (File)
Dec 4 2024, 4:50 PM
Unknown Object (File)
Dec 4 2024, 4:50 PM
Unknown Object (File)
Dec 4 2024, 4:31 PM
Unknown Object (File)
Nov 28 2024, 4:49 PM
Unknown Object (File)
Nov 24 2024, 9:54 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