Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bursty ¶
type Bursty struct {
// contains filtered or unexported fields
}
Bursty traffic generator
type Generator ¶
type Generator interface { // Generate adds incoming packets into given switch buffers // and returns number of generated packets Generate(sw *switches.Switch) int }
Generator represents traffic generator algorithm
type Uniform ¶
type Uniform struct {
// contains filtered or unexported fields
}
Uniform traffic generator
func NewUniform ¶
NewUniform creates uniform traffic generator with load p.
Click to show internal directories.
Click to hide internal directories.