pub struct ExtendedSocketIpv6 {
pub protocol: u32,
pub local_ip: Ipv6Addr,
pub remote_ip: Ipv6Addr,
pub local_port: u32,
pub remote_port: u32,
}Expand description
Extended Socket IPv6 - Format (0,2101)
IPv6 socket information for application transactions
§XDR Definition (sFlow Host)
/* IPv6 Socket */
/* opaque = flow_data; enterprise = 0; format = 2101 */
struct extended_socket_ipv6 {
unsigned int protocol; /* IP Protocol type (e.g., TCP = 6, UDP = 17) */
ip_v6 local_ip; /* local IP address */
ip_v6 remote_ip; /* remote IP address */
unsigned int local_port; /* TCP/UDP local port number or equivalent */
unsigned int remote_port; /* TCP/UDP remote port number or equivalent */
}Fields§
§protocol: u32IP Protocol type (e.g., TCP = 6, UDP = 17)
local_ip: Ipv6AddrLocal IP address
remote_ip: Ipv6AddrRemote IP address
local_port: u32TCP/UDP local port number
remote_port: u32TCP/UDP remote port number
Trait Implementations§
Source§impl Clone for ExtendedSocketIpv6
impl Clone for ExtendedSocketIpv6
Source§fn clone(&self) -> ExtendedSocketIpv6
fn clone(&self) -> ExtendedSocketIpv6
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 ExtendedSocketIpv6
impl Debug for ExtendedSocketIpv6
Source§impl PartialEq for ExtendedSocketIpv6
impl PartialEq for ExtendedSocketIpv6
impl Eq for ExtendedSocketIpv6
impl StructuralPartialEq for ExtendedSocketIpv6
Auto Trait Implementations§
impl Freeze for ExtendedSocketIpv6
impl RefUnwindSafe for ExtendedSocketIpv6
impl Send for ExtendedSocketIpv6
impl Sync for ExtendedSocketIpv6
impl Unpin for ExtendedSocketIpv6
impl UnwindSafe for ExtendedSocketIpv6
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