summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tcpip/link')
-rw-r--r--pkg/tcpip/link/fdbased/fdbased_state_autogen.go1
-rw-r--r--pkg/tcpip/link/fdbased/fdbased_unsafe_state_autogen.go1
-rw-r--r--pkg/tcpip/link/rawfile/rawfile_state_autogen.go1
-rw-r--r--pkg/tcpip/link/rawfile/rawfile_unsafe_state_autogen.go5
-rw-r--r--pkg/tcpip/link/sharedmem/sharedmem_state_autogen.go4
-rw-r--r--pkg/tcpip/link/tun/tun_unsafe_state_autogen.go1
6 files changed, 10 insertions, 3 deletions
diff --git a/pkg/tcpip/link/fdbased/fdbased_state_autogen.go b/pkg/tcpip/link/fdbased/fdbased_state_autogen.go
index b84e8f21c..586f166a4 100644
--- a/pkg/tcpip/link/fdbased/fdbased_state_autogen.go
+++ b/pkg/tcpip/link/fdbased/fdbased_state_autogen.go
@@ -1,5 +1,6 @@
// automatically generated by stateify.
+//go:build linux && ((linux && amd64) || (linux && arm64)) && (!linux || (!amd64 && !arm64)) && linux
// +build linux
// +build linux,amd64 linux,arm64
// +build !linux !amd64,!arm64
diff --git a/pkg/tcpip/link/fdbased/fdbased_unsafe_state_autogen.go b/pkg/tcpip/link/fdbased/fdbased_unsafe_state_autogen.go
index e2ed505b2..6a5ed4a3c 100644
--- a/pkg/tcpip/link/fdbased/fdbased_unsafe_state_autogen.go
+++ b/pkg/tcpip/link/fdbased/fdbased_unsafe_state_autogen.go
@@ -1,5 +1,6 @@
// automatically generated by stateify.
+//go:build linux && ((linux && amd64) || (linux && arm64))
// +build linux
// +build linux,amd64 linux,arm64
diff --git a/pkg/tcpip/link/rawfile/rawfile_state_autogen.go b/pkg/tcpip/link/rawfile/rawfile_state_autogen.go
index 338e9679b..00708246f 100644
--- a/pkg/tcpip/link/rawfile/rawfile_state_autogen.go
+++ b/pkg/tcpip/link/rawfile/rawfile_state_autogen.go
@@ -1,5 +1,6 @@
// automatically generated by stateify.
+//go:build linux
// +build linux
package rawfile
diff --git a/pkg/tcpip/link/rawfile/rawfile_unsafe_state_autogen.go b/pkg/tcpip/link/rawfile/rawfile_unsafe_state_autogen.go
index f5eace013..cc9eea2a0 100644
--- a/pkg/tcpip/link/rawfile/rawfile_unsafe_state_autogen.go
+++ b/pkg/tcpip/link/rawfile/rawfile_unsafe_state_autogen.go
@@ -1,6 +1,9 @@
// automatically generated by stateify.
-// +build linux,!amd64,!arm64
+//go:build linux && !amd64 && !arm64 && ((linux && amd64) || (linux && arm64)) && go1.12 && !go1.18 && linux
+// +build linux
+// +build !amd64
+// +build !arm64
// +build linux,amd64 linux,arm64
// +build go1.12
// +build !go1.18
diff --git a/pkg/tcpip/link/sharedmem/sharedmem_state_autogen.go b/pkg/tcpip/link/sharedmem/sharedmem_state_autogen.go
index bc12017b2..86551c9f5 100644
--- a/pkg/tcpip/link/sharedmem/sharedmem_state_autogen.go
+++ b/pkg/tcpip/link/sharedmem/sharedmem_state_autogen.go
@@ -1,6 +1,6 @@
// automatically generated by stateify.
-// +build linux
-// +build linux
+//go:build linux && linux
+// +build linux,linux
package sharedmem
diff --git a/pkg/tcpip/link/tun/tun_unsafe_state_autogen.go b/pkg/tcpip/link/tun/tun_unsafe_state_autogen.go
index 149299ea3..8d82ad324 100644
--- a/pkg/tcpip/link/tun/tun_unsafe_state_autogen.go
+++ b/pkg/tcpip/link/tun/tun_unsafe_state_autogen.go
@@ -1,5 +1,6 @@
// automatically generated by stateify.
+//go:build linux
// +build linux
package tun