Versions in this module Expand all Collapse all v0 v0.22.0 Aug 3, 2026 v0.21.0 Jul 30, 2026 Changes in this version + const InitStrEnv + var ForwarderInstaller func(s *Stack, init *InitStr) — linux/amd64 + func HasDefaultRouteForTest(s *Stack, family, nicName string) bool — linux/amd64 + func InitForTest(s *Stack, encodedInitStr string) error — linux/amd64 + func NICAddressesForTest(s *Stack, name string) []string — linux/amd64 + func NICNamesForTest(s *Stack) []string — linux/amd64 + func ParseMAC(s string) (tcpip.LinkAddress, error) — linux/amd64 + func ParsePrefixed(s string, prefix, want int) (tcpip.Address, int, error) — linux/amd64 + func PreInitForTest(s *Stack, pid int) (string, error) — linux/amd64 + func SingletonRegisteredForTest() bool — linux/amd64 + type InitStr struct + ControlForwardAddr string + ControlHostAddr string + DNSResolvers []string + EgressHostAddr string + Eth0MAC string + Eth0MTU uint32 + Eth0V4 string + Eth0V4PrefixLen int + Eth0V6 string + Eth0V6PrefixLen int + GatewayV4 string + GatewayV6 string + IMDSHostAddr string + IMDSV4 string + IMDSV6 string + InboundFDIndex int + InboundListenAddr string + SandboxID string + Version int + func DecodeInitStr(s string) (*InitStr, error) + func (s *InitStr) Encode() (string, error) + type Stack struct — linux/amd64 + func NewForTest() *Stack + func Singleton() *Stack + func (s *Stack) Init(args *plugin.InitStackArgs) error + func (s *Stack) PreInit(args *plugin.PreInitStackArgs) (string, []int, error) + func (s *Stack) TCPIPStack() *stack.Stack