Implement vnet_null device

Such device don't need new threads and files but are valid ethernet
devices for the kernel. Convenient for testing.
This commit is contained in:
2023-02-06 16:01:37 +00:00
parent 6a479621e9
commit e71791c0ab
22 changed files with 194 additions and 71 deletions

View File

@@ -17,6 +17,6 @@
#define RAW_SUFFIX ".raw"
struct vdisk*
vdisk_init_raw(const char *fname, struct umka_io *io);
vdisk_init_raw(const char *fname, const struct umka_io *io);
#endif // VDISK_RAW_H_INCLUDED