2022-08-24 05:00:06 +01:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2023-06-30 17:06:52 +01:00
|
|
|
// TODO(#8502): add support for more architectures
|
|
|
|
//go:build linux && (arm64 || amd64)
|
2022-08-24 05:00:06 +01:00
|
|
|
|
|
|
|
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)),
|
|
|
|
})
|
|
|
|
}
|