You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
395 B
20 lines
395 B
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// TODO(#8502): add support for more architectures
|
|
//go:build linux && (arm64 || amd64)
|
|
|
|
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)),
|
|
})
|
|
}
|
|
|