dope-core 0.10.1

The manifold runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::io::socket::msg::MsgHdr;

pub const MAX_GSO_SEGMENTS: usize = 1;
pub const MAX_GSO_BYTES: usize = usize::MAX;

#[derive(Default)]
pub struct Gso;

impl Gso {
    pub const fn new() -> Self {
        Self
    }

    pub fn attach(&mut self, msg: &mut MsgHdr, segment_size: u16) {
        let _ = msg;
        debug_assert_eq!(segment_size, 0);
    }
}