[][src]Struct nc::bpf_sock_tuple_ipv4_t

#[repr(C)]
pub struct bpf_sock_tuple_ipv4_t {
    pub saddr: be32_t,
    pub daddr: be32_t,
    pub sport: be16_t,
    pub dport: be16_t,
}

Fields

saddr: be32_tdaddr: be32_tsport: be16_tdport: be16_t

Trait Implementations

impl Copy for bpf_sock_tuple_ipv4_t[src]

impl Clone for bpf_sock_tuple_ipv4_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

The type returned in the event of a conversion error.

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.