aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/amd64.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-03-20 18:24:23 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-03-21 10:31:09 +0100
commit704259f6449a65324f92d2737a291da10fdac03f (patch)
tree640807411b85bd1d297ebf5f61cee71e913e2dfc /sys/linux/amd64.go
parentf63eeee99fd125d095eaacf0c0739ac14a6e473d (diff)
sys/linux: fix nlattr alignment
It seems that alignment is never present in the nlattr.
Diffstat (limited to 'sys/linux/amd64.go')
-rw-r--r--sys/linux/amd64.go42
1 files changed, 14 insertions, 28 deletions
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"