package monitor // Test-only accessors exposing unexported state for white-box assertions. // ReachabilityHosts returns the configured reachability hosts. func (m *Monitor) ReachabilityHosts() []string { return m.reachabilityHosts } // PacketLossHosts returns the configured packet-loss hosts. func (m *Monitor) PacketLossHosts() []string { return m.packetLossHosts } // TCPHosts returns the configured TCP hosts. func (m *Monitor) TCPHosts() []string { return m.tcpHosts } // Interfaces returns the monitored interfaces. func (m *Monitor) Interfaces() []*InterfaceStatus { return m.interfaces } // PingArgs exposes pingArgs for external tests. func PingArgs(goos, iface, host string) []string { return pingArgs(goos, iface, host) } // LossArgs exposes lossArgs for external tests. func LossArgs(goos, iface, host string, count int) []string { return lossArgs(goos, iface, host, count) }