Struct nc::types::bpf_sock_tuple_ipv4_t
source · #[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_t
§daddr: be32_t
§sport: be16_t
§dport: be16_t
Trait Implementations§
source§impl Clone for bpf_sock_tuple_ipv4_t
impl Clone for bpf_sock_tuple_ipv4_t
source§fn clone(&self) -> bpf_sock_tuple_ipv4_t
fn clone(&self) -> bpf_sock_tuple_ipv4_t
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 moreimpl Copy for bpf_sock_tuple_ipv4_t
Auto Trait Implementations§
impl Freeze for bpf_sock_tuple_ipv4_t
impl RefUnwindSafe for bpf_sock_tuple_ipv4_t
impl Send for bpf_sock_tuple_ipv4_t
impl Sync for bpf_sock_tuple_ipv4_t
impl Unpin for bpf_sock_tuple_ipv4_t
impl UnwindSafe for bpf_sock_tuple_ipv4_t
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