pub struct FlowSet {Show 21 fields
pub src_addr: Ipv4Addr,
pub dst_addr: Ipv4Addr,
pub next_hop: Ipv4Addr,
pub input: u16,
pub output: u16,
pub d_pkts: u32,
pub d_octets: u32,
pub first: u32,
pub last: u32,
pub src_port: u16,
pub dst_port: u16,
pub pad1: u8,
pub tcp_flags: u8,
pub protocol_number: u8,
pub protocol_type: ProtocolTypes,
pub tos: u8,
pub src_as: u16,
pub dst_as: u16,
pub src_mask: u8,
pub dst_mask: u8,
pub pad2: u16,
}Fields§
§src_addr: Ipv4AddrSource IP address
dst_addr: Ipv4AddrDestination IP address
next_hop: Ipv4AddrIP address of next hop router
input: u16SNMP index of input interface
output: u16SNMP index of output interface
d_pkts: u32Packets in the flow
d_octets: u32Total number of Layer 3 bytes in the packets of the flow
first: u32SysUptime at start of flow
last: u32SysUptime at the time the last packet of the flow was received
src_port: u16TCP/UDP source port number or equivalent
dst_port: u16TCP/UDP destination port number or equivalent
pad1: u8Unused (zero) bytes
tcp_flags: u8Cumulative OR of TCP flags
protocol_number: u8IP protocol type (for example, TCP = 6; UDP = 17)
protocol_type: ProtocolTypes§tos: u8IP type of service (ToS)
src_as: u16Autonomous system number of the source, either origin or peer
dst_as: u16Autonomous system number of the destination, either origin or pee
src_mask: u8Source address prefix mask bits
dst_mask: u8Destination address prefix mask bits
pad2: u16Unused (zero) bytes
Trait Implementations§
impl Eq for FlowSet
impl StructuralPartialEq for FlowSet
Auto Trait Implementations§
impl Freeze for FlowSet
impl RefUnwindSafe for FlowSet
impl Send for FlowSet
impl Sync for FlowSet
impl Unpin for FlowSet
impl UnwindSafe for FlowSet
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