mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
Kernel: Avoid allocations when handling network packets
This commit is contained in:
parent
53d0150827
commit
006f11f23d
5 changed files with 8 additions and 6 deletions
|
@ -23,6 +23,8 @@ namespace Kernel {
|
|||
|
||||
class NetworkAdapter;
|
||||
|
||||
using NetworkByteBuffer = AK::Detail::ByteBuffer<1500>;
|
||||
|
||||
class NetworkAdapter : public RefCounted<NetworkAdapter> {
|
||||
public:
|
||||
template<typename Callback>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue