From 894668206c86802d544612bfe5e1598c871143f2 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Mon, 9 Aug 2021 16:32:58 -0400 Subject: [PATCH] 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 Run-TryBot: Matt Layher TryBot-Result: Go Bot Reviewed-by: Matthew Dempsky --- unix/ztypes_linux_386.go | 10 +++++----- unix/ztypes_linux_amd64.go | 10 +++++----- unix/ztypes_linux_arm.go | 10 +++++----- unix/ztypes_linux_arm64.go | 10 +++++----- unix/ztypes_linux_mips.go | 10 +++++----- unix/ztypes_linux_mips64.go | 10 +++++----- unix/ztypes_linux_mips64le.go | 10 +++++----- unix/ztypes_linux_mipsle.go | 10 +++++----- unix/ztypes_linux_ppc.go | 10 +++++----- unix/ztypes_linux_ppc64.go | 10 +++++----- unix/ztypes_linux_ppc64le.go | 10 +++++----- unix/ztypes_linux_riscv64.go | 10 +++++----- unix/ztypes_linux_s390x.go | 10 +++++----- unix/ztypes_linux_sparc64.go | 10 +++++----- 14 files changed, 70 insertions(+), 70 deletions(-) diff --git a/unix/ztypes_linux_386.go b/unix/ztypes_linux_386.go index f4a435f6..72f2e96f 100644 --- a/unix/ztypes_linux_386.go +++ b/unix/ztypes_linux_386.go @@ -170,6 +170,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [16]byte +} + const ( SizeofSockaddrNFCLLCP = 0x58 SizeofIovec = 0x8 @@ -630,8 +635,3 @@ const ( 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 a8996dae..d5f018d1 100644 --- a/unix/ztypes_linux_amd64.go +++ b/unix/ztypes_linux_amd64.go @@ -173,6 +173,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -648,8 +653,3 @@ const ( 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 e9d9632f..675446d9 100644 --- a/unix/ztypes_linux_arm.go +++ b/unix/ztypes_linux_arm.go @@ -176,6 +176,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [16]byte +} + const ( SizeofSockaddrNFCLLCP = 0x58 SizeofIovec = 0x8 @@ -625,8 +630,3 @@ const ( 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 fbf5270e..711d0711 100644 --- a/unix/ztypes_linux_arm64.go +++ b/unix/ztypes_linux_arm64.go @@ -174,6 +174,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -627,8 +632,3 @@ const ( 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 bc6992f6..c1131c74 100644 --- a/unix/ztypes_linux_mips.go +++ b/unix/ztypes_linux_mips.go @@ -175,6 +175,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [16]byte +} + const ( SizeofSockaddrNFCLLCP = 0x58 SizeofIovec = 0x8 @@ -631,8 +636,3 @@ const ( 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 9163f884..91d5574f 100644 --- a/unix/ztypes_linux_mips64.go +++ b/unix/ztypes_linux_mips64.go @@ -174,6 +174,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -630,8 +635,3 @@ const ( 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 7ab4cba5..5d721497 100644 --- a/unix/ztypes_linux_mips64le.go +++ b/unix/ztypes_linux_mips64le.go @@ -174,6 +174,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -630,8 +635,3 @@ const ( 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 f44f3190..a5addd06 100644 --- a/unix/ztypes_linux_mipsle.go +++ b/unix/ztypes_linux_mipsle.go @@ -175,6 +175,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [16]byte +} + const ( SizeofSockaddrNFCLLCP = 0x58 SizeofIovec = 0x8 @@ -631,8 +636,3 @@ const ( 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 0d586a8d..bb6b03df 100644 --- a/unix/ztypes_linux_ppc.go +++ b/unix/ztypes_linux_ppc.go @@ -176,6 +176,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [16]byte +} + const ( SizeofSockaddrNFCLLCP = 0x58 SizeofIovec = 0x8 @@ -637,8 +642,3 @@ const ( 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 9ed158c3..7637243b 100644 --- a/unix/ztypes_linux_ppc64.go +++ b/unix/ztypes_linux_ppc64.go @@ -175,6 +175,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -637,8 +642,3 @@ const ( 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 7e299ce3..a1a28e52 100644 --- a/unix/ztypes_linux_ppc64le.go +++ b/unix/ztypes_linux_ppc64le.go @@ -175,6 +175,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -637,8 +642,3 @@ const ( 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 60e71be7..e0a8a136 100644 --- a/unix/ztypes_linux_riscv64.go +++ b/unix/ztypes_linux_riscv64.go @@ -174,6 +174,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -655,8 +660,3 @@ const ( 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 351911b7..21d6e56c 100644 --- a/unix/ztypes_linux_s390x.go +++ b/unix/ztypes_linux_s390x.go @@ -173,6 +173,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -651,8 +656,3 @@ const ( 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 7ca16135..0531e98f 100644 --- a/unix/ztypes_linux_sparc64.go +++ b/unix/ztypes_linux_sparc64.go @@ -177,6 +177,11 @@ type Cmsghdr struct { Type int32 } +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + const ( SizeofSockaddrNFCLLCP = 0x60 SizeofIovec = 0x10 @@ -632,8 +637,3 @@ const ( PPS_GETCAP = 0x400870a3 PPS_FETCH = 0xc00870a4 ) - -type ifreq struct { - Ifrn [16]byte - Ifru [24]byte -}