mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
Kernel+LibC+UserspaceEmulator: Mostly add recvmsg(), sendmsg()
The implementation only supports a single iovec for now. Some might say having more than one iovec is the main point of recvmsg() and sendmsg(), but I'm interested in the control message bits.
This commit is contained in:
parent
19f2203b53
commit
b36a2d6686
9 changed files with 158 additions and 79 deletions
|
@ -131,8 +131,8 @@ private:
|
|||
int virt$select(FlatPtr);
|
||||
int virt$accept(int sockfd, FlatPtr address, FlatPtr address_length);
|
||||
int virt$bind(int sockfd, FlatPtr address, socklen_t address_length);
|
||||
int virt$recvfrom(FlatPtr);
|
||||
int virt$sendto(FlatPtr);
|
||||
int virt$recvmsg(int sockfd, FlatPtr msg_addr, int flags);
|
||||
int virt$sendmsg(int sockfd, FlatPtr msg_addr, int flags);
|
||||
int virt$connect(int sockfd, FlatPtr address, socklen_t address_size);
|
||||
void virt$exit(int);
|
||||
ssize_t virt$getrandom(FlatPtr buffer, size_t buffer_size, unsigned int flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue