Struct libbpf_sys::xdp_link_info
source · [−]#[repr(C)]pub struct xdp_link_info {
pub prog_id: __u32,
pub drv_prog_id: __u32,
pub hw_prog_id: __u32,
pub skb_prog_id: __u32,
pub attach_mode: __u8,
pub __bindgen_padding_0: [u8; 3],
}
Fields
prog_id: __u32
drv_prog_id: __u32
hw_prog_id: __u32
skb_prog_id: __u32
attach_mode: __u8
__bindgen_padding_0: [u8; 3]
Trait Implementations
sourceimpl Clone for xdp_link_info
impl Clone for xdp_link_info
sourcefn clone(&self) -> xdp_link_info
fn clone(&self) -> xdp_link_info
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 xdp_link_info
impl Debug for xdp_link_info
sourceimpl Default for xdp_link_info
impl Default for xdp_link_info
sourcefn default() -> xdp_link_info
fn default() -> xdp_link_info
Returns the “default value” for a type. Read more
impl Copy for xdp_link_info
Auto Trait Implementations
impl RefUnwindSafe for xdp_link_info
impl Send for xdp_link_info
impl Sync for xdp_link_info
impl Unpin for xdp_link_info
impl UnwindSafe for xdp_link_info
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