package
0.0.0-20250304000100-91a0587fb251
Repository: https://github.com/tailscale/wireguard-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Checksum computes an IP checksum starting with the provided initial value.
CreateTUN creates a Device with the provided name and MTU.
CreateTUNFromFile creates a Device from an os.File with the provided MTU.
CreateUnmonitoredTUNFromFD creates a Device from the provided file descriptor.
GSOSplit splits packets from 'in' into outBufs[<index>][outOffset:], writing the size of each element into sizes.
PseudoHeaderChecksum computes an IP pseudo-header checksum.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrTooManySegments is returned by Device.Read() when segmentation overflows the length of supplied buffers.

# Structs

GSOOptions is loosely modeled after struct virtio_net_hdr from the VIRTIO specification.
No description provided by the author

# Interfaces

No description provided by the author
GRODevice is a Device extended with methods for disabling GRO.

# Type aliases

No description provided by the author
GSOType represents the type of segmentation offload.