mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
Kernel: Make IPv4Socket::protocol_send() use a size_t for buffer size
This commit is contained in:
parent
9ce4ef2dd3
commit
03837e37a3
5 changed files with 7 additions and 7 deletions
|
@ -94,7 +94,7 @@ protected:
|
|||
virtual KResult protocol_bind() { return KSuccess; }
|
||||
virtual KResult protocol_listen() { return KSuccess; }
|
||||
virtual int protocol_receive(const KBuffer&, void*, size_t, int) { return -ENOTIMPL; }
|
||||
virtual int protocol_send(const void*, int) { return -ENOTIMPL; }
|
||||
virtual int protocol_send(const void*, size_t) { return -ENOTIMPL; }
|
||||
virtual KResult protocol_connect(FileDescription&, ShouldBlock) { return KSuccess; }
|
||||
virtual int protocol_allocate_local_port() { return 0; }
|
||||
virtual bool protocol_is_disconnected() const { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue