aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/syscall_descriptions_syntax.md6
-rw-r--r--executor/defs.h12
-rw-r--r--pkg/ast/ast.go9
-rw-r--r--pkg/ast/clone.go2
-rw-r--r--pkg/ast/format.go15
-rw-r--r--pkg/ast/parser.go19
-rw-r--r--pkg/ast/scanner.go59
-rw-r--r--pkg/ast/testdata/all.txt7
-rw-r--r--pkg/compiler/testdata/all.txt3
-rw-r--r--pkg/compiler/testdata/errors2.txt1
-rw-r--r--pkg/compiler/types.go21
-rw-r--r--sys/linux/gen/386.go28
-rw-r--r--sys/linux/gen/amd64.go28
-rw-r--r--sys/linux/gen/arm.go28
-rw-r--r--sys/linux/gen/arm64.go28
-rw-r--r--sys/linux/gen/mips64le.go28
-rw-r--r--sys/linux/gen/ppc64le.go28
-rw-r--r--sys/linux/socket_netlink_generic_wireguard.txt18
18 files changed, 180 insertions, 160 deletions
diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md
index 43374d4dd..7ae2a14ef 100644
--- a/docs/syscall_descriptions_syntax.md
+++ b/docs/syscall_descriptions_syntax.md
@@ -35,14 +35,12 @@ rest of the type-options are type-specific:
direction (in/out/inout); type of the object
ptr64 has size of 8 bytes regardless of target pointer size
"string": a zero-terminated memory buffer (no pointer indirection implied), type-options:
- either a string value in quotes for constant strings (e.g. "foo"),
+ either a string value in quotes for constant strings (e.g. "foo" or `deadbeef` for hex literal),
or a reference to string flags (special value `filename` produces file names),
optionally followed by a buffer size (string values will be padded with \x00 to that size)
"stringnoz": a non-zero-terminated memory buffer (no pointer indirection implied), type-options:
- either a string value in quotes for constant strings (e.g. "foo"),
+ either a string value in quotes for constant strings (e.g. "foo" or `deadbeef` for hex literal),
or a reference to string flags,
-"stringnozescapes": same as "stringnoz", except escape sequences are respected, in order to have
- binary strings such as "\x12\x34\x56".
"fmt": a string representation of an integer (not zero-terminated), type-options:
format (one of "dec", "hex", "oct") and the value (a resource, int, flags, const or proc)
the resulting data is always fixed-size (formatted as "%020llu", "0x%016llx" or "%023llo", respectively)
diff --git a/executor/defs.h b/executor/defs.h
index 298f86bf9..2fecf91d1 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -70,7 +70,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "2c9166c4319f7dfee95dda2a8c1b6b767220c474"
+#define SYZ_REVISION "56678b79e4057235cf9cdf2154dbdb3c7344b505"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "6673206757c83574064c26c47b47302a3fe2908f"
+#define SYZ_REVISION "5abe030c28213a0f6e256ea83e3a72f176332745"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@
#if GOARCH_arm
#define GOARCH "arm"
-#define SYZ_REVISION "67bba5acf8c94735bf013cc9f21ccd3c5fc216f5"
+#define SYZ_REVISION "da12893c663eea7840c04b6e91ab7d002f7a3c8a"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "dee043a3b3f6196780285614c5a9b72e918a81fa"
+#define SYZ_REVISION "6086f6f353a21ab375b1a8c6b219e200e8f58a84"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -110,7 +110,7 @@
#if GOARCH_mips64le
#define GOARCH "mips64le"
-#define SYZ_REVISION "f1cb4e880805aaf2524d2610efdc60f7ab59000d"
+#define SYZ_REVISION "9b9002bc4f823c80760d41d0852e00fd90666fc6"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -120,7 +120,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
-#define SYZ_REVISION "7a91b227742864c849b6cf57c449685a689af481"
+#define SYZ_REVISION "7a5d43c75dcc4537aed13ba7b3c920c33d38f89c"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
diff --git a/pkg/ast/ast.go b/pkg/ast/ast.go
index 13ff2b40e..f1f74e61b 100644
--- a/pkg/ast/ast.go
+++ b/pkg/ast/ast.go
@@ -163,6 +163,7 @@ func (n *Ident) Info() (Pos, string, string) {
type String struct {
Pos Pos
Value string
+ Fmt StrFmt
}
func (n *String) Info() (Pos, string, string) {
@@ -178,6 +179,13 @@ const (
IntFmtChar
)
+type StrFmt int
+
+const (
+ StrFmtRaw StrFmt = iota
+ StrFmtHex
+)
+
type Int struct {
Pos Pos
// Only one of Value, Ident, CExpr is filled.
@@ -198,6 +206,7 @@ type Type struct {
ValueFmt IntFmt
Ident string
String string
+ StringFmt StrFmt
HasString bool
// Parts after COLON (for ranges and bitfields).
Colon []*Type
diff --git a/pkg/ast/clone.go b/pkg/ast/clone.go
index a594e41f6..54bf8250c 100644
--- a/pkg/ast/clone.go
+++ b/pkg/ast/clone.go
@@ -134,6 +134,7 @@ func (n *String) Clone() Node {
return &String{
Pos: n.Pos,
Value: n.Value,
+ Fmt: n.Fmt,
}
}
@@ -154,6 +155,7 @@ func (n *Type) Clone() Node {
ValueFmt: n.ValueFmt,
Ident: n.Ident,
String: n.String,
+ StringFmt: n.StringFmt,
HasString: n.HasString,
Colon: cloneTypes(n.Colon),
Args: cloneTypes(n.Args),
diff --git a/pkg/ast/format.go b/pkg/ast/format.go
index c3d931706..a2ead06f2 100644
--- a/pkg/ast/format.go
+++ b/pkg/ast/format.go
@@ -50,6 +50,17 @@ func FormatInt(v uint64, format IntFmt) string {
}
}
+func FormatStr(v string, format StrFmt) string {
+ switch format {
+ case StrFmtRaw:
+ return fmt.Sprintf(`"%v"`, v)
+ case StrFmtHex:
+ return fmt.Sprintf("`%x`", v)
+ default:
+ panic(fmt.Sprintf("unknown str format %v", format))
+ }
+}
+
type serializer interface {
serialize(w io.Writer)
}
@@ -153,7 +164,7 @@ func (flags *IntFlags) serialize(w io.Writer) {
func (flags *StrFlags) serialize(w io.Writer) {
fmt.Fprintf(w, "%v = ", flags.Name.Name)
for i, v := range flags.Values {
- fmt.Fprintf(w, "%v\"%v\"", comma(i, ""), v.Value)
+ fmt.Fprintf(w, "%v%v", comma(i, ""), FormatStr(v.Value, v.Fmt))
}
fmt.Fprintf(w, "\n")
}
@@ -172,7 +183,7 @@ func fmtType(t *Type) string {
case t.Ident != "":
v = t.Ident
case t.HasString:
- v = fmt.Sprintf("\"%v\"", t.String)
+ v = FormatStr(t.String, t.StringFmt)
default:
v = FormatInt(t.Value, t.ValueFmt)
}
diff --git a/pkg/ast/parser.go b/pkg/ast/parser.go
index b8d22fd88..7b46f6611 100644
--- a/pkg/ast/parser.go
+++ b/pkg/ast/parser.go
@@ -314,7 +314,7 @@ func (p *parser) parseFlags(name *Ident) Node {
switch p.tok {
case tokInt, tokIdent:
return p.parseIntFlags(name)
- case tokString:
+ case tokString, tokStringHex:
return p.parseStrFlags(name)
default:
p.expect(tokInt, tokIdent, tokString)
@@ -417,9 +417,10 @@ func (p *parser) parseType() *Type {
case tokIdent:
allowColon = true
arg.Ident = p.lit
- case tokString:
+ case tokString, tokStringHex:
arg.String = p.lit
arg.HasString = true
+ arg.StringFmt = strTokToFmt(p.tok)
default:
p.expect(tokInt, tokIdent, tokString)
}
@@ -468,15 +469,27 @@ func (p *parser) parseIdent() *Ident {
}
func (p *parser) parseString() *String {
- p.expect(tokString)
+ p.expect(tokString, tokStringHex)
str := &String{
Pos: p.pos,
Value: p.lit,
+ Fmt: strTokToFmt(p.tok),
}
p.next()
return str
}
+func strTokToFmt(tok token) StrFmt {
+ switch tok {
+ case tokString:
+ return StrFmtRaw
+ case tokStringHex:
+ return StrFmtHex
+ default:
+ panic("bad string token")
+ }
+}
+
func (p *parser) parseInt() *Int {
i := &Int{
Pos: p.pos,
diff --git a/pkg/ast/scanner.go b/pkg/ast/scanner.go
index a9448b34f..3a6ba9d98 100644
--- a/pkg/ast/scanner.go
+++ b/pkg/ast/scanner.go
@@ -4,6 +4,7 @@
package ast
import (
+ "encoding/hex"
"fmt"
"os"
"strconv"
@@ -20,6 +21,7 @@ const (
tokDefine
tokResource
tokString
+ tokStringHex
tokCExpr
tokInt
@@ -51,18 +53,19 @@ var punctuation = [256]token{
}
var tok2str = [...]string{
- tokIllegal: "ILLEGAL",
- tokComment: "comment",
- tokIdent: "identifier",
- tokInclude: "include",
- tokIncdir: "incdir",
- tokDefine: "define",
- tokResource: "resource",
- tokString: "string",
- tokCExpr: "CEXPR",
- tokInt: "int",
- tokNewLine: "NEWLINE",
- tokEOF: "EOF",
+ tokIllegal: "ILLEGAL",
+ tokComment: "comment",
+ tokIdent: "identifier",
+ tokInclude: "include",
+ tokIncdir: "incdir",
+ tokDefine: "define",
+ tokResource: "resource",
+ tokString: "string",
+ tokStringHex: "hex string",
+ tokCExpr: "CEXPR",
+ tokInt: "int",
+ tokNewLine: "NEWLINE",
+ tokEOF: "EOF",
}
func init() {
@@ -132,12 +135,7 @@ func (s *scanner) Scan() (tok token, lit string, pos Pos) {
case s.ch == 0:
tok = tokEOF
s.next()
- case s.ch == '`':
- tok = tokCExpr
- lit = s.scanCExpr(pos)
case s.prev2 == tokDefine && s.prev1 == tokIdent:
- // Note: the old form for C expressions, not really lexable.
- // TODO(dvyukov): get rid of this eventually.
tok = tokCExpr
for ; s.ch != '\n'; s.next() {
}
@@ -150,6 +148,9 @@ func (s *scanner) Scan() (tok token, lit string, pos Pos) {
case s.ch == '"' || s.ch == '<':
tok = tokString
lit = s.scanStr(pos)
+ case s.ch == '`':
+ tok = tokStringHex
+ lit = s.scanStr(pos)
case s.ch >= '0' && s.ch <= '9' || s.ch == '-':
tok = tokInt
lit = s.scanInt(pos)
@@ -170,21 +171,9 @@ func (s *scanner) Scan() (tok token, lit string, pos Pos) {
return
}
-func (s *scanner) scanCExpr(pos Pos) string {
- for s.next(); s.ch != '`' && s.ch != '\n'; s.next() {
- }
- if s.ch == '\n' {
- s.Error(pos, "C expression is not terminated")
- return ""
- }
- lit := string(s.data[pos.Off+1 : s.off])
- s.next()
- return lit
-}
-
func (s *scanner) scanStr(pos Pos) string {
// TODO(dvyukov): get rid of <...> strings, that's only includes
- closing := byte('"')
+ closing := s.ch
if s.ch == '<' {
closing = '>'
}
@@ -196,7 +185,6 @@ func (s *scanner) scanStr(pos Pos) string {
}
lit := string(s.data[pos.Off+1 : s.off])
for i := 0; i < len(lit); i++ {
- //lit[i]
if lit[i] < 0x20 || lit[i] >= 0x80 {
pos1 := pos
pos1.Col += i + 1
@@ -206,7 +194,14 @@ func (s *scanner) scanStr(pos Pos) string {
}
}
s.next()
- return lit
+ if closing != '`' {
+ return lit
+ }
+ decoded, err := hex.DecodeString(lit)
+ if err != nil {
+ s.Error(pos, "bad hex string literal: %v", err)
+ }
+ return string(decoded)
}
func (s *scanner) scanInt(pos Pos) string {
diff --git a/pkg/ast/testdata/all.txt b/pkg/ast/testdata/all.txt
index 392796254..122fa514b 100644
--- a/pkg/ast/testdata/all.txt
+++ b/pkg/ast/testdata/all.txt
@@ -17,15 +17,14 @@ int_flags4 = 1, -2- ### bad integer "-2-"
str_flags0 = "foo", "bar"
str_flags1 = "non terminated ### string literal is not terminated
str_flags2 = "bad chars здесь" ### illegal character U+00D0 'Ð' in string literal
-str_flags3 = "string", not a string ### unexpected identifier, expecting string
-str_flags4 = "string", 42 ### unexpected int, expecting string
+str_flags3 = "string", not a string ### unexpected identifier, expecting string, hex string
+str_flags4 = "string", 42 ### unexpected int, expecting string, hex string
call(foo ,int32 , bar int32) ### unexpected ',', expecting int, identifier, string
call(foo int32:"bar") ### unexpected string, expecting int, identifier
call(a int32, b len[a:"bar"]) ### unexpected string, expecting int, identifier
-define FOO `bar`
-define FOO `bar ### C expression is not terminated
+define FOO bar
foo(x int32[1:2:3, opt])
foo2(x int32[1[2]:2]) ### unexpected ':', expecting ']'
diff --git a/pkg/compiler/testdata/all.txt b/pkg/compiler/testdata/all.txt
index 9d94a81a1..789071964 100644
--- a/pkg/compiler/testdata/all.txt
+++ b/pkg/compiler/testdata/all.txt
@@ -40,10 +40,13 @@ strings {
f11 stringnoz[string_flags1]
f12 string[string_flags2]
f13 stringnoz[string_flags2]
+ f14 string[`abcdef`, 4]
+ f15 string[string_flags3, 4]
} [packed]
string_flags1 = "foo", "barbaz"
string_flags2 = ""
+string_flags3 = "ab", `010203`, `de`
int_flags = 0, 1, 0xabc, 'x', -11
_ = 1, 2
_ = C1, C2
diff --git a/pkg/compiler/testdata/errors2.txt b/pkg/compiler/testdata/errors2.txt
index 47d76ab89..b5ab19ebf 100644
--- a/pkg/compiler/testdata/errors2.txt
+++ b/pkg/compiler/testdata/errors2.txt
@@ -267,6 +267,7 @@ foo$525(a int8[-256:256]) ### int range [18446744073709551360:256] is too large
foo$526(a int8[-255:255]) ### int range [18446744073709551361:255] is too large for base type of size 8
foo$527(a int16[-40000:40000]) ### int range [18446744073709511616:40000] is too large for base type of size 16
foo$528(a ptr[in, s405])
+foo$529(a ptr[in, string[`abcdde`, 3]]) ### string value "\xab\xcd\xde\x00" exceeds buffer length 3
type type500 proc[C1, 8, int8] ### values starting from 1 with step 8 overflow base type for 32 procs
type type501 int8 ### unused type type501
diff --git a/pkg/compiler/types.go b/pkg/compiler/types.go
index 251e0fcaa..43efee202 100644
--- a/pkg/compiler/types.go
+++ b/pkg/compiler/types.go
@@ -514,12 +514,11 @@ func genTextType(t *ast.Type) prog.TextKind {
}
const (
- stringnoz = "stringnoz"
- stringnozescapes = "stringnozescapes"
+ stringnoz = "stringnoz"
)
var typeString = &typeDesc{
- Names: []string{"string", stringnoz, stringnozescapes},
+ Names: []string{"string", stringnoz},
CanBeTypedef: true,
OptArgs: 2,
Args: []namedArg{
@@ -527,7 +526,7 @@ var typeString = &typeDesc{
{Name: "size", Type: typeArgInt},
},
Check: func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) {
- if (t.Ident == stringnoz || t.Ident == stringnozescapes) && len(args) > 1 {
+ if t.Ident == stringnoz && len(args) > 1 {
comp.error(args[0].Pos, "fixed-size string can't be non-zero-terminated")
}
},
@@ -559,7 +558,7 @@ var typeString = &typeDesc{
return &prog.BufferType{
TypeCommon: base.TypeCommon,
Kind: prog.BufferFilename,
- NoZ: t.Ident == stringnoz || t.Ident == stringnozescapes,
+ NoZ: t.Ident == stringnoz,
}
}
subkind := ""
@@ -576,7 +575,7 @@ var typeString = &typeDesc{
Kind: prog.BufferString,
SubKind: subkind,
Values: vals,
- NoZ: t.Ident == stringnoz || t.Ident == stringnozescapes,
+ NoZ: t.Ident == stringnoz,
}
},
}
@@ -592,16 +591,6 @@ func (comp *compiler) genStrings(t *ast.Type, args []*ast.Type) []string {
}
if t.Ident == stringnoz {
return vals
- } else if t.Ident == stringnozescapes {
- for i := range vals {
- unquote, err := strconv.Unquote(`"` + vals[i] + `"`)
- if err != nil {
- comp.error(args[0].Pos, fmt.Sprintf("unable to unquote stringnozescapes %q: %v", vals[i], err))
- } else {
- vals[i] = unquote
- }
- }
- return vals
}
var size uint64
if len(args) > 1 {
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index fd02f81d5..6fc8564d3 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -30537,7 +30537,7 @@ var structDescs_386 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
&UnionType{Key: StructKey{Name: "wireguard_private_key"}, FldName: "payload"},
@@ -30580,7 +30580,7 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "payload", TypeSize: 4}}, Val: 1},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
&UnionType{Key: StructKey{Name: "wireguard_public_key"}, FldName: "payload"},
@@ -45532,18 +45532,18 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}},
}}},
- {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a", TypeSize: 128}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b", TypeSize: 128}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c", TypeSize: 128}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
+ {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a", TypeSize: 32}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b", TypeSize: 32}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c", TypeSize: 32}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
}}},
- {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "neg", TypeSize: 128}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a_g", TypeSize: 128}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b_g", TypeSize: 128}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c_g", TypeSize: 128}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
+ {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "neg", TypeSize: 32}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a_g", TypeSize: 32}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b_g", TypeSize: 32}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c_g", TypeSize: 32}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
}}},
{StructKey{"wr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&StructType{Key: StructKey{"rdma", 2}, FldName: "rdma"},
@@ -75767,4 +75767,4 @@ var consts_386 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_386 = "2c9166c4319f7dfee95dda2a8c1b6b767220c474"
+const revision_386 = "56678b79e4057235cf9cdf2154dbdb3c7344b505"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index b730ad4fa..6bcffca22 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -31213,7 +31213,7 @@ var structDescs_amd64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
&UnionType{Key: StructKey{Name: "wireguard_private_key"}, FldName: "payload"},
@@ -31256,7 +31256,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "payload", TypeSize: 4}}, Val: 1},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
&UnionType{Key: StructKey{Name: "wireguard_public_key"}, FldName: "payload"},
@@ -46324,18 +46324,18 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}},
}}},
- {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a", TypeSize: 128}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b", TypeSize: 128}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c", TypeSize: 128}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
+ {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a", TypeSize: 32}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b", TypeSize: 32}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c", TypeSize: 32}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
}}},
- {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "neg", TypeSize: 128}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a_g", TypeSize: 128}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b_g", TypeSize: 128}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c_g", TypeSize: 128}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
+ {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "neg", TypeSize: 32}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a_g", TypeSize: 32}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b_g", TypeSize: 32}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c_g", TypeSize: 32}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
}}},
{StructKey{"wr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&StructType{Key: StructKey{"rdma", 2}, FldName: "rdma"},
@@ -76727,4 +76727,4 @@ var consts_amd64 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_amd64 = "6673206757c83574064c26c47b47302a3fe2908f"
+const revision_amd64 = "5abe030c28213a0f6e256ea83e3a72f176332745"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 51315cc9d..3cfe6ed5c 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -30398,7 +30398,7 @@ var structDescs_arm = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
&UnionType{Key: StructKey{Name: "wireguard_private_key"}, FldName: "payload"},
@@ -30441,7 +30441,7 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "payload", TypeSize: 4}}, Val: 1},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
&UnionType{Key: StructKey{Name: "wireguard_public_key"}, FldName: "payload"},
@@ -45406,18 +45406,18 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}},
}}},
- {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a", TypeSize: 128}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b", TypeSize: 128}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c", TypeSize: 128}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
+ {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a", TypeSize: 32}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b", TypeSize: 32}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c", TypeSize: 32}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
}}},
- {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "neg", TypeSize: 128}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a_g", TypeSize: 128}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b_g", TypeSize: 128}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c_g", TypeSize: 128}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
+ {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "neg", TypeSize: 32}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a_g", TypeSize: 32}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b_g", TypeSize: 32}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c_g", TypeSize: 32}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
}}},
{StructKey{"wr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&StructType{Key: StructKey{"rdma", 2}, FldName: "rdma"},
@@ -75419,4 +75419,4 @@ var consts_arm = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_arm = "67bba5acf8c94735bf013cc9f21ccd3c5fc216f5"
+const revision_arm = "da12893c663eea7840c04b6e91ab7d002f7a3c8a"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index d0f4015ea..13650407f 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -31022,7 +31022,7 @@ var structDescs_arm64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
&UnionType{Key: StructKey{Name: "wireguard_private_key"}, FldName: "payload"},
@@ -31065,7 +31065,7 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "payload", TypeSize: 4}}, Val: 1},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
&UnionType{Key: StructKey{Name: "wireguard_public_key"}, FldName: "payload"},
@@ -46108,18 +46108,18 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}},
}}},
- {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a", TypeSize: 128}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b", TypeSize: 128}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c", TypeSize: 128}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
+ {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a", TypeSize: 32}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b", TypeSize: 32}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c", TypeSize: 32}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
}}},
- {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "neg", TypeSize: 128}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a_g", TypeSize: 128}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b_g", TypeSize: 128}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c_g", TypeSize: 128}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
+ {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "neg", TypeSize: 32}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a_g", TypeSize: 32}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b_g", TypeSize: 32}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c_g", TypeSize: 32}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
}}},
{StructKey{"wr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&StructType{Key: StructKey{"rdma", 2}, FldName: "rdma"},
@@ -76072,4 +76072,4 @@ var consts_arm64 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_arm64 = "dee043a3b3f6196780285614c5a9b72e918a81fa"
+const revision_arm64 = "6086f6f353a21ab375b1a8c6b219e200e8f58a84"
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go
index 4a851c8d6..3c4a40552 100644
--- a/sys/linux/gen/mips64le.go
+++ b/sys/linux/gen/mips64le.go
@@ -30966,7 +30966,7 @@ var structDescs_mips64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
&UnionType{Key: StructKey{Name: "wireguard_private_key"}, FldName: "payload"},
@@ -31009,7 +31009,7 @@ var structDescs_mips64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "payload", TypeSize: 4}}, Val: 1},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
&UnionType{Key: StructKey{Name: "wireguard_public_key"}, FldName: "payload"},
@@ -45198,18 +45198,18 @@ var structDescs_mips64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}},
}}},
- {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a", TypeSize: 128}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b", TypeSize: 128}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c", TypeSize: 128}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
+ {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a", TypeSize: 32}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b", TypeSize: 32}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c", TypeSize: 32}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
}}},
- {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "neg", TypeSize: 128}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a_g", TypeSize: 128}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b_g", TypeSize: 128}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c_g", TypeSize: 128}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
+ {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "neg", TypeSize: 32}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a_g", TypeSize: 32}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b_g", TypeSize: 32}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c_g", TypeSize: 32}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
}}},
{StructKey{"wr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&StructType{Key: StructKey{"rdma", 2}, FldName: "rdma"},
@@ -73733,4 +73733,4 @@ var consts_mips64le = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_mips64le = "f1cb4e880805aaf2524d2610efdc60f7ab59000d"
+const revision_mips64le = "9b9002bc4f823c80760d41d0852e00fd90666fc6"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 89b637334..bc83bfe4d 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -30968,7 +30968,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGDEVICE_A_PRIVATE_KEY, int16], wireguard_private_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
&UnionType{Key: StructKey{Name: "wireguard_private_key"}, FldName: "payload"},
@@ -31011,7 +31011,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "payload", TypeSize: 4}}, Val: 1},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, 4}},
- {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 132}, []Type{
+ {StructKey{Name: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[WGPEER_A_PUBLIC_KEY, int16], wireguard_public_key]", TypeSize: 36}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
&UnionType{Key: StructKey{Name: "wireguard_public_key"}, FldName: "payload"},
@@ -46011,18 +46011,18 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}},
}}},
- {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a", TypeSize: 128}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b", TypeSize: 128}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c", TypeSize: 128}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
+ {StructKey{Name: "wireguard_private_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_private_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a", TypeSize: 32}, Kind: 2, Values: []string{"\xa0\\\xa8Ol\x9c\x8e8S\xe2\xfdzp\xae\x0f\xb2\x0f\xa1R`\f\xb0\bE\x17O\b\ao\x8dxC"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b", TypeSize: 32}, Kind: 2, Values: []string{"\xb0\x80s\xe8\xd4N\x91\xe3ڒ,\"C\x82D\xbb\x88\\i\xe2i\xc8\xe9\xd85\xb1\x14):M\xdcn"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c", TypeSize: 32}, Kind: 2, Values: []string{"\xa0ˇ\x9aG\xf5\xbcdL\x0ei?\xa6\xd01\xc7J\x15S\xb6\xe9\x01\xb9\xff/Q\x8cx\x04/\xb5B"}, NoZ: true},
}}},
- {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 128}, Fields: []Type{
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "zero", TypeSize: 128}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "neg", TypeSize: 128}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "a_g", TypeSize: 128}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "b_g", TypeSize: 128}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
- &BufferType{TypeCommon: TypeCommon{TypeName: "stringnozescapes", FldName: "c_g", TypeSize: 128}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
+ {StructKey{Name: "wireguard_public_key"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wireguard_public_key", TypeSize: 32}, Fields: []Type{
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "zero", TypeSize: 32}, Kind: 2, Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "neg", TypeSize: 32}, Kind: 2, Values: []string{"\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "a_g", TypeSize: 32}, Kind: 2, Values: []string{"\x97\\\x9d\x81Ƀ\xc8 \x9e\xe7\x81%K\x89\x9f\x8e\xd9%\xae\x9f\t#\xc2<b\xf5<WͿi\x1c"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "b_g", TypeSize: 32}, Kind: 2, Values: []string{"\xd1s(\x99\xf6\x11͉\x94\x03M\u007fA=\xc9Wc\x0eT\x93\u0085\xac\xa4\x00e\xcbc\x11\xbeik"}, NoZ: true},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "c_g", TypeSize: 32}, Kind: 2, Values: []string{"\xf4M\xa3g\xa8\x8e\xe6VO\x02\x02\x11Eg'\b/\\\xeb\xee\x8b\x1b\xf5\xebs74\x1bE\x9b9\""}, NoZ: true},
}}},
{StructKey{"wr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&StructType{Key: StructKey{"rdma", 2}, FldName: "rdma"},
@@ -76069,4 +76069,4 @@ var consts_ppc64le = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_ppc64le = "7a91b227742864c849b6cf57c449685a689af481"
+const revision_ppc64le = "7a5d43c75dcc4537aed13ba7b3c920c33d38f89c"
diff --git a/sys/linux/socket_netlink_generic_wireguard.txt b/sys/linux/socket_netlink_generic_wireguard.txt
index e5b37227e..325cc07df 100644
--- a/sys/linux/socket_netlink_generic_wireguard.txt
+++ b/sys/linux/socket_netlink_generic_wireguard.txt
@@ -59,18 +59,18 @@ allowedip_policy_ipv6 {
} [packed]
wireguard_private_key [
- zero stringnozescapes["\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"]
- a stringnozescapes["\xa0\x5c\xa8\x4f\x6c\x9c\x8e\x38\x53\xe2\xfd\x7a\x70\xae\x0f\xb2\x0f\xa1\x52\x60\x0c\xb0\x08\x45\x17\x4f\x08\x07\x6f\x8d\x78\x43"]
- b stringnozescapes["\xb0\x80\x73\xe8\xd4\x4e\x91\xe3\xda\x92\x2c\x22\x43\x82\x44\xbb\x88\x5c\x69\xe2\x69\xc8\xe9\xd8\x35\xb1\x14\x29\x3a\x4d\xdc\x6e"]
- c stringnozescapes["\xa0\xcb\x87\x9a\x47\xf5\xbc\x64\x4c\x0e\x69\x3f\xa6\xd0\x31\xc7\x4a\x15\x53\xb6\xe9\x01\xb9\xff\x2f\x51\x8c\x78\x04\x2f\xb5\x42"]
+ zero stringnoz[`0000000000000000000000000000000000000000000000000000000000000000`]
+ a stringnoz[`a05ca84f6c9c8e3853e2fd7a70ae0fb20fa152600cb00845174f08076f8d7843`]
+ b stringnoz[`b08073e8d44e91e3da922c22438244bb885c69e269c8e9d835b114293a4ddc6e`]
+ c stringnoz[`a0cb879a47f5bc644c0e693fa6d031c74a1553b6e901b9ff2f518c78042fb542`]
]
wireguard_public_key [
- zero stringnozescapes["\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"]
- neg stringnozescapes["\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"]
- a_g stringnozescapes["\x97\x5c\x9d\x81\xc9\x83\xc8\x20\x9e\xe7\x81\x25\x4b\x89\x9f\x8e\xd9\x25\xae\x9f\x09\x23\xc2\x3c\x62\xf5\x3c\x57\xcd\xbf\x69\x1c"]
- b_g stringnozescapes["\xd1\x73\x28\x99\xf6\x11\xcd\x89\x94\x03\x4d\x7f\x41\x3d\xc9\x57\x63\x0e\x54\x93\xc2\x85\xac\xa4\x00\x65\xcb\x63\x11\xbe\x69\x6b"]
- c_g stringnozescapes["\xf4\x4d\xa3\x67\xa8\x8e\xe6\x56\x4f\x02\x02\x11\x45\x67\x27\x08\x2f\x5c\xeb\xee\x8b\x1b\xf5\xeb\x73\x37\x34\x1b\x45\x9b\x39\x22"]
+ zero stringnoz[`0000000000000000000000000000000000000000000000000000000000000000`]
+ neg stringnoz[`dbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff`]
+ a_g stringnoz[`975c9d81c983c8209ee781254b899f8ed925ae9f0923c23c62f53c57cdbf691c`]
+ b_g stringnoz[`d1732899f611cd8994034d7f413dc957630e5493c285aca40065cb6311be696b`]
+ c_g stringnoz[`f44da367a88ee6564f020211456727082f5cebee8b1bf5eb7337341b459b3922`]
]
wgdevice_flag = WGDEVICE_F_REPLACE_PEERS