pub struct Net {Show 13 fields
pub collected: bool,
pub source: String,
pub quality: Quality,
pub unix_peers: bool,
pub sockets: Vec<Socket>,
pub gaps: Vec<NetGap>,
pub other_users: u32,
pub listeners: Vec<Listener>,
pub tunnels: Vec<Tunnel>,
pub findings: Vec<NetFinding>,
pub conflicts: Vec<PortConflict>,
pub links: LinkMatrix,
pub clients_connected: BTreeMap<String, u32>,
}Expand description
Network view of a snapshot. sockets/gaps/collected/source/quality/unix_peers come from the
collector; everything else is computed by analyze.
Fields§
§collected: boolA socket source ran (false: no data; everything below is empty and must not be read as “none”).
source: Stringe.g. “proc_pidfdinfo(PROC_PIDFDSOCKETINFO)”, “/proc/
quality: Qualityexact when every process was read this sample; estimate when some come from earlier reads of the
rotation; unavailable(reason) when nothing could be read.
unix_peers: boolUnix-socket peers are determinable on this OS (macOS yes; Linux procfs no).
sockets: Vec<Socket>§gaps: Vec<NetGap>Processes of the current user whose sockets could not be read (other network namespace, exited).
other_users: u32Other users’ processes, whose sockets are not readable without root (not listed in gaps).
listeners: Vec<Listener>§tunnels: Vec<Tunnel>§findings: Vec<NetFinding>§conflicts: Vec<PortConflict>§links: LinkMatrix§clients_connected: BTreeMap<String, u32>Group id → client connections it serves from outside the group (remote, or other local groups).