Struct libbpf_sys::bpf_xdp_query_opts
source · #[repr(C)]pub struct bpf_xdp_query_opts {
pub sz: size_t,
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; 7],
pub feature_flags: __u64,
pub xdp_zc_max_segs: __u32,
pub __bindgen_padding_1: [u8; 4],
}
Fields§
§sz: size_t
§prog_id: __u32
§drv_prog_id: __u32
§hw_prog_id: __u32
§skb_prog_id: __u32
§attach_mode: __u8
§__bindgen_padding_0: [u8; 7]
§feature_flags: __u64
§xdp_zc_max_segs: __u32
§__bindgen_padding_1: [u8; 4]
Trait Implementations§
source§impl Clone for bpf_xdp_query_opts
impl Clone for bpf_xdp_query_opts
source§fn clone(&self) -> bpf_xdp_query_opts
fn clone(&self) -> bpf_xdp_query_opts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for bpf_xdp_query_opts
impl Debug for bpf_xdp_query_opts
source§impl Default for bpf_xdp_query_opts
impl Default for bpf_xdp_query_opts
source§fn default() -> bpf_xdp_query_opts
fn default() -> bpf_xdp_query_opts
Returns the “default value” for a type. Read more
impl Copy for bpf_xdp_query_opts
Auto Trait Implementations§
impl Freeze for bpf_xdp_query_opts
impl RefUnwindSafe for bpf_xdp_query_opts
impl Send for bpf_xdp_query_opts
impl Sync for bpf_xdp_query_opts
impl Unpin for bpf_xdp_query_opts
impl UnwindSafe for bpf_xdp_query_opts
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more