tailscale.comtailscale.com/util/linuxfw/linuxfwtest Index | Files

package linuxfwtest

import "tailscale.com/util/linuxfw/linuxfwtest"

Package linuxfwtest contains tests for the linuxfw package. Go does not support cgo in tests, and we don't want the main package to have a cgo dependency, so we put all the tests here and call them from the main package in tests intead.

Index

Functions

func TestSizes

func TestSizes(t *testing.T, si *SizeInfo)

Types

type SizeInfo

type SizeInfo struct {
	SizeofSocklen uintptr
}

Source Files

linuxfwtest.go

Version
v1.84.0 (latest)
Published
May 21, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
1 day ago

Tools for package owners.