diff options
| author | Hangbin Liu <liuhangbin@gmail.com> | 2019-10-24 00:00:41 -0400 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-10-24 09:30:50 +0200 |
| commit | b1f951e1e461d1a9f8eeec14170a89ffb4addd53 (patch) | |
| tree | c3ca6c68a3f2ef694c3d92a9af9832ffec027b79 /sys/linux | |
| parent | 910e03ca15ea4b364c3cfb1b5af4c1f5f54ec7aa (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')
| -rw-r--r-- | sys/linux/gen/386.go | 11 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 11 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 11 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 11 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 11 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_route_sched.txt | 2 |
6 files changed, 37 insertions, 20 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 62cbb111c..317c0c3b5 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -13132,7 +13132,7 @@ var structDescs_386 = []*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}}, @@ -23673,9 +23673,12 @@ var structDescs_386 = []*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"}, @@ -53561,4 +53564,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "238b7dc5623d9c76c0a746cc94732564dd843cda" +const revision_386 = "0f80ed53ff61b1464592761cb29ac97c9c0cc588" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 1ec0cb5b7..7fb61bee7 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -13429,7 +13429,7 @@ var structDescs_amd64 = []*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}}, @@ -23996,9 +23996,12 @@ var structDescs_amd64 = []*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"}, @@ -54106,4 +54109,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "7330120bdee27717f8e19d43096cee7ef68f4086" +const revision_amd64 = "401a20489783d971999befbe116fd7cdd089d99b" 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" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index d0192d936..a4b51aa6a 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -13246,7 +13246,7 @@ var structDescs_arm64 = []*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}}, @@ -23813,9 +23813,12 @@ var structDescs_arm64 = []*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"}, @@ -53458,4 +53461,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "0dd9fdb4dfcbb61b02b5a07255ca6de1804e13c2" +const revision_arm64 = "630b3d8e426a8e9ae5b56e4061fc973078cbdf3e" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 1d9d94a29..01adecdad 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -13198,7 +13198,7 @@ var structDescs_ppc64le = []*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}}, @@ -23765,9 +23765,12 @@ var structDescs_ppc64le = []*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"}, @@ -53423,4 +53426,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "4d046e97a4eb3020af68128e653549e13e161084" +const revision_ppc64le = "e185a64151f0c1332757c1bbc08e93f870be2804" diff --git a/sys/linux/socket_netlink_route_sched.txt b/sys/linux/socket_netlink_route_sched.txt index c694bbd08..3cff1e172 100644 --- a/sys/linux/socket_netlink_route_sched.txt +++ b/sys/linux/socket_netlink_route_sched.txt @@ -53,6 +53,8 @@ netlink_msg_route_sched [ type tcmsg[FAMILY] { family const[FAMILY, int8] + tcm__pad1 const[0, int16] + tcm__pad2 const[0, int16] ifindex ifindex tcm_handle tcm_handle tcm_parent tcm_handle |
