aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen/arm.go
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2019-10-24 00:00:41 -0400
committerDmitry Vyukov <dvyukov@google.com>2019-10-24 09:30:50 +0200
commitb1f951e1e461d1a9f8eeec14170a89ffb4addd53 (patch)
treec3ca6c68a3f2ef694c3d92a9af9832ffec027b79 /sys/linux/gen/arm.go
parent910e03ca15ea4b364c3cfb1b5af4c1f5f54ec7aa (diff)
sys/linux/socket_netlink_route_sched: fix tcm_info structure
Update #533 Don't know why I didn't add tcm__pad in tcm_info structure at the begining. But let's fix it now. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Diffstat (limited to 'sys/linux/gen/arm.go')
-rw-r--r--sys/linux/gen/arm.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 1eb1326f9..6c26a3b0d 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -12949,7 +12949,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "if_stats_msg[AF_UNSPEC]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETTCLASS, int16], tcmsg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETTCLASS, int16], tcmsg[AF_UNSPEC], void]", TypeSize: 36}, Fields: []Type{
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETTCLASS, int16], tcmsg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETTCLASS, int16], tcmsg[AF_UNSPEC], void]", TypeSize: 40}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 42},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}},
@@ -23495,9 +23495,12 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcm_handle_offsets", FldName: "minor", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 65504, 65521, 65522, 65523, 65535}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcm_handle_offsets", FldName: "major", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 65504, 65521, 65522, 65523, 65535}},
}}},
- {Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcmsg[AF_UNSPEC]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcmsg[AF_UNSPEC]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tcm__pad1", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tcm__pad2", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifindex", TypeSize: 4}},
&StructType{Key: StructKey{Name: "tcm_handle"}, FldName: "tcm_handle"},
&StructType{Key: StructKey{Name: "tcm_handle"}, FldName: "tcm_parent"},
@@ -53138,4 +53141,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "38f6f7da322334a88a4f80416f714ff6d75a3b18"
+const revision_arm = "67c6ab2b9753f257ec7a5a817a08a7df94e7e0fb"