Struct seccompiler::sock_filter [−][src]
#[repr(C)]pub struct sock_filter {
pub code: c_ushort,
pub jt: c_uchar,
pub jf: c_uchar,
pub k: c_uint,
}
Expand description
BPF instruction structure definition.
Fields
code: c_ushort
Code of the instruction.
jt: c_uchar
Jump if true offset.
jf: c_uchar
Jump if false offset.
k: c_uint
Immediate value.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for sock_filter
impl Send for sock_filter
impl Sync for sock_filter
impl Unpin for sock_filter
impl UnwindSafe for sock_filter
Blanket Implementations
Mutably borrows from an owned value. Read more