Kernel: Allow network interface ioctls on interfaces

previously it was only on the sockets
This commit is contained in:
2026-05-23 13:02:43 +03:00
parent c72f2f9b31
commit d266d2ca88
3 changed files with 100 additions and 67 deletions

View File

@@ -65,6 +65,9 @@ namespace Kernel
}
virtual BAN::ErrorOr<void> send_bytes(BAN::MACAddress destination, EtherType protocol, BAN::Span<const BAN::ConstByteSpan> payload) = 0;
private:
BAN::ErrorOr<long> ioctl_impl(int, void*) override;
private:
const Type m_type;
char m_name[10];