diff options
author | Anton Kling <anton@kling.gg> | 2024-07-08 21:37:15 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-07-08 21:37:15 +0200 |
commit | e49d2a9fa5a485c33a250ce843d44fc6dedea8b5 (patch) | |
tree | 4be00773adca0b6c59da6d07602338ff538a7199 /kernel/fs/vfs.h | |
parent | 35292a486c2b44862cac6887441d6fa18148b249 (diff) |
Kernel/Net: Don't use kmalloc to create send buffers
Current method is also really bad since it uses multiple copies when it
should instead just copy to the send buffer of the network card
directly. But I have other things that I want to prioritize first.
Diffstat (limited to 'kernel/fs/vfs.h')
-rw-r--r-- | kernel/fs/vfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fs/vfs.h b/kernel/fs/vfs.h index a39982d..640cfbb 100644 --- a/kernel/fs/vfs.h +++ b/kernel/fs/vfs.h @@ -48,6 +48,7 @@ struct vfs_inode { int type; int (*_has_data)(vfs_inode_t *iinode); int (*_can_write)(vfs_inode_t *iinode); + int (*_is_open)(vfs_inode_t *iinode); u8 is_open; int internal_object_type; void *internal_object; |