create general point-to-point connection kernel module API
|Reported by:||wkornewald||Owned by:||wkornewald|
|Component:||Network & Internet/Stack||Version:||R1/pre-alpha1|
|Has a Patch:||no||Platform:||All|
Description (last modified by )
Certain connection types (SLIP, PPP, VPN, Bluetooth) share similar behavior/concepts (ConnectOnDemand, authentication, point-to-point networks, etc.), so it might be useful to have a generic API for point-to-point connections in order to simplify their implementation.
Linux and BSD's implement this as a "tun" interface.
We have a rust port, and https://github.com/cloudflare/boringtun is a nice userspace implementation of the new wireguard VPN. It needs tun_haiku.rs written, which can't exist until we have some tun implementation... so it might be a good "first consumer" of tun.