Constant udp_socket::BATCH_SIZE[][src]

pub const BATCH_SIZE: usize = {
    if cfg!(target_os = "linux") {
        // Chosen somewhat arbitrarily; might benefit from additional tuning.
        32
    } else {
        1
    }
}; // 0x0_000_000_000_000_020usize

Number of UDP packets to send/receive at a time when using sendmmsg/recvmmsg.