Struct libbpf_sys::xsk_socket_config
source · [−]#[repr(C)]pub struct xsk_socket_config {
pub rx_size: __u32,
pub tx_size: __u32,
pub libbpf_flags: __u32,
pub xdp_flags: __u32,
pub bind_flags: __u16,
pub __bindgen_padding_0: [u8; 2],
}
Fields
rx_size: __u32
tx_size: __u32
libbpf_flags: __u32
xdp_flags: __u32
bind_flags: __u16
__bindgen_padding_0: [u8; 2]
Trait Implementations
sourceimpl Clone for xsk_socket_config
impl Clone for xsk_socket_config
sourcefn clone(&self) -> xsk_socket_config
fn clone(&self) -> xsk_socket_config
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 xsk_socket_config
impl Debug for xsk_socket_config
sourceimpl Default for xsk_socket_config
impl Default for xsk_socket_config
sourcefn default() -> xsk_socket_config
fn default() -> xsk_socket_config
Returns the “default value” for a type. Read more
impl Copy for xsk_socket_config
Auto Trait Implementations
impl RefUnwindSafe for xsk_socket_config
impl Send for xsk_socket_config
impl Sync for xsk_socket_config
impl Unpin for xsk_socket_config
impl UnwindSafe for xsk_socket_config
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