Struct libbpf_sys::bpf_prog_info [−][src]
#[repr(C)]pub struct bpf_prog_info {}Show fields
pub type_: __u32, pub id: __u32, pub tag: [__u8; 8], pub jited_prog_len: __u32, pub xlated_prog_len: __u32, pub jited_prog_insns: __u64, pub xlated_prog_insns: __u64, pub load_time: __u64, pub created_by_uid: __u32, pub nr_map_ids: __u32, pub map_ids: __u64, pub name: [c_char; 16], pub ifindex: __u32, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u8>, pub netns_dev: __u64, pub netns_ino: __u64, pub nr_jited_ksyms: __u32, pub nr_jited_func_lens: __u32, pub jited_ksyms: __u64, pub jited_func_lens: __u64, pub btf_id: __u32, pub func_info_rec_size: __u32, pub func_info: __u64, pub nr_func_info: __u32, pub nr_line_info: __u32, pub line_info: __u64, pub jited_line_info: __u64, pub nr_jited_line_info: __u32, pub line_info_rec_size: __u32, pub jited_line_info_rec_size: __u32, pub nr_prog_tags: __u32, pub prog_tags: __u64, pub run_time_ns: __u64, pub run_cnt: __u64,
Fields
type_: __u32id: __u32tag: [__u8; 8]jited_prog_len: __u32xlated_prog_len: __u32jited_prog_insns: __u64xlated_prog_insns: __u64load_time: __u64created_by_uid: __u32nr_map_ids: __u32map_ids: __u64name: [c_char; 16]ifindex: __u32_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u8>netns_dev: __u64netns_ino: __u64nr_jited_ksyms: __u32nr_jited_func_lens: __u32jited_ksyms: __u64jited_func_lens: __u64btf_id: __u32func_info_rec_size: __u32func_info: __u64nr_func_info: __u32nr_line_info: __u32line_info: __u64jited_line_info: __u64nr_jited_line_info: __u32line_info_rec_size: __u32jited_line_info_rec_size: __u32run_time_ns: __u64run_cnt: __u64Implementations
impl bpf_prog_info[src]
impl bpf_prog_info[src]pub fn gpl_compatible(&self) -> __u32[src]
pub fn set_gpl_compatible(&mut self, val: __u32)[src]
pub fn new_bitfield_1(
gpl_compatible: __u32
) -> __BindgenBitfieldUnit<[u8; 4], u8>[src]
gpl_compatible: __u32
) -> __BindgenBitfieldUnit<[u8; 4], u8>
Trait Implementations
impl Clone for bpf_prog_info[src]
impl Clone for bpf_prog_info[src]fn clone(&self) -> bpf_prog_info[src]
fn clone(&self) -> bpf_prog_info[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for bpf_prog_info[src]
impl Debug for bpf_prog_info[src]impl Default for bpf_prog_info[src]
impl Default for bpf_prog_info[src]fn default() -> bpf_prog_info[src]
fn default() -> bpf_prog_info[src]Returns the “default value” for a type. Read more
impl Copy for bpf_prog_info[src]
Auto Trait Implementations
impl RefUnwindSafe for bpf_prog_info
impl Send for bpf_prog_info
impl Sync for bpf_prog_info
impl Unpin for bpf_prog_info
impl UnwindSafe for bpf_prog_info
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more