pub struct NetnsOffsets {
pub skb_sk: u32,
pub sk_net: u32,
pub net_inum: u32,
}Expand description
Where the probes find a request’s network namespace (crate docs,
“Namespaces”): skb->sk, sk->__sk_common.skc_net.net, and
net->ns.inum.
Fields§
§skb_sk: u32§sk_net: u32§net_inum: u32Implementations§
Source§impl NetnsOffsets
impl NetnsOffsets
Trait Implementations§
Source§impl Clone for NetnsOffsets
impl Clone for NetnsOffsets
Source§fn clone(&self) -> NetnsOffsets
fn clone(&self) -> NetnsOffsets
Returns a duplicate 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 NetnsOffsets
impl Debug for NetnsOffsets
Source§impl PartialEq for NetnsOffsets
impl PartialEq for NetnsOffsets
impl Copy for NetnsOffsets
impl Eq for NetnsOffsets
impl StructuralPartialEq for NetnsOffsets
Auto Trait Implementations§
impl Freeze for NetnsOffsets
impl RefUnwindSafe for NetnsOffsets
impl Send for NetnsOffsets
impl Sync for NetnsOffsets
impl Unpin for NetnsOffsets
impl UnsafeUnpin for NetnsOffsets
impl UnwindSafe for NetnsOffsets
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