diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-20 18:24:23 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-21 10:31:09 +0100 |
| commit | 704259f6449a65324f92d2737a291da10fdac03f (patch) | |
| tree | 640807411b85bd1d297ebf5f61cee71e913e2dfc | |
| parent | f63eeee99fd125d095eaacf0c0739ac14a6e473d (diff) | |
sys/linux: fix nlattr alignment
It seems that alignment is never present in the nlattr.
| -rw-r--r-- | executor/syscalls_linux.h | 10 | ||||
| -rw-r--r-- | sys/linux/386.go | 42 | ||||
| -rw-r--r-- | sys/linux/amd64.go | 42 | ||||
| -rw-r--r-- | sys/linux/arm.go | 42 | ||||
| -rw-r--r-- | sys/linux/arm64.go | 42 | ||||
| -rw-r--r-- | sys/linux/ppc64le.go | 42 | ||||
| -rw-r--r-- | sys/linux/socket_netlink.txt | 2 |
7 files changed, 76 insertions, 146 deletions
diff --git a/executor/syscalls_linux.h b/executor/syscalls_linux.h index 28c524f91..f5bb7f35f 100644 --- a/executor/syscalls_linux.h +++ b/executor/syscalls_linux.h @@ -2,7 +2,7 @@ #if defined(__i386__) || 0 #define GOARCH "386" -#define SYZ_REVISION "8a515582f716e47c7187d6acd9ef3c3e8b30a7f9" +#define SYZ_REVISION "cfe2895f5fbcad40837aa245a03df6040de715d5" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 @@ -1623,7 +1623,7 @@ call_t syscalls[] = { #if defined(__x86_64__) || 0 #define GOARCH "amd64" -#define SYZ_REVISION "d701f2a2142a12c08b17afbc15110c24f09bf0da" +#define SYZ_REVISION "2622de14f49adc37c6c0e668588a4667e56d1b1e" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 @@ -3296,7 +3296,7 @@ call_t syscalls[] = { #if defined(__arm__) || 0 #define GOARCH "arm" -#define SYZ_REVISION "28772c035814f22d291032fc0d3a14c1ea6d4d34" +#define SYZ_REVISION "8ac5f9f73b086aecc7c5eb98e2c2867def6d4b57" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 @@ -4914,7 +4914,7 @@ call_t syscalls[] = { #if defined(__aarch64__) || 0 #define GOARCH "arm64" -#define SYZ_REVISION "32119668c79bbf78e86ee2739b37d2d06b458ff6" +#define SYZ_REVISION "4e6df14d0cbb5aa00fa2b8fa43a50654d7c2e425" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 @@ -6516,7 +6516,7 @@ call_t syscalls[] = { #if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0 #define GOARCH "ppc64le" -#define SYZ_REVISION "83087ab2eb13cc0b1b58ad876c88d5c0920863c7" +#define SYZ_REVISION "04d12a6320bebfddb56bad9ef80cf8d7551a13be" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 diff --git a/sys/linux/386.go b/sys/linux/386.go index 516320890..3cdb0a110 100644 --- a/sys/linux/386.go +++ b/sys/linux/386.go @@ -6760,10 +6760,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtnl_link_ifmap"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MASTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MASTER, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6927,10 +6926,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTA_NAME, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_NAME, int16], string]", IsVarlen: true}, Fields: []Type{ @@ -6958,10 +6956,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6969,22 +6966,19 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ @@ -6992,10 +6986,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7008,10 +7001,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7024,10 +7016,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7203,16 +7194,14 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, &StructType{Key: StructKey{Name: "xfrm_user_kmaddress"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]", TypeSize: 12}, Fields: []Type{ @@ -7235,10 +7224,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 176}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 172}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]", TypeSize: 12}, Fields: []Type{ @@ -7268,10 +7256,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, &StructType{Key: StructKey{Name: "xfrm_replay_state"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 232}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 228}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_usersa_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7324,7 +7311,6 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[int16[0:150], nl_generic_attr_data]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int16[0:150], nl_generic_attr_data]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nla_type", TypeSize: 2}}, Kind: 2, RangeEnd: 150}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &UnionType{Key: StructKey{Name: "nl_generic_attr_data"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "packet_fanout_val"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{ @@ -25573,4 +25559,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "8a515582f716e47c7187d6acd9ef3c3e8b30a7f9" +const revision_386 = "cfe2895f5fbcad40837aa245a03df6040de715d5" diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index 42d311588..8d4c89b34 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -6915,10 +6915,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtnl_link_ifmap"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MASTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MASTER, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7082,10 +7081,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTA_NAME, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_NAME, int16], string]", IsVarlen: true}, Fields: []Type{ @@ -7113,10 +7111,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7124,22 +7121,19 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ @@ -7147,10 +7141,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7163,10 +7156,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7179,10 +7171,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7358,16 +7349,14 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, &StructType{Key: StructKey{Name: "xfrm_user_kmaddress"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]", TypeSize: 12}, Fields: []Type{ @@ -7390,10 +7379,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 176}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 172}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]", TypeSize: 12}, Fields: []Type{ @@ -7423,10 +7411,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, &StructType{Key: StructKey{Name: "xfrm_replay_state"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 232}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 228}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_usersa_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7479,7 +7466,6 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[int16[0:150], nl_generic_attr_data]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int16[0:150], nl_generic_attr_data]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nla_type", TypeSize: 2}}, Kind: 2, RangeEnd: 150}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &UnionType{Key: StructKey{Name: "nl_generic_attr_data"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "packet_fanout_val"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{ @@ -26189,4 +26175,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "d701f2a2142a12c08b17afbc15110c24f09bf0da" +const revision_amd64 = "2622de14f49adc37c6c0e668588a4667e56d1b1e" diff --git a/sys/linux/arm.go b/sys/linux/arm.go index 31fb52c01..68016b17e 100644 --- a/sys/linux/arm.go +++ b/sys/linux/arm.go @@ -6583,10 +6583,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtnl_link_ifmap"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MASTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MASTER, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6750,10 +6749,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTA_NAME, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_NAME, int16], string]", IsVarlen: true}, Fields: []Type{ @@ -6781,10 +6779,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6792,22 +6789,19 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ @@ -6815,10 +6809,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6831,10 +6824,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6847,10 +6839,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7026,16 +7017,14 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, &StructType{Key: StructKey{Name: "xfrm_user_kmaddress"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]", TypeSize: 12}, Fields: []Type{ @@ -7058,10 +7047,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 176}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 172}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]", TypeSize: 12}, Fields: []Type{ @@ -7091,10 +7079,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, &StructType{Key: StructKey{Name: "xfrm_replay_state"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 232}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 228}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_usersa_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7147,7 +7134,6 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[int16[0:150], nl_generic_attr_data]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int16[0:150], nl_generic_attr_data]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nla_type", TypeSize: 2}}, Kind: 2, RangeEnd: 150}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &UnionType{Key: StructKey{Name: "nl_generic_attr_data"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "packet_fanout_val"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{ @@ -25294,4 +25280,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "28772c035814f22d291032fc0d3a14c1ea6d4d34" +const revision_arm = "8ac5f9f73b086aecc7c5eb98e2c2867def6d4b57" diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go index 3ad3b1078..d01e85b87 100644 --- a/sys/linux/arm64.go +++ b/sys/linux/arm64.go @@ -6720,10 +6720,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtnl_link_ifmap"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MASTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MASTER, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6887,10 +6886,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTA_NAME, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_NAME, int16], string]", IsVarlen: true}, Fields: []Type{ @@ -6918,10 +6916,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6929,22 +6926,19 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ @@ -6952,10 +6946,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6968,10 +6961,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6984,10 +6976,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7163,16 +7154,14 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, &StructType{Key: StructKey{Name: "xfrm_user_kmaddress"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]", TypeSize: 12}, Fields: []Type{ @@ -7195,10 +7184,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 176}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 172}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]", TypeSize: 12}, Fields: []Type{ @@ -7228,10 +7216,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, &StructType{Key: StructKey{Name: "xfrm_replay_state"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 232}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 228}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_usersa_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7284,7 +7271,6 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[int16[0:150], nl_generic_attr_data]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int16[0:150], nl_generic_attr_data]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nla_type", TypeSize: 2}}, Kind: 2, RangeEnd: 150}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &UnionType{Key: StructKey{Name: "nl_generic_attr_data"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "packet_fanout_val"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{ @@ -25571,4 +25557,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "32119668c79bbf78e86ee2739b37d2d06b458ff6" +const revision_arm64 = "4e6df14d0cbb5aa00fa2b8fa43a50654d7c2e425" diff --git a/sys/linux/ppc64le.go b/sys/linux/ppc64le.go index 2c893c445..3c5151ce0 100644 --- a/sys/linux/ppc64le.go +++ b/sys/linux/ppc64le.go @@ -6675,10 +6675,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MAP, int16], rtnl_link_ifmap]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtnl_link_ifmap"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_MASTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_MASTER, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6842,10 +6841,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_GC_INTERVAL, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTA_NAME, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTA_NAME, int16], string]", IsVarlen: true}, Fields: []Type{ @@ -6873,10 +6871,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_ANYCAST_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_APP_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6884,22 +6881,19 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_BASE_REACHABLE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_DELAY_PROBE_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_GC_STALETIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ @@ -6907,10 +6901,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_LOCKTIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_MCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6923,10 +6916,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_DELAY, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_PROXY_QLEN, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -6939,10 +6931,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_RETRANS_TIME, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NDTPA_UCAST_PROBES, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7118,16 +7109,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, &StructType{Key: StructKey{Name: "xfrm_user_kmaddress"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 16}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LASTUSED, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 40}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_LTIME_VAL, int16], xfrm_lifetime_cur]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]", TypeSize: 12}, Fields: []Type{ @@ -7150,10 +7139,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 176}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY, int16], xfrm_userpolicy_info]", TypeSize: 172}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_POLICY_TYPE, int16], xfrm_userpolicy_type]", TypeSize: 12}, Fields: []Type{ @@ -7183,10 +7171,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, &StructType{Key: StructKey{Name: "xfrm_replay_state"}, FldName: "payload"}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 232}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA, int16], xfrm_usersa_info]", TypeSize: 228}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &StructType{Key: StructKey{Name: "xfrm_usersa_info"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]", TypeSize: 8}, Fields: []Type{ @@ -7239,7 +7226,6 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[int16[0:150], nl_generic_attr_data]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int16[0:150], nl_generic_attr_data]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nla_type", TypeSize: 2}}, Kind: 2, RangeEnd: 150}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &UnionType{Key: StructKey{Name: "nl_generic_attr_data"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "packet_fanout_val"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{ @@ -25333,4 +25319,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "83087ab2eb13cc0b1b58ad876c88d5c0920863c7" +const revision_ppc64le = "04d12a6320bebfddb56bad9ef80cf8d7551a13be" diff --git a/sys/linux/socket_netlink.txt b/sys/linux/socket_netlink.txt index f23feaa19..e7796057c 100644 --- a/sys/linux/socket_netlink.txt +++ b/sys/linux/socket_netlink.txt @@ -96,7 +96,7 @@ type nlattr_t[TYPE, PAYLOAD] { nla_len len[parent, int16] nla_type TYPE payload PAYLOAD -} [align_4] +} [packed, align_4] # NL80211 has 150 attributes. type nlattr_anytype[PAYLOAD] nlattr_t[int16[0:150], PAYLOAD] |
