bufsize

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WGBufferOverhead represents the additional buffer space needed beyond MTU
	// for WireGuard packet encapsulation (WG header + UDP + IP + safety margin)
	// Original hardcoded buffers were 1500, default MTU is 1280, so overhead = 220
	// TODO: Calculate this properly based on actual protocol overhead instead of using hardcoded difference
	WGBufferOverhead = 220
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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