Documentation ¶
Index ¶
Constants ¶
View Source
const Max10GPacketPerSec uint64 = (14880952)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SizeStats ¶
type SizeStats struct { Broadcast uint64 // Number of broadcast packets Multicast uint64 // Number of multicast packets Size64 uint64 // Number of packets with size 64 bytes Size65To127 uint64 // Number of packets with size 65 to 127 bytes Size128To255 uint64 // Number of packets with size 128 to 255 bytes Size256To511 uint64 // Number of packets with size 256 to 511 bytes Size512To1023 uint64 // Number of packets with size 512 to 1023 bytes Size1024To1518 uint64 // Number of packets with size 1024 to 1518 bytes }
type StatsView ¶
type StatsView struct {
// contains filtered or unexported fields
}
func (*StatsView) DisplayStats ¶
func (sv *StatsView) DisplayStats()
func (*StatsView) RxPercentArray ¶
func (*StatsView) TxPercentArray ¶
func (*StatsView) UpdateStats ¶
func (sv *StatsView) UpdateStats()
Click to show internal directories.
Click to hide internal directories.