Kernel: Allow network interface ioctls on interfaces
previously it was only on the sockets
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user