[][src]Struct nc::bpf_insn_t

#[repr(C)]
pub struct bpf_insn_t {
    pub code: u8,
    pub dst_reg: u32,
    pub src_reg: u32,
    pub off: i16,
    pub imm: i32,
}

Fields

code: u8

opcode

dst_reg: u32

dest register

src_reg: u32

source register/

off: i16

signed offset

imm: i32

signed immediate constant

Auto Trait Implementations

impl Unpin for bpf_insn_t

impl Send for bpf_insn_t

impl Sync for bpf_insn_t

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]