initial setup for recvmsg, all handlers return EOPNOTSUPP for now
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user