Struct nc::types::bpf_sock_tuple_ipv6_t
source · #[repr(C)]pub struct bpf_sock_tuple_ipv6_t {
pub saddr: [be32_t; 4],
pub daddr: [be32_t; 4],
pub sport: be16_t,
pub dport: be16_t,
}
Fields§
§saddr: [be32_t; 4]
§daddr: [be32_t; 4]
§sport: be16_t
§dport: be16_t
Trait Implementations§
source§impl Clone for bpf_sock_tuple_ipv6_t
impl Clone for bpf_sock_tuple_ipv6_t
source§fn clone(&self) -> bpf_sock_tuple_ipv6_t
fn clone(&self) -> bpf_sock_tuple_ipv6_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_ipv6_t
Auto Trait Implementations§
impl Freeze for bpf_sock_tuple_ipv6_t
impl RefUnwindSafe for bpf_sock_tuple_ipv6_t
impl Send for bpf_sock_tuple_ipv6_t
impl Sync for bpf_sock_tuple_ipv6_t
impl Unpin for bpf_sock_tuple_ipv6_t
impl UnwindSafe for bpf_sock_tuple_ipv6_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