1
0
Fork 0
forked from wry/wry

io-uring: add sendmsg

This commit is contained in:
Julian Orth 2022-05-13 17:37:20 +02:00
parent 9416efeabe
commit e4f97287bc
17 changed files with 493 additions and 191 deletions

View file

@ -11,7 +11,6 @@ use {
buffd::{BufFdIn, BufFdOut},
vec_ext::VecExt,
},
wheel::Wheel,
},
jay_config::_private::bincode_ops,
uapi::OwnedFd,
@ -63,9 +62,9 @@ pub struct IoOut {
}
impl IoOut {
pub fn new(fd: &Rc<OwnedFd>, ring: &Rc<IoUring>, wheel: &Rc<Wheel>) -> Self {
pub fn new(fd: &Rc<OwnedFd>, ring: &Rc<IoUring>) -> Self {
Self {
outgoing: BufFdOut::new(fd, ring, wheel),
outgoing: BufFdOut::new(fd, ring),
scratch: vec![],
fds: vec![],
}