initial setup for recvmsg, all handlers return EOPNOTSUPP for now

This commit is contained in:
Benton60
2026-03-18 21:00:10 -04:00
parent 9f94592834
commit c9653b50eb
5 changed files with 39 additions and 1 deletions
+4
View File
@@ -149,6 +149,10 @@ impl<'a> SchemeSocket for RawSocket<'a> {
Ok(i)
}
fn handle_recvmsg(&mut self, file: &mut SchemeFile<Self>, how:&mut [u8], flags:usize) -> SyscallResult<usize> {
return Err(SyscallError::new(syscall::EOPNOTSUPP));
}
fn handle_get_peer_name(
&self,
file: &SchemeFile<Self>,