riptun is a cross platform library for creating, managing, and leveraging both sync and async TUN/TAP devices.