summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index 6cb3c9ac59..b3586034a4 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -89,6 +89,7 @@
__ENUMERATE_SYSCALL(get_shared_buffer_size) \
__ENUMERATE_SYSCALL(seal_shared_buffer) \
__ENUMERATE_SYSCALL(sendto) \
+ __ENUMERATE_SYSCALL(recvfrom) \
namespace Syscall {
@@ -138,6 +139,15 @@ struct SC_sendto_params {
size_t addr_length; // socklen_t
};
+struct SC_recvfrom_params {
+ int sockfd;
+ void* buffer;
+ size_t buffer_length;
+ int flags;
+ const void* addr; // const sockaddr*
+ size_t addr_length; // socklen_t
+};
+
void initialize();
int sync();