network/tun: rewritting tun driver and tun module for modern code base

Change-Id: Idf7ab6d2aa2b4f8cb4893053b531d2eae7418427
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6608
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
Swangeon
2023-11-17 16:58:45 +00:00
committed by Alex von Gluck IV
parent 35c4600e21
commit 47f43bccee
7 changed files with 773 additions and 432 deletions
-9
View File
@@ -14,15 +14,6 @@
#define NET_TUN_MODULE_NAME "network/devices/tun/v1"
struct tun_device : net_device {
//queue
/*
int fd;
uint32 frame_size;*/
};
struct tun_module_info {
struct net_device_module_info;