pub enum TcAttachOptions {
Netlink(NlOptions),
TcxOrder(LinkOrder),
}Expand description
Options for a SchedClassifier attach operation.
The options vary based on what is supported by the current kernel. Kernels older than 6.6.0 must utilize netlink for attachments, while newer kernels can utilize the modern TCX eBPF link type which supports the kernel’s multi-prog API.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcAttachOptions
impl RefUnwindSafe for TcAttachOptions
impl Send for TcAttachOptions
impl Sync for TcAttachOptions
impl Unpin for TcAttachOptions
impl UnwindSafe for TcAttachOptions
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