mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-09 13:10:25 +00:00
d26141d433
ok hope this works -rick # Conflicts: # .gitignore # .vscode/settings.json # include/llarp/service/context.hpp # llarp/dns.cpp # llarp/dnsc.cpp # llarp/ev.cpp # llarp/ev.hpp # llarp/ev_win32.hpp # llarp/net.cpp # llarp/router.cpp # llarp/router.hpp # llarp/service/context.cpp |
||
---|---|---|
.. | ||
bindings | ||
doc | ||
regress | ||
CMakeLists.txt | ||
Makefile | ||
README.md | ||
TODO.md | ||
tuntap_log.cpp | ||
tuntap-unix-aix.c | ||
tuntap-unix-bsd.c | ||
tuntap-unix-darwin.c | ||
tuntap-unix-freebsd.c | ||
tuntap-unix-linux.c | ||
tuntap-unix-netbsd.c | ||
tuntap-unix-openbsd.c | ||
tuntap-unix-sunos.c | ||
tuntap-unix.c | ||
tuntap-windows.c | ||
tuntap.cpp |
libtuntap
Description
libtuntap is a library for configuring TUN or TAP devices in a portable manner.
TUN and TAP are virtual networking devices which allow userland applications to receive packets sent to it. The userland applications can also send their own packets to the devices and they will be forwarded to the kernel.
This is useful for developping tunnels, private networks or virtualisation systems.
Supported Features
- Creation of TUN and TAP devices;
- Autodetection of available TUN or TAP devices;
- Setting and getting the MAC address of the device;
- Setting and getting the MTU of the device;
- Setting the status of the device (up/down);
- Setting the IPv4 address and netmask of the device;
- Setting the persistence mode of the device;
- Setting the name of the device (Linux only);
- Setting the description of the device (OpenBSD and FreeBSD only).
Supported Systems
- OpenBSD;
- Linux;
- NetBSD;
- Darwin.
Current Porting Efforts
- Windows;
- FreeBSD.
In the future
- AIX;
- Solaris.
License
All the code is licensed under the ISC License. It's free, not GPLed !