diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-12 17:27:07 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-12 17:27:07 +0100 |
commit | a7d5e9781af3735a56d3e9665fd5a1026258c932 (patch) | |
tree | 93774500344e556110ee4bd2f71e24375cab7ba5 /Kernel/Socket.h | |
parent | a017a7744279a29ab490c0aa7d2a81deb0997ae4 (diff) | |
download | serenity-a7d5e9781af3735a56d3e9665fd5a1026258c932.zip |
Kernel+LibC+Userland: Yet more networking bringup hacking.
All ICMP sockets now receive all ICMP packets. All this buffering is gonna
need some limits and such.
Diffstat (limited to 'Kernel/Socket.h')
-rw-r--r-- | Kernel/Socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Socket.h b/Kernel/Socket.h index 04575f616d..e83d0aeb9f 100644 --- a/Kernel/Socket.h +++ b/Kernel/Socket.h @@ -36,6 +36,7 @@ public: virtual ssize_t write(SocketRole, const byte*, ssize_t) = 0; virtual bool can_write(SocketRole) const = 0; virtual ssize_t sendto(const void*, size_t, int flags, const sockaddr*, socklen_t) = 0; + virtual ssize_t recvfrom(void*, size_t, int flags, const sockaddr*, socklen_t) = 0; pid_t origin_pid() const { return m_origin_pid; } |