#[repr(u16)]pub enum Rtax {
Show 19 variants
Unspec = 0,
Lock = 1,
Mtu = 2,
Window = 3,
Rtt = 4,
Rttvar = 5,
Ssthresh = 6,
Cwnd = 7,
Advmss = 8,
Reordering = 9,
Hoplimit = 10,
Initcwnd = 11,
Features = 12,
RtoMin = 13,
Initrwnd = 14,
Quickack = 15,
CcAlgo = 16,
FastopenNoCookie = 17,
_MAX = 18,
}
Variants§
Unspec = 0
Lock = 1
Mtu = 2
Window = 3
Rtt = 4
Rttvar = 5
Ssthresh = 6
Cwnd = 7
Advmss = 8
Reordering = 9
Hoplimit = 10
Initcwnd = 11
Features = 12
RtoMin = 13
Initrwnd = 14
Quickack = 15
CcAlgo = 16
FastopenNoCookie = 17
_MAX = 18
Implementations§
Source§impl Rtax
impl Rtax
pub fn put_lock<'a>(nlv: &'a mut MsgVec, data: &u32) -> Result<&'a mut MsgVec>
pub fn put_mtu<'a>(nlv: &'a mut MsgVec, data: &u32) -> Result<&'a mut MsgVec>
pub fn put_window<'a>(nlv: &'a mut MsgVec, data: &u32) -> Result<&'a mut MsgVec>
pub fn put_rtt<'a>(nlv: &'a mut MsgVec, data: &u32) -> Result<&'a mut MsgVec>
pub fn put_rttvar<'a>(nlv: &'a mut MsgVec, data: &u32) -> Result<&'a mut MsgVec>
pub fn put_ssthresh<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_cwnd<'a>(nlv: &'a mut MsgVec, data: &u32) -> Result<&'a mut MsgVec>
pub fn put_advmss<'a>(nlv: &'a mut MsgVec, data: &u32) -> Result<&'a mut MsgVec>
pub fn put_reordering<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_hoplimit<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_initcwnd<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_features<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_rto_min<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_initrwnd<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_quickack<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_cc_algo<'a>( nlv: &'a mut MsgVec, data: &str, ) -> Result<&'a mut MsgVec>
Trait Implementations§
impl Copy for Rtax
impl Eq for Rtax
impl StructuralPartialEq for Rtax
Auto Trait Implementations§
impl Freeze for Rtax
impl RefUnwindSafe for Rtax
impl Send for Rtax
impl Sync for Rtax
impl Unpin for Rtax
impl UnwindSafe for Rtax
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more