You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/tstun/netstack_enabled.go

23 lines
424 B
Go

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build !ts_omit_netstack
package tstun
import (
"gvisor.dev/gvisor/pkg/tcpip/stack"
)
type (
netstack_PacketBuffer = stack.PacketBuffer
netstack_GSO = stack.GSO
)
const (
netstack_GSONone = stack.GSONone
netstack_GSOTCPv4 = stack.GSOTCPv4
netstack_GSOTCPv6 = stack.GSOTCPv6
netstack_GSOGvisor = stack.GSOGvisor
)