iperf3

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUUtilizationPercent

type CPUUtilizationPercent struct {
	HostTotal    float64 `json:"host_total"`
	HostUser     float64 `json:"host_user"`
	HostSystem   float64 `json:"host_system"`
	RemoteTotal  float64 `json:"remote_total"`
	RemoteUser   float64 `json:"remote_user"`
	RemoteSystem float64 `json:"remote_system"`
}

CPUUtilizationPercent

type ClientResult

type ClientResult struct {
	Start     Start      `json:"start"`
	Intervals []Interval `json:"intervals"`
	End       End        `json:"end"`
}

ClientResult IPerf3 client result output

type ConnectedEntry

type ConnectedEntry struct {
	Socket     int    `json:"socket"`
	LocalHost  string `json:"local_host"`
	LocalPort  int    `json:"local_port"`
	RemoteHost string `json:"remote_host"`
	RemotePort int    `json:"remote_port"`
}

ConnectedEntry

type ConnectingTo

type ConnectingTo struct {
	Host string `json:"host"`
	Port int32  `json:"port"`
}

ConnectingTo

type End

type End struct {
	Streams               []EndStream           `json:"streams"`
	SumSent               SumSent               `json:"sum_sent"`
	SumReceived           SumReceived           `json:"sum_received"`
	CPUUtilizationPercent CPUUtilizationPercent `json:"cpu_utilization_percent"`
	SenderTCPCongestion   string                `json:"sender_tcp_congestion"`
	ReceiverTCPCongestion string                `json:"receiver_tcp_congestion"`
}

End

type EndStream

type EndStream struct {
	Sender   Sender   `json:"sender"`
	Receiver Receiver `json:"receiver"`
}

EndStream

type Interval

type Interval struct {
	Streams []Stream `json:"streams"`
	Sum     Sum      `json:"sum"`
}

Interval

type Receiver

type Receiver struct {
	Socket        int64   `json:"socket"`
	Start         float64 `json:"start"`
	End           float64 `json:"end"`
	Seconds       float64 `json:"seconds"`
	Bytes         int64   `json:"bytes"`
	BitsPerSecond float64 `json:"bits_per_second"`
}

Receiver

type Sender

type Sender struct {
	Socket        int64   `json:"socket"`
	Start         float64 `json:"start"`
	End           float64 `json:"end"`
	Seconds       float64 `json:"seconds"`
	Bytes         int64   `json:"bytes"`
	BitsPerSecond float64 `json:"bits_per_second"`
	Retransmits   int64   `json:"retransmits"`
	MaxSndCwnd    int64   `json:"max_snd_cwnd"`
	MaxRTT        int64   `json:"max_rtt"`
	MinRTT        int64   `json:"min_rtt"`
	MeanRTT       int64   `json:"mean_rtt"`
}

Sender

type Start

type Start struct {
	Connected     []ConnectedEntry `json:"connected"`
	Version       string           `json:"version"`
	SystemInfo    string           `json:"system_info"`
	Timestamp     Timestamp        `json:"timestamp"`
	ConnectingTo  ConnectingTo     `json:"connecting_to"`
	Cookie        string           `json:"cookie"`
	TCPMSSDefault int64            `json:"tcp_mss_default"`
	SockBufsize   int64            `json:"sock_bufsize"`
	SndbufActual  int64            `json:"sndbuf_actual"`
	RcvbufActual  int64            `json:"rcvbuf_actual"`
	TestStart     TestStart        `json:"test_start"`
}

Start

type Stream

type Stream struct {
	Socket        int64   `json:"socket"`
	Start         float64 `json:"start"`
	End           float64 `json:"end"`
	Seconds       float64 `json:"seconds"`
	Bytes         int64   `json:"bytes"`
	BitsPerSecond float64 `json:"bits_per_second"`
	Retransmits   int64   `json:"retransmits"`
	SndCwnd       int64   `json:"snd_cwnd"`
	RTT           int64   `json:"rtt"`
	RTTVar        int64   `json:"rttvar"`
	PMTU          int64   `json:"pmtu"`
	Omitted       bool    `json:"omitted"`
}

Stream

type Sum

type Sum struct {
	Start         float64 `json:"start"`
	End           float64 `json:"end"`
	Seconds       float64 `json:"seconds"`
	Bytes         int64   `json:"bytes"`
	BitsPerSecond float64 `json:"bits_per_second"`
	Retransmits   int64   `json:"retransmits"`
	Omitted       bool    `json:"omitted"`
}

Sum

type SumReceived

type SumReceived struct {
	Start         float64 `json:"start"`
	End           float64 `json:"end"`
	Seconds       float64 `json:"seconds"`
	Bytes         int64   `json:"bytes"`
	BitsPerSecond float64 `json:"bits_per_second"`
}

SumReceived

type SumSent

type SumSent struct {
	Start         float64 `json:"start"`
	End           float64 `json:"end"`
	Seconds       float64 `json:"seconds"`
	Bytes         int64   `json:"bytes"`
	BitsPerSecond float64 `json:"bits_per_second"`
	Retransmits   int64   `json:"retransmits"`
}

SumSent

type TestStart

type TestStart struct {
	Protocol   string `json:"protocol"`
	NumStreams int64  `json:"num_streams"`
	BlkSize    int64  `json:"blksize"`
	Omit       int64  `json:"omit"`
	Duration   int64  `json:"duration"`
	Bytes      int64  `json:"bytes"`
	Blocks     int64  `json:"blocks"`
	Reverse    int64  `json:"reverse"`
	Tos        int64  `json:"tos"`
}

TestStart

type Timestamp

type Timestamp struct {
	Time     string `json:"time"`
	Timesecs int64  `json:"timesecs"`
}

Timestamp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL