Documentation ¶
Overview ¶
Package kist implements the link capacity estimation algorithm from "Never Been KIST: Tor’s Congestion Management Blossoms with Kernel-Informed Socket Transport".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateWriteCapacity ¶
EstimateWriteCapacity attempts to figure out how much can be written to a given os.File without blocking. It is assumed that the os.File is actually a TCP socket (since the algorithm queries TCP_INFO), but since the Go runtime doesn't deem users worthy to get at the raw file descriptor, an os.File is used instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.