Documentation
¶
Index ¶
- Constants
- type EBPFem
- func (e *EBPFem) BlockLink(source orchestrator.MachineID, target net.IPNet) error
- func (e *EBPFem) Register(id orchestrator.MachineID, netIf string) error
- func (e *EBPFem) SetBandwidth(source orchestrator.MachineID, target net.IPNet, bandwidthKbits uint64) error
- func (e *EBPFem) SetLatency(source orchestrator.MachineID, target net.IPNet, latency uint32) error
- func (e *EBPFem) Stop() error
- func (e *EBPFem) UnblockLink(source orchestrator.MachineID, target net.IPNet) error
Constants ¶
View Source
const ( DEFAULT_LATENCY_US = 0 DEFAULT_BANDWIDTH_KBPS = 1_000_000 BLOCKED_LATENCY_US = 1_000_000_000 BLOCKED_BANDWIDTH_KBPS = 0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EBPFem ¶
func (*EBPFem) SetBandwidth ¶
func (*EBPFem) SetLatency ¶
func (*EBPFem) UnblockLink ¶
Click to show internal directories.
Click to hide internal directories.