#![allow(unused_variables)]
#![allow(dead_code)]
mod device;
pub use self::device::Device;
use crate::configuration::Configuration;
use crate::error::Result;
#[derive(Copy, Clone, Default, Debug)]
pub struct PlatformConfig;
impl PlatformConfig {
pub fn packet_information(&mut self, _value: bool) -> &mut Self {
self
}
pub fn ensure_root_privileges(&mut self, _value: bool) -> &mut Self {
self
}
pub fn napi(&mut self, _value: bool) -> &mut Self {
self
}
pub fn vnet_hdr(&mut self, _value: bool) -> &mut Self {
self
}
}
pub fn create(configuration: &Configuration) -> Result<Device> {
Device::new(configuration)
}