mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
20 lines
345 B
Go
20 lines
345 B
Go
![]() |
// Copyright (c) Tailscale Inc & AUTHORS
|
||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
//go:build linux && !(386 || loong64)
|
||
|
|
||
|
package linuxfw
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
"unsafe"
|
||
|
|
||
|
"tailscale.com/util/linuxfw/linuxfwtest"
|
||
|
)
|
||
|
|
||
|
func TestSizes(t *testing.T) {
|
||
|
linuxfwtest.TestSizes(t, &linuxfwtest.SizeInfo{
|
||
|
SizeofSocklen: unsafe.Sizeof(sockLen(0)),
|
||
|
})
|
||
|
}
|