#[repr(u8)]pub enum EbpfProgramType {
XdpDistance = 0,
TcFilter = 1,
SocketFilter = 2,
Tracepoint = 3,
Kprobe = 4,
CgroupSkb = 5,
Custom = 255,
}Expand description
eBPF program type classification.
Variants§
XdpDistance = 0
XDP program for distance computation on packets.
TcFilter = 1
TC classifier for query routing.
SocketFilter = 2
Socket filter for query preprocessing.
Tracepoint = 3
Tracepoint for performance monitoring.
Kprobe = 4
Kprobe for dynamic instrumentation.
CgroupSkb = 5
Cgroup socket buffer filter.
Custom = 255
Custom program type.
Trait Implementations§
Source§impl Clone for EbpfProgramType
impl Clone for EbpfProgramType
Source§fn clone(&self) -> EbpfProgramType
fn clone(&self) -> EbpfProgramType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EbpfProgramType
impl Debug for EbpfProgramType
Source§impl Hash for EbpfProgramType
impl Hash for EbpfProgramType
Source§impl PartialEq for EbpfProgramType
impl PartialEq for EbpfProgramType
Source§impl TryFrom<u8> for EbpfProgramType
impl TryFrom<u8> for EbpfProgramType
impl Copy for EbpfProgramType
impl Eq for EbpfProgramType
impl StructuralPartialEq for EbpfProgramType
Auto Trait Implementations§
impl Freeze for EbpfProgramType
impl RefUnwindSafe for EbpfProgramType
impl Send for EbpfProgramType
impl Sync for EbpfProgramType
impl Unpin for EbpfProgramType
impl UnwindSafe for EbpfProgramType
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