[][src]Struct bcc_sys::bccapi::bpf_prog_info

#[repr(C)]
pub struct bpf_prog_info { 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; 1], 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, }

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; 1], u8>netns_dev: __u64netns_ino: __u64nr_jited_ksyms: __u32nr_jited_func_lens: __u32jited_ksyms: __u64jited_func_lens: __u64

Methods

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; 1], u8>
[src]

Trait Implementations

impl Default for bpf_prog_info[src]

impl Clone for bpf_prog_info[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for bpf_prog_info[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Eq for bpf_prog_info[src]

impl Copy for bpf_prog_info[src]

impl PartialOrd<bpf_prog_info> for bpf_prog_info[src]

impl PartialEq<bpf_prog_info> for bpf_prog_info[src]

impl Hash for bpf_prog_info[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for bpf_prog_info[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.