bbr

package
v0.13.7 Latest Latest
Warning

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

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

Documentation

Overview

Package bbr contains code required to read BBR variables of a net.Conn on which we're serving a WebSocket client. This code currently only works on Linux systems, as BBR is only available there.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoSupport = errors.New("TCP_CC_INFO not supported")

ErrNoSupport indicates that this system does not support BBR.

Functions

func Enable

func Enable(fp *os.File) error

Enable enables BBR on |fp|.

func GetMaxBandwidthAndMinRTT

func GetMaxBandwidthAndMinRTT(fp *os.File) (model.BBRInfo, error)

GetMaxBandwidthAndMinRTT obtains BBR info from |fp|.

Types

This section is empty.

Jump to

Keyboard shortcuts

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