Struct libbpf_sys::bpf_prog_test_run_attr
source · [−]#[repr(C)]pub struct bpf_prog_test_run_attr {Show 16 fields
pub prog_fd: c_int,
pub repeat: c_int,
pub data_in: *const c_void,
pub data_size_in: __u32,
pub __bindgen_padding_0: [u8; 4],
pub data_out: *mut c_void,
pub data_size_out: __u32,
pub retval: __u32,
pub duration: __u32,
pub __bindgen_padding_1: [u8; 4],
pub ctx_in: *const c_void,
pub ctx_size_in: __u32,
pub __bindgen_padding_2: [u8; 4],
pub ctx_out: *mut c_void,
pub ctx_size_out: __u32,
pub __bindgen_padding_3: [u8; 4],
}
Fields
prog_fd: c_int
repeat: c_int
data_in: *const c_void
data_size_in: __u32
__bindgen_padding_0: [u8; 4]
data_out: *mut c_void
data_size_out: __u32
retval: __u32
duration: __u32
__bindgen_padding_1: [u8; 4]
ctx_in: *const c_void
ctx_size_in: __u32
__bindgen_padding_2: [u8; 4]
ctx_out: *mut c_void
ctx_size_out: __u32
__bindgen_padding_3: [u8; 4]
Trait Implementations
sourceimpl Clone for bpf_prog_test_run_attr
impl Clone for bpf_prog_test_run_attr
sourcefn clone(&self) -> bpf_prog_test_run_attr
fn clone(&self) -> bpf_prog_test_run_attr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for bpf_prog_test_run_attr
impl Debug for bpf_prog_test_run_attr
sourceimpl Default for bpf_prog_test_run_attr
impl Default for bpf_prog_test_run_attr
impl Copy for bpf_prog_test_run_attr
Auto Trait Implementations
impl RefUnwindSafe for bpf_prog_test_run_attr
impl !Send for bpf_prog_test_run_attr
impl !Sync for bpf_prog_test_run_attr
impl Unpin for bpf_prog_test_run_attr
impl UnwindSafe for bpf_prog_test_run_attr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more