mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 08:37:31 -04:00
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>
This commit is contained in:
@@ -170,6 +170,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [16]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x58
|
SizeofSockaddrNFCLLCP = 0x58
|
||||||
SizeofIovec = 0x8
|
SizeofIovec = 0x8
|
||||||
@@ -630,8 +635,3 @@ const (
|
|||||||
PPS_GETCAP = 0x800470a3
|
PPS_GETCAP = 0x800470a3
|
||||||
PPS_FETCH = 0xc00470a4
|
PPS_FETCH = 0xc00470a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [16]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -173,6 +173,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -648,8 +653,3 @@ const (
|
|||||||
PPS_GETCAP = 0x800870a3
|
PPS_GETCAP = 0x800870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -176,6 +176,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [16]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x58
|
SizeofSockaddrNFCLLCP = 0x58
|
||||||
SizeofIovec = 0x8
|
SizeofIovec = 0x8
|
||||||
@@ -625,8 +630,3 @@ const (
|
|||||||
PPS_GETCAP = 0x800470a3
|
PPS_GETCAP = 0x800470a3
|
||||||
PPS_FETCH = 0xc00470a4
|
PPS_FETCH = 0xc00470a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [16]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -174,6 +174,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -627,8 +632,3 @@ const (
|
|||||||
PPS_GETCAP = 0x800870a3
|
PPS_GETCAP = 0x800870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -175,6 +175,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [16]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x58
|
SizeofSockaddrNFCLLCP = 0x58
|
||||||
SizeofIovec = 0x8
|
SizeofIovec = 0x8
|
||||||
@@ -631,8 +636,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400470a3
|
PPS_GETCAP = 0x400470a3
|
||||||
PPS_FETCH = 0xc00470a4
|
PPS_FETCH = 0xc00470a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [16]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -174,6 +174,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -630,8 +635,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400870a3
|
PPS_GETCAP = 0x400870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -174,6 +174,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -630,8 +635,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400870a3
|
PPS_GETCAP = 0x400870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -175,6 +175,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [16]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x58
|
SizeofSockaddrNFCLLCP = 0x58
|
||||||
SizeofIovec = 0x8
|
SizeofIovec = 0x8
|
||||||
@@ -631,8 +636,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400470a3
|
PPS_GETCAP = 0x400470a3
|
||||||
PPS_FETCH = 0xc00470a4
|
PPS_FETCH = 0xc00470a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [16]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -176,6 +176,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [16]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x58
|
SizeofSockaddrNFCLLCP = 0x58
|
||||||
SizeofIovec = 0x8
|
SizeofIovec = 0x8
|
||||||
@@ -637,8 +642,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400470a3
|
PPS_GETCAP = 0x400470a3
|
||||||
PPS_FETCH = 0xc00470a4
|
PPS_FETCH = 0xc00470a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [16]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -175,6 +175,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -637,8 +642,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400870a3
|
PPS_GETCAP = 0x400870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -175,6 +175,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -637,8 +642,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400870a3
|
PPS_GETCAP = 0x400870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -174,6 +174,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -655,8 +660,3 @@ const (
|
|||||||
PPS_GETCAP = 0x800870a3
|
PPS_GETCAP = 0x800870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -173,6 +173,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -651,8 +656,3 @@ const (
|
|||||||
PPS_GETCAP = 0x800870a3
|
PPS_GETCAP = 0x800870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -177,6 +177,11 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ifreq struct {
|
||||||
|
Ifrn [16]byte
|
||||||
|
Ifru [24]byte
|
||||||
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SizeofSockaddrNFCLLCP = 0x60
|
SizeofSockaddrNFCLLCP = 0x60
|
||||||
SizeofIovec = 0x10
|
SizeofIovec = 0x10
|
||||||
@@ -632,8 +637,3 @@ const (
|
|||||||
PPS_GETCAP = 0x400870a3
|
PPS_GETCAP = 0x400870a3
|
||||||
PPS_FETCH = 0xc00870a4
|
PPS_FETCH = 0xc00870a4
|
||||||
)
|
)
|
||||||
|
|
||||||
type ifreq struct {
|
|
||||||
Ifrn [16]byte
|
|
||||||
Ifru [24]byte
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user