unix: run Linux code generator to tidy ifreq code
I moved the ifreq type declaration and forgot to re-run the generator before
submitting CL 340369.
Change-Id: I0486001b005a4adbc729a6bd18a4d436074f5a2d
Reviewed-on: https://go-review.googlesource.com/c/sys/+/340917
Trust: Matt Layher <mdlayher@gmail.com>
Run-TryBot: Matt Layher <mdlayher@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
diff --git a/unix/ztypes_linux_386.go b/unix/ztypes_linux_386.go
index f4a435f..72f2e96 100644
--- a/unix/ztypes_linux_386.go
+++ b/unix/ztypes_linux_386.go
@@ -170,6 +170,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [16]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x58
SizeofIovec = 0x8
@@ -630,8 +635,3 @@
PPS_GETCAP = 0x800470a3
PPS_FETCH = 0xc00470a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [16]byte
-}
diff --git a/unix/ztypes_linux_amd64.go b/unix/ztypes_linux_amd64.go
index a8996da..d5f018d 100644
--- a/unix/ztypes_linux_amd64.go
+++ b/unix/ztypes_linux_amd64.go
@@ -173,6 +173,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -648,8 +653,3 @@
PPS_GETCAP = 0x800870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_arm.go b/unix/ztypes_linux_arm.go
index e9d9632..675446d 100644
--- a/unix/ztypes_linux_arm.go
+++ b/unix/ztypes_linux_arm.go
@@ -176,6 +176,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [16]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x58
SizeofIovec = 0x8
@@ -625,8 +630,3 @@
PPS_GETCAP = 0x800470a3
PPS_FETCH = 0xc00470a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [16]byte
-}
diff --git a/unix/ztypes_linux_arm64.go b/unix/ztypes_linux_arm64.go
index fbf5270..711d071 100644
--- a/unix/ztypes_linux_arm64.go
+++ b/unix/ztypes_linux_arm64.go
@@ -174,6 +174,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -627,8 +632,3 @@
PPS_GETCAP = 0x800870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_mips.go b/unix/ztypes_linux_mips.go
index bc6992f..c1131c7 100644
--- a/unix/ztypes_linux_mips.go
+++ b/unix/ztypes_linux_mips.go
@@ -175,6 +175,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [16]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x58
SizeofIovec = 0x8
@@ -631,8 +636,3 @@
PPS_GETCAP = 0x400470a3
PPS_FETCH = 0xc00470a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [16]byte
-}
diff --git a/unix/ztypes_linux_mips64.go b/unix/ztypes_linux_mips64.go
index 9163f88..91d5574 100644
--- a/unix/ztypes_linux_mips64.go
+++ b/unix/ztypes_linux_mips64.go
@@ -174,6 +174,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -630,8 +635,3 @@
PPS_GETCAP = 0x400870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_mips64le.go b/unix/ztypes_linux_mips64le.go
index 7ab4cba..5d72149 100644
--- a/unix/ztypes_linux_mips64le.go
+++ b/unix/ztypes_linux_mips64le.go
@@ -174,6 +174,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -630,8 +635,3 @@
PPS_GETCAP = 0x400870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_mipsle.go b/unix/ztypes_linux_mipsle.go
index f44f319..a5addd0 100644
--- a/unix/ztypes_linux_mipsle.go
+++ b/unix/ztypes_linux_mipsle.go
@@ -175,6 +175,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [16]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x58
SizeofIovec = 0x8
@@ -631,8 +636,3 @@
PPS_GETCAP = 0x400470a3
PPS_FETCH = 0xc00470a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [16]byte
-}
diff --git a/unix/ztypes_linux_ppc.go b/unix/ztypes_linux_ppc.go
index 0d586a8..bb6b03d 100644
--- a/unix/ztypes_linux_ppc.go
+++ b/unix/ztypes_linux_ppc.go
@@ -176,6 +176,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [16]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x58
SizeofIovec = 0x8
@@ -637,8 +642,3 @@
PPS_GETCAP = 0x400470a3
PPS_FETCH = 0xc00470a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [16]byte
-}
diff --git a/unix/ztypes_linux_ppc64.go b/unix/ztypes_linux_ppc64.go
index 9ed158c..7637243 100644
--- a/unix/ztypes_linux_ppc64.go
+++ b/unix/ztypes_linux_ppc64.go
@@ -175,6 +175,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -637,8 +642,3 @@
PPS_GETCAP = 0x400870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_ppc64le.go b/unix/ztypes_linux_ppc64le.go
index 7e299ce..a1a28e5 100644
--- a/unix/ztypes_linux_ppc64le.go
+++ b/unix/ztypes_linux_ppc64le.go
@@ -175,6 +175,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -637,8 +642,3 @@
PPS_GETCAP = 0x400870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_riscv64.go b/unix/ztypes_linux_riscv64.go
index 60e71be..e0a8a13 100644
--- a/unix/ztypes_linux_riscv64.go
+++ b/unix/ztypes_linux_riscv64.go
@@ -174,6 +174,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -655,8 +660,3 @@
PPS_GETCAP = 0x800870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_s390x.go b/unix/ztypes_linux_s390x.go
index 351911b..21d6e56 100644
--- a/unix/ztypes_linux_s390x.go
+++ b/unix/ztypes_linux_s390x.go
@@ -173,6 +173,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -651,8 +656,3 @@
PPS_GETCAP = 0x800870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}
diff --git a/unix/ztypes_linux_sparc64.go b/unix/ztypes_linux_sparc64.go
index 7ca1613..0531e98 100644
--- a/unix/ztypes_linux_sparc64.go
+++ b/unix/ztypes_linux_sparc64.go
@@ -177,6 +177,11 @@
Type int32
}
+type ifreq struct {
+ Ifrn [16]byte
+ Ifru [24]byte
+}
+
const (
SizeofSockaddrNFCLLCP = 0x60
SizeofIovec = 0x10
@@ -632,8 +637,3 @@
PPS_GETCAP = 0x400870a3
PPS_FETCH = 0xc00870a4
)
-
-type ifreq struct {
- Ifrn [16]byte
- Ifru [24]byte
-}