Kernel: Start work on network stack

This commit is contained in:
2024-02-01 23:38:06 +02:00
parent f4e86028d0
commit 99eed9c37a
10 changed files with 224 additions and 27 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#include <kernel/FS/TmpFS/Inode.h>
#include <kernel/Networking/NetworkInterface.h>
namespace Kernel
{
class NetworkSocket : public TmpInode
{
public:
void bind_interface(NetworkInterface*);
protected:
NetworkSocket(mode_t mode, uid_t uid, gid_t gid);
protected:
NetworkInterface* m_interface = nullptr;
};
}