PushDualpi2Attrs

Struct PushDualpi2Attrs 

Source
pub struct PushDualpi2Attrs<Prev: Rec> { /* private fields */ }
Available on crate feature tc only.

Implementations§

Source§

impl<Prev: Rec> PushDualpi2Attrs<Prev>

Source

pub fn new(prev: Prev) -> Self

Source

pub fn end_nested(self) -> Prev

Source

pub fn push_limit(self, value: u32) -> Self

Limit of total number of packets in queue

Source

pub fn push_memory_limit(self, value: u32) -> Self

Memory limit of total number of packets in queue

Source

pub fn push_target(self, value: u32) -> Self

Classic target delay in microseconds

Source

pub fn push_tupdate(self, value: u32) -> Self

Drop probability update interval time in microseconds

Source

pub fn push_alpha(self, value: u32) -> Self

Integral gain factor in Hz for PI controller

Source

pub fn push_beta(self, value: u32) -> Self

Proportional gain factor in Hz for PI controller

Source

pub fn push_step_thresh_pkts(self, value: u32) -> Self

L4S step marking threshold in packets

Source

pub fn push_step_thresh_us(self, value: u32) -> Self

L4S Step marking threshold in microseconds

Source

pub fn push_min_qlen_step(self, value: u32) -> Self

Packets enqueued to the L-queue can apply the step threshold when the queue length of L-queue is larger than this value. (0 is recommended)

Source

pub fn push_coupling(self, value: u8) -> Self

Probability coupling factor between Classic and L4S (2 is recommended)

Source

pub fn push_drop_overload(self, value: u8) -> Self

Control the overload strategy (drop to preserve latency or let the queue overflow) Associated type: “Dualpi2DropOverload” (enum)

Source

pub fn push_drop_early(self, value: u8) -> Self

Decide where the Classic packets are PI-based dropped or marked Associated type: “Dualpi2DropEarly” (enum)

Source

pub fn push_c_protection(self, value: u8) -> Self

Classic WRR weight in percentage (from 0 to 100)

Source

pub fn push_ecn_mask(self, value: u8) -> Self

Configure the L-queue ECN classifier Associated type: “Dualpi2EcnMask” (enum)

Source

pub fn push_split_gso(self, value: u8) -> Self

Split aggregated skb or not Associated type: “Dualpi2SplitGso” (enum)

Trait Implementations§

Source§

impl<Prev: Rec> Drop for PushDualpi2Attrs<Prev>

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl<Prev: Rec> Rec for PushDualpi2Attrs<Prev>

Source§

fn as_rec_mut(&mut self) -> &mut Vec<u8>

Auto Trait Implementations§

§

impl<Prev> Freeze for PushDualpi2Attrs<Prev>
where Prev: Freeze,

§

impl<Prev> RefUnwindSafe for PushDualpi2Attrs<Prev>
where Prev: RefUnwindSafe,

§

impl<Prev> Send for PushDualpi2Attrs<Prev>
where Prev: Send,

§

impl<Prev> Sync for PushDualpi2Attrs<Prev>
where Prev: Sync,

§

impl<Prev> Unpin for PushDualpi2Attrs<Prev>
where Prev: Unpin,

§

impl<Prev> UnwindSafe for PushDualpi2Attrs<Prev>
where Prev: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.