bbr

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

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 GetBBRInfo added in v0.18.0

func GetBBRInfo(fp *os.File) (inetdiag.BBRInfo, error)

GetBBRInfo 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