diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-28 15:08:47 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-28 15:08:47 +0100 |
| commit | 5e48183c6ecd816e6936be60c88e35dbeb41096f (patch) | |
| tree | 4fca39fe6873ab63d84306f9b5c54df65953fc71 /sys/linux | |
| parent | 0692a5861fb0c78c0281363cc4bce655dc9c6f5a (diff) | |
sys/linux: add ethtool netlink descriptions
Diffstat (limited to 'sys/linux')
27 files changed, 3383 insertions, 136 deletions
diff --git a/sys/linux/dev_dri.txt.warn b/sys/linux/dev_dri.txt.warn index a70f84b7b..4707c2c4f 100644 --- a/sys/linux/dev_dri.txt.warn +++ b/sys/linux/dev_dri.txt.warn @@ -1,3 +1,7 @@ +bad-struct-size: drm_mode_fb_cmd2: syz=84 kernel=100 [386] +bad-struct-size: drm_mode_fb_cmd2: syz=84 kernel=104 [amd64,arm,arm64] +bad-field-offset: drm_mode_fb_cmd2.modifier: syz=68 kernel=72 [amd64,arm,arm64] +bad-field-size: drm_mode_fb_cmd2.modifier: syz=16 kernel=32 no-such-struct: drm_unique_in no-such-struct: drm_unique_out no-such-struct: drm_map diff --git a/sys/linux/dev_infiniband_rdma.txt.warn b/sys/linux/dev_infiniband_rdma.txt.warn index ecd0eba49..b592aef26 100644 --- a/sys/linux/dev_infiniband_rdma.txt.warn +++ b/sys/linux/dev_infiniband_rdma.txt.warn @@ -111,15 +111,9 @@ bad-field-number: ib_uverbs_flow_spec_action_count: syz=5 kernel=3 bad-field-size: ib_uverbs_flow_spec_action_count.type/: syz=4 kernel=8 bad-field-offset: ib_uverbs_flow_spec_action_count.size/handle: syz=4 kernel=8 bad-field-size: ib_uverbs_flow_spec_action_count.size/handle: syz=2 kernel=4 -bad-field-offset: ib_uverbs_flow_spec_action_count.reserved0/reserved1: syz=6 kernel=12 -bad-field-size: ib_uverbs_flow_spec_action_count.reserved0/reserved1: syz=2 kernel=4 +bad-field-offset: ib_uverbs_flow_spec_action_count.reserved/reserved1: syz=6 kernel=12 +bad-field-size: ib_uverbs_flow_spec_action_count.reserved/reserved1: syz=2 kernel=4 no-such-struct: union_ib_flow_spec -bad-field-size: ib_uverbs_flow_attr.reserved1/reserved: syz=1 kernel=2 -bad-field-offset: ib_uverbs_flow_attr.reserved2/port: syz=10 kernel=11 -bad-field-offset: ib_uverbs_flow_attr.port/flags: syz=11 kernel=12 -bad-field-size: ib_uverbs_flow_attr.port/flags: syz=1 kernel=4 -bad-field-offset: ib_uverbs_flow_attr.flags/flow_specs: syz=12 kernel=16 -bad-field-size: ib_uverbs_flow_attr.flags/flow_specs: syz=4 kernel=0 no-such-struct: create_flow_resp no-such-struct: destroy_flow_cmd no-such-struct: ib_uverbs_create_counters_cmd diff --git a/sys/linux/dev_ptmx.txt.warn b/sys/linux/dev_ptmx.txt.warn index ab0fb8a55..25d513d20 100644 --- a/sys/linux/dev_ptmx.txt.warn +++ b/sys/linux/dev_ptmx.txt.warn @@ -1,3 +1,9 @@ +compiler: unsupported syscall: ioctl$TIOCGETP due to missing const TIOCGETP +compiler: unsupported syscall: ioctl$TIOCSETP due to missing const TIOCSETP +compiler: unsupported syscall: ioctl$TIOCGETC due to missing const TIOCGETC +compiler: unsupported syscall: ioctl$TIOCSETC due to missing const TIOCSETC +compiler: unsupported syscall: ioctl$TIOCGLTC due to missing const TIOCGLTC +compiler: unsupported syscall: ioctl$TIOCSLTC due to missing const TIOCSLTC no-such-struct: io_cmap no-such-struct: unimapdesc_in no-such-struct: unimapdesc_out diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index e8bbc9f4f..9ffa29d82 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -155,6 +155,7 @@ var resources_386 = []*ResourceDesc{ {Name: "flow_handle", Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_batadv_family_id", Kind: []string{"genl_batadv_family_id"}, Values: []uint64{0}}, {Name: "genl_devlink_family_id", Kind: []string{"genl_devlink_family_id"}, Values: []uint64{0}}, + {Name: "genl_ethtool_family_id", Kind: []string{"genl_ethtool_family_id"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, @@ -1049,6 +1050,18 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {StructKey{Name: "bit_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bit_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_BIT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, FldName: "ETHTOOL_A_BITSET_BIT_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, FldName: "ETHTOOL_A_BITSET_BIT_NAME"}, + }}}, + {StructKey{Name: "bitset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bitset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, FldName: "ETHTOOL_A_BITSET_NOMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_SIZE"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, FldName: "ETHTOOL_A_BITSET_BITS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_MASK"}, + }}}, {StructKey{Name: "blk_user_trace_setup"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "blk_user_trace_setup", TypeSize: 64}, Fields: []Type{ &ArrayType{TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, 1, 32, 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "act_mask", TypeSize: 2}}}, @@ -4598,6 +4611,11 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{"mac_addr", 2}, FldName: "h_source"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "h_proto", TypeSize: 2, ArgDir: 2}, ArgFormat: 1}}, }}}, + {StructKey{Name: "ethnl_header_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethnl_header_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, FldName: "ETHTOOL_A_HEADER_DEV_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, FldName: "ETHTOOL_A_HEADER_DEV_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, FldName: "ETHTOOL_A_HEADER_FLAGS"}, + }}}, {StructKey{"ethtool_ah_espip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4dst"}, @@ -4624,7 +4642,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "combined_count", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_cmd", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", TypeSize: 44, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "advertising", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "speed", TypeSize: 2, ArgDir: 2}}}, @@ -4738,7 +4756,7 @@ var structDescs_386 = []*KeyedStruct{ {StructKey{"ethtool_flash", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flash", TypeSize: 136, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "region", TypeSize: 4, ArgDir: 2}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 1, RangeBegin: 128, RangeEnd: 128}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 3}, }}}, {StructKey{"ethtool_flow_ext", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flow_ext", TypeSize: 20, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "padding", TypeSize: 2, ArgDir: 2}}}, @@ -4764,10 +4782,10 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hdata", TypeSize: 52, ArgDir: 2}, Kind: 1, RangeBegin: 52, RangeEnd: 52}, }}}, {StructKey{"ethtool_get_features_block", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_get_features_block", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "available", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "active", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "available", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "active", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_gfeatures", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gfeatures", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 58}, @@ -4776,7 +4794,7 @@ var structDescs_386 = []*KeyedStruct{ }}}, {StructKey{"ethtool_gstrings", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gstrings", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 27}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "string_set", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "string_set", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"data"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, @@ -4808,8 +4826,8 @@ var structDescs_386 = []*KeyedStruct{ }}}, {StructKey{"ethtool_per_queue_op", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_op", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 75}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 16384, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 4096, 4096}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_sub_cmd", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{14, 15}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 512, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 128, 128}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, {StructKey{"ethtool_perm_addr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_perm_addr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ @@ -4935,12 +4953,12 @@ var structDescs_386 = []*KeyedStruct{ }}}, {StructKey{"ethtool_ts_info", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ts_info", TypeSize: 44, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 65}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, }}}, {StructKey{"ethtool_usrip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_usrip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, @@ -7388,6 +7406,36 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, {StructKey{Name: "genlmsghdr_t[FOU_CMD_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[FOU_CMD_ADD]", TypeSize: 4}, []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8023,6 +8071,9 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "get_stringset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "get_stringset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, FldName: "ETHTOOL_A_STRINGSET_ID"}, + }}}, {StructKey{Name: "gfs2_options"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "gfs2_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "spectator", TypeSize: 9}, Kind: 2, Values: []string{"spectator"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, @@ -9985,6 +10036,30 @@ var structDescs_386 = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {StructKey{Name: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -13464,6 +13539,28 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "linkinfo_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + }}}, + {StructKey{Name: "linkinfo_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PHYADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_TP_MDIX_CTRL"}, + }}}, + {StructKey{Name: "linkmodes_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + }}}, + {StructKey{Name: "linkmodes_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_AUTONEG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_DUPLEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, FldName: "ETHTOOL_A_LINKMODES_SPEED"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_OURS"}, + }}}, + {StructKey{Name: "linkstate_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkstate_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKSTATE_HEADER"}, + }}}, {StructKey{Name: "llc_generic_packet"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "dsap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "ssap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, @@ -14976,6 +15073,60 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -18343,6 +18494,60 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[DEVLINK_CMD_RELOAD]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "devlink_reload"}}}, }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkstate_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "strset_get_policy"}}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "type", TypeSize: 2}}, @@ -21368,6 +21573,119 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]", TypeSize: 20}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethnl_flags", FldName: "payload", TypeSize: 4}}, []uint64{1, 2}, true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "payload", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]", TypeSize: 8}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -30912,6 +31230,78 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bit_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bitset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "get_stringset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 26}, @@ -39314,6 +39704,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nsec", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "__reserved", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "strset_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "strset_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_STRSET_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, FldName: "ETHTOOL_A_STRSET_STRINGSETS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, FldName: "ETHTOOL_A_STRSET_COUNTS_ONLY"}, + }}}, {StructKey{Name: "sync_serial_settings"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, @@ -59362,6 +59757,36 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]]"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 370, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$ETHTOOL_MSG_LINKSTATE_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 370, Name: "sendmsg$ETHTOOL_MSG_STRSET_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 370, Name: "sendmsg$FOU_CMD_ADD", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}}}, @@ -63232,6 +63657,9 @@ var syscalls_386 = []*Syscall{ {Name: "syz_genetlink_get_family_id$devlink", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"devlink\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_devlink_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$ethtool", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"ethtool\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$fou", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"fou\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -66260,8 +66688,37 @@ var consts_386 = []ConstValue{ {"ESP_V4_FLOW", 10}, {"ESP_V6_FLOW", 12}, {"ETHER_FLOW", 18}, + {"ETHTOOL_A_BITSET_BITS", 3}, + {"ETHTOOL_A_BITSET_BITS_BIT", 1}, + {"ETHTOOL_A_BITSET_BIT_INDEX", 1}, + {"ETHTOOL_A_BITSET_BIT_NAME", 2}, + {"ETHTOOL_A_BITSET_BIT_VALUE", 3}, + {"ETHTOOL_A_BITSET_MASK", 5}, + {"ETHTOOL_A_BITSET_NOMASK", 1}, + {"ETHTOOL_A_BITSET_SIZE", 2}, + {"ETHTOOL_A_BITSET_VALUE", 4}, + {"ETHTOOL_A_HEADER_DEV_INDEX", 1}, + {"ETHTOOL_A_HEADER_DEV_NAME", 2}, + {"ETHTOOL_A_HEADER_FLAGS", 3}, + {"ETHTOOL_A_LINKINFO_HEADER", 1}, + {"ETHTOOL_A_LINKINFO_PHYADDR", 3}, + {"ETHTOOL_A_LINKINFO_PORT", 2}, + {"ETHTOOL_A_LINKINFO_TP_MDIX_CTRL", 5}, + {"ETHTOOL_A_LINKMODES_AUTONEG", 2}, + {"ETHTOOL_A_LINKMODES_DUPLEX", 6}, + {"ETHTOOL_A_LINKMODES_HEADER", 1}, + {"ETHTOOL_A_LINKMODES_OURS", 3}, + {"ETHTOOL_A_LINKMODES_SPEED", 5}, + {"ETHTOOL_A_LINKSTATE_HEADER", 1}, + {"ETHTOOL_A_STRINGSETS_STRINGSET", 1}, + {"ETHTOOL_A_STRINGSET_ID", 1}, + {"ETHTOOL_A_STRSET_COUNTS_ONLY", 3}, + {"ETHTOOL_A_STRSET_HEADER", 1}, + {"ETHTOOL_A_STRSET_STRINGSETS", 2}, {"ETHTOOL_BUSINFO_LEN", 32}, {"ETHTOOL_EROMVERS_LEN", 32}, + {"ETHTOOL_FLAG_COMPACT_BITSETS", 1}, + {"ETHTOOL_FLAG_OMIT_REPLY", 2}, {"ETHTOOL_FLASHDEV", 51}, {"ETHTOOL_FLASH_MAX_FILENAME", 128}, {"ETHTOOL_FWVERS_LEN", 32}, @@ -66307,6 +66764,12 @@ var consts_386 = []ConstValue{ {"ETHTOOL_GTXCSUM", 22}, {"ETHTOOL_GUFO", 33}, {"ETHTOOL_GWOL", 5}, + {"ETHTOOL_MSG_LINKINFO_GET", 2}, + {"ETHTOOL_MSG_LINKINFO_SET", 3}, + {"ETHTOOL_MSG_LINKMODES_GET", 4}, + {"ETHTOOL_MSG_LINKMODES_SET", 5}, + {"ETHTOOL_MSG_LINKSTATE_GET", 6}, + {"ETHTOOL_MSG_STRSET_GET", 1}, {"ETHTOOL_NWAY_RST", 9}, {"ETHTOOL_PERQUEUE", 75}, {"ETHTOOL_PHYS_ID", 28}, @@ -66432,6 +66895,15 @@ var consts_386 = []ConstValue{ {"ETH_P_X25", 2053}, {"ETH_P_XDSA", 248}, {"ETH_RX_NFC_IP4", 1}, + {"ETH_SS_FEATURES", 4}, + {"ETH_SS_NTUPLE_FILTERS", 3}, + {"ETH_SS_PHY_STATS", 7}, + {"ETH_SS_PHY_TUNABLES", 8}, + {"ETH_SS_PRIV_FLAGS", 2}, + {"ETH_SS_RSS_HASH_FUNCS", 5}, + {"ETH_SS_STATS", 1}, + {Name: "ETH_SS_TEST"}, + {"ETH_SS_TUNABLES", 6}, {"ET_DYN", 3}, {"ET_EXEC", 2}, {"EVIOCGABS0", 2149074240}, @@ -68668,7 +69140,6 @@ var consts_386 = []ConstValue{ {"MAX_HEAP_NAME", 32}, {"MAX_IDLETIMER_LABEL_SIZE", 28}, {"MAX_IPOPTLEN", 40}, - {"MAX_NUM_QUEUE", 4096}, {"MAX_PHYS_ITEM_ID_LEN", 32}, {"MCAST_BLOCK_SOURCE", 43}, {Name: "MCAST_EXCLUDE"}, @@ -74962,6 +75433,7 @@ var consts_386 = []ConstValue{ {"bpf_call_code", 133}, {"bpf_exit_code", 149}, {"bpf_insn_load_imm_dw", 24}, + {"ethtool_per_queue_op_size", 128}, } -const revision_386 = "def65bb5ba6f4670f626918f7c7c7622d7ef0fd7" +const revision_386 = "372bfd76e16bdd54fd1f7a0eef0f083f9ce040d3" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 3fa2dd31e..2c7488d3b 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -155,6 +155,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "flow_handle", Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_batadv_family_id", Kind: []string{"genl_batadv_family_id"}, Values: []uint64{0}}, {Name: "genl_devlink_family_id", Kind: []string{"genl_devlink_family_id"}, Values: []uint64{0}}, + {Name: "genl_ethtool_family_id", Kind: []string{"genl_ethtool_family_id"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, @@ -1056,6 +1057,18 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {StructKey{Name: "bit_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bit_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_BIT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, FldName: "ETHTOOL_A_BITSET_BIT_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, FldName: "ETHTOOL_A_BITSET_BIT_NAME"}, + }}}, + {StructKey{Name: "bitset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bitset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, FldName: "ETHTOOL_A_BITSET_NOMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_SIZE"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, FldName: "ETHTOOL_A_BITSET_BITS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_MASK"}, + }}}, {StructKey{Name: "blk_user_trace_setup"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "blk_user_trace_setup", TypeSize: 72}, Fields: []Type{ &ArrayType{TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, 1, 32, 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "act_mask", TypeSize: 2}}}, @@ -4712,6 +4725,11 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{"mac_addr", 2}, FldName: "h_source"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "h_proto", TypeSize: 2, ArgDir: 2}, ArgFormat: 1}}, }}}, + {StructKey{Name: "ethnl_header_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethnl_header_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, FldName: "ETHTOOL_A_HEADER_DEV_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, FldName: "ETHTOOL_A_HEADER_DEV_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, FldName: "ETHTOOL_A_HEADER_FLAGS"}, + }}}, {StructKey{"ethtool_ah_espip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4dst"}, @@ -4738,7 +4756,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "combined_count", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_cmd", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", TypeSize: 44, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "advertising", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "speed", TypeSize: 2, ArgDir: 2}}}, @@ -4852,7 +4870,7 @@ var structDescs_amd64 = []*KeyedStruct{ {StructKey{"ethtool_flash", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flash", TypeSize: 136, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "region", TypeSize: 4, ArgDir: 2}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 1, RangeBegin: 128, RangeEnd: 128}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 3}, }}}, {StructKey{"ethtool_flow_ext", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flow_ext", TypeSize: 20, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "padding", TypeSize: 2, ArgDir: 2}}}, @@ -4878,10 +4896,10 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hdata", TypeSize: 52, ArgDir: 2}, Kind: 1, RangeBegin: 52, RangeEnd: 52}, }}}, {StructKey{"ethtool_get_features_block", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_get_features_block", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "available", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "active", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "available", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "active", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_gfeatures", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gfeatures", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 58}, @@ -4890,7 +4908,7 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {StructKey{"ethtool_gstrings", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gstrings", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 27}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "string_set", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "string_set", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"data"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, @@ -4922,8 +4940,8 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {StructKey{"ethtool_per_queue_op", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_op", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 75}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 16384, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 4096, 4096}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_sub_cmd", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{14, 15}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 512, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 128, 128}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, {StructKey{"ethtool_perm_addr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_perm_addr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ @@ -5053,12 +5071,12 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {StructKey{"ethtool_ts_info", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ts_info", TypeSize: 44, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 65}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, }}}, {StructKey{"ethtool_usrip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_usrip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, @@ -7521,6 +7539,36 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, {StructKey{Name: "genlmsghdr_t[FOU_CMD_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[FOU_CMD_ADD]", TypeSize: 4}, []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8156,6 +8204,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "get_stringset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "get_stringset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, FldName: "ETHTOOL_A_STRINGSET_ID"}, + }}}, {StructKey{Name: "gfs2_options"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "gfs2_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "spectator", TypeSize: 9}, Kind: 2, Values: []string{"spectator"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, @@ -10138,6 +10189,30 @@ var structDescs_amd64 = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {StructKey{Name: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13627,6 +13702,28 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "linkinfo_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + }}}, + {StructKey{Name: "linkinfo_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PHYADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_TP_MDIX_CTRL"}, + }}}, + {StructKey{Name: "linkmodes_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + }}}, + {StructKey{Name: "linkmodes_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_AUTONEG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_DUPLEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, FldName: "ETHTOOL_A_LINKMODES_SPEED"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_OURS"}, + }}}, + {StructKey{Name: "linkstate_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkstate_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKSTATE_HEADER"}, + }}}, {StructKey{Name: "llc_generic_packet"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "dsap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "ssap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, @@ -15322,6 +15419,72 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -19000,6 +19163,60 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[DEVLINK_CMD_RELOAD]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "devlink_reload"}}}, }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkstate_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "strset_get_policy"}}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "type", TypeSize: 2}}, @@ -22027,6 +22244,119 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]", TypeSize: 20}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethnl_flags", FldName: "payload", TypeSize: 4}}, []uint64{1, 2}, true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "payload", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]", TypeSize: 8}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -31571,6 +31901,78 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bit_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bitset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "get_stringset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 26}, @@ -40014,6 +40416,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nsec", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "__reserved", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "strset_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "strset_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_STRSET_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, FldName: "ETHTOOL_A_STRSET_STRINGSETS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, FldName: "ETHTOOL_A_STRSET_COUNTS_ONLY"}, + }}}, {StructKey{Name: "sync_serial_settings"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, @@ -60295,6 +60702,36 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]]"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 46, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$ETHTOOL_MSG_LINKSTATE_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 46, Name: "sendmsg$ETHTOOL_MSG_STRSET_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 46, Name: "sendmsg$FOU_CMD_ADD", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}}}, @@ -64161,6 +64598,9 @@ var syscalls_amd64 = []*Syscall{ {Name: "syz_genetlink_get_family_id$devlink", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"devlink\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_devlink_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$ethtool", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"ethtool\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$fou", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"fou\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -67189,8 +67629,37 @@ var consts_amd64 = []ConstValue{ {"ESP_V4_FLOW", 10}, {"ESP_V6_FLOW", 12}, {"ETHER_FLOW", 18}, + {"ETHTOOL_A_BITSET_BITS", 3}, + {"ETHTOOL_A_BITSET_BITS_BIT", 1}, + {"ETHTOOL_A_BITSET_BIT_INDEX", 1}, + {"ETHTOOL_A_BITSET_BIT_NAME", 2}, + {"ETHTOOL_A_BITSET_BIT_VALUE", 3}, + {"ETHTOOL_A_BITSET_MASK", 5}, + {"ETHTOOL_A_BITSET_NOMASK", 1}, + {"ETHTOOL_A_BITSET_SIZE", 2}, + {"ETHTOOL_A_BITSET_VALUE", 4}, + {"ETHTOOL_A_HEADER_DEV_INDEX", 1}, + {"ETHTOOL_A_HEADER_DEV_NAME", 2}, + {"ETHTOOL_A_HEADER_FLAGS", 3}, + {"ETHTOOL_A_LINKINFO_HEADER", 1}, + {"ETHTOOL_A_LINKINFO_PHYADDR", 3}, + {"ETHTOOL_A_LINKINFO_PORT", 2}, + {"ETHTOOL_A_LINKINFO_TP_MDIX_CTRL", 5}, + {"ETHTOOL_A_LINKMODES_AUTONEG", 2}, + {"ETHTOOL_A_LINKMODES_DUPLEX", 6}, + {"ETHTOOL_A_LINKMODES_HEADER", 1}, + {"ETHTOOL_A_LINKMODES_OURS", 3}, + {"ETHTOOL_A_LINKMODES_SPEED", 5}, + {"ETHTOOL_A_LINKSTATE_HEADER", 1}, + {"ETHTOOL_A_STRINGSETS_STRINGSET", 1}, + {"ETHTOOL_A_STRINGSET_ID", 1}, + {"ETHTOOL_A_STRSET_COUNTS_ONLY", 3}, + {"ETHTOOL_A_STRSET_HEADER", 1}, + {"ETHTOOL_A_STRSET_STRINGSETS", 2}, {"ETHTOOL_BUSINFO_LEN", 32}, {"ETHTOOL_EROMVERS_LEN", 32}, + {"ETHTOOL_FLAG_COMPACT_BITSETS", 1}, + {"ETHTOOL_FLAG_OMIT_REPLY", 2}, {"ETHTOOL_FLASHDEV", 51}, {"ETHTOOL_FLASH_MAX_FILENAME", 128}, {"ETHTOOL_FWVERS_LEN", 32}, @@ -67236,6 +67705,12 @@ var consts_amd64 = []ConstValue{ {"ETHTOOL_GTXCSUM", 22}, {"ETHTOOL_GUFO", 33}, {"ETHTOOL_GWOL", 5}, + {"ETHTOOL_MSG_LINKINFO_GET", 2}, + {"ETHTOOL_MSG_LINKINFO_SET", 3}, + {"ETHTOOL_MSG_LINKMODES_GET", 4}, + {"ETHTOOL_MSG_LINKMODES_SET", 5}, + {"ETHTOOL_MSG_LINKSTATE_GET", 6}, + {"ETHTOOL_MSG_STRSET_GET", 1}, {"ETHTOOL_NWAY_RST", 9}, {"ETHTOOL_PERQUEUE", 75}, {"ETHTOOL_PHYS_ID", 28}, @@ -67361,6 +67836,15 @@ var consts_amd64 = []ConstValue{ {"ETH_P_X25", 2053}, {"ETH_P_XDSA", 248}, {"ETH_RX_NFC_IP4", 1}, + {"ETH_SS_FEATURES", 4}, + {"ETH_SS_NTUPLE_FILTERS", 3}, + {"ETH_SS_PHY_STATS", 7}, + {"ETH_SS_PHY_TUNABLES", 8}, + {"ETH_SS_PRIV_FLAGS", 2}, + {"ETH_SS_RSS_HASH_FUNCS", 5}, + {"ETH_SS_STATS", 1}, + {Name: "ETH_SS_TEST"}, + {"ETH_SS_TUNABLES", 6}, {"ET_DYN", 3}, {"ET_EXEC", 2}, {"EVIOCGABS0", 2149074240}, @@ -69597,7 +70081,6 @@ var consts_amd64 = []ConstValue{ {"MAX_HEAP_NAME", 32}, {"MAX_IDLETIMER_LABEL_SIZE", 28}, {"MAX_IPOPTLEN", 40}, - {"MAX_NUM_QUEUE", 4096}, {"MAX_PHYS_ITEM_ID_LEN", 32}, {"MCAST_BLOCK_SOURCE", 43}, {Name: "MCAST_EXCLUDE"}, @@ -75905,6 +76388,7 @@ var consts_amd64 = []ConstValue{ {"bpf_call_code", 133}, {"bpf_exit_code", 149}, {"bpf_insn_load_imm_dw", 24}, + {"ethtool_per_queue_op_size", 128}, } -const revision_amd64 = "ff34a895378cfce6d343dd0117680a1a21cb11aa" +const revision_amd64 = "2910ac122d1772f3b70f8a6410c8f91f973e8051" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index e18737e89..5bafb15de 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -155,6 +155,7 @@ var resources_arm = []*ResourceDesc{ {Name: "flow_handle", Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_batadv_family_id", Kind: []string{"genl_batadv_family_id"}, Values: []uint64{0}}, {Name: "genl_devlink_family_id", Kind: []string{"genl_devlink_family_id"}, Values: []uint64{0}}, + {Name: "genl_ethtool_family_id", Kind: []string{"genl_ethtool_family_id"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, @@ -1054,6 +1055,18 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {StructKey{Name: "bit_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bit_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_BIT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, FldName: "ETHTOOL_A_BITSET_BIT_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, FldName: "ETHTOOL_A_BITSET_BIT_NAME"}, + }}}, + {StructKey{Name: "bitset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bitset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, FldName: "ETHTOOL_A_BITSET_NOMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_SIZE"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, FldName: "ETHTOOL_A_BITSET_BITS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_MASK"}, + }}}, {StructKey{Name: "blk_user_trace_setup"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "blk_user_trace_setup", TypeSize: 72}, Fields: []Type{ &ArrayType{TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, 1, 32, 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "act_mask", TypeSize: 2}}}, @@ -4623,6 +4636,11 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{"mac_addr", 2}, FldName: "h_source"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "h_proto", TypeSize: 2, ArgDir: 2}, ArgFormat: 1}}, }}}, + {StructKey{Name: "ethnl_header_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethnl_header_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, FldName: "ETHTOOL_A_HEADER_DEV_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, FldName: "ETHTOOL_A_HEADER_DEV_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, FldName: "ETHTOOL_A_HEADER_FLAGS"}, + }}}, {StructKey{"ethtool_ah_espip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4dst"}, @@ -4649,7 +4667,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "combined_count", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_cmd", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", TypeSize: 44, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "advertising", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "speed", TypeSize: 2, ArgDir: 2}}}, @@ -4763,7 +4781,7 @@ var structDescs_arm = []*KeyedStruct{ {StructKey{"ethtool_flash", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flash", TypeSize: 136, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "region", TypeSize: 4, ArgDir: 2}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 1, RangeBegin: 128, RangeEnd: 128}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 3}, }}}, {StructKey{"ethtool_flow_ext", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flow_ext", TypeSize: 20, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "padding", TypeSize: 2, ArgDir: 2}}}, @@ -4789,10 +4807,10 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hdata", TypeSize: 52, ArgDir: 2}, Kind: 1, RangeBegin: 52, RangeEnd: 52}, }}}, {StructKey{"ethtool_get_features_block", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_get_features_block", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "available", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "active", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "available", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "active", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_gfeatures", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gfeatures", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 58}, @@ -4801,7 +4819,7 @@ var structDescs_arm = []*KeyedStruct{ }}}, {StructKey{"ethtool_gstrings", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gstrings", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 27}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "string_set", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "string_set", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"data"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, @@ -4833,8 +4851,8 @@ var structDescs_arm = []*KeyedStruct{ }}}, {StructKey{"ethtool_per_queue_op", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_op", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 75}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 16384, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 4096, 4096}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_sub_cmd", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{14, 15}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 512, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 128, 128}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, {StructKey{"ethtool_perm_addr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_perm_addr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ @@ -4964,12 +4982,12 @@ var structDescs_arm = []*KeyedStruct{ }}}, {StructKey{"ethtool_ts_info", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ts_info", TypeSize: 44, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 65}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, }}}, {StructKey{"ethtool_usrip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_usrip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, @@ -7421,6 +7439,36 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, {StructKey{Name: "genlmsghdr_t[FOU_CMD_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[FOU_CMD_ADD]", TypeSize: 4}, []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8056,6 +8104,9 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "get_stringset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "get_stringset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, FldName: "ETHTOOL_A_STRINGSET_ID"}, + }}}, {StructKey{Name: "gfs2_options"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "gfs2_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "spectator", TypeSize: 9}, Kind: 2, Values: []string{"spectator"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, @@ -10022,6 +10073,30 @@ var structDescs_arm = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {StructKey{Name: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -13319,6 +13394,28 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "linkinfo_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + }}}, + {StructKey{Name: "linkinfo_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PHYADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_TP_MDIX_CTRL"}, + }}}, + {StructKey{Name: "linkmodes_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + }}}, + {StructKey{Name: "linkmodes_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_AUTONEG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_DUPLEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, FldName: "ETHTOOL_A_LINKMODES_SPEED"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_OURS"}, + }}}, + {StructKey{Name: "linkstate_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkstate_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKSTATE_HEADER"}, + }}}, {StructKey{Name: "llc_generic_packet"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "dsap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "ssap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, @@ -14836,6 +14933,60 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}}, {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -18203,6 +18354,60 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[DEVLINK_CMD_RELOAD]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "devlink_reload"}}}, }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkstate_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "strset_get_policy"}}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "type", TypeSize: 2}}, @@ -21228,6 +21433,119 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]", TypeSize: 20}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethnl_flags", FldName: "payload", TypeSize: 4}}, []uint64{1, 2}, true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "payload", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]", TypeSize: 8}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -30772,6 +31090,78 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bit_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bitset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "get_stringset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 26}, @@ -39194,6 +39584,11 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nsec", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "__reserved", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "strset_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "strset_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_STRSET_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, FldName: "ETHTOOL_A_STRSET_STRINGSETS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, FldName: "ETHTOOL_A_STRSET_COUNTS_ONLY"}, + }}}, {StructKey{Name: "sync_serial_settings"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, @@ -59103,6 +59498,36 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]]"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 296, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$ETHTOOL_MSG_LINKSTATE_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 296, Name: "sendmsg$ETHTOOL_MSG_STRSET_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 296, Name: "sendmsg$FOU_CMD_ADD", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}}}, @@ -62964,6 +63389,9 @@ var syscalls_arm = []*Syscall{ {Name: "syz_genetlink_get_family_id$devlink", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"devlink\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_devlink_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$ethtool", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"ethtool\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$fou", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"fou\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -65976,8 +66404,37 @@ var consts_arm = []ConstValue{ {"ESP_V4_FLOW", 10}, {"ESP_V6_FLOW", 12}, {"ETHER_FLOW", 18}, + {"ETHTOOL_A_BITSET_BITS", 3}, + {"ETHTOOL_A_BITSET_BITS_BIT", 1}, + {"ETHTOOL_A_BITSET_BIT_INDEX", 1}, + {"ETHTOOL_A_BITSET_BIT_NAME", 2}, + {"ETHTOOL_A_BITSET_BIT_VALUE", 3}, + {"ETHTOOL_A_BITSET_MASK", 5}, + {"ETHTOOL_A_BITSET_NOMASK", 1}, + {"ETHTOOL_A_BITSET_SIZE", 2}, + {"ETHTOOL_A_BITSET_VALUE", 4}, + {"ETHTOOL_A_HEADER_DEV_INDEX", 1}, + {"ETHTOOL_A_HEADER_DEV_NAME", 2}, + {"ETHTOOL_A_HEADER_FLAGS", 3}, + {"ETHTOOL_A_LINKINFO_HEADER", 1}, + {"ETHTOOL_A_LINKINFO_PHYADDR", 3}, + {"ETHTOOL_A_LINKINFO_PORT", 2}, + {"ETHTOOL_A_LINKINFO_TP_MDIX_CTRL", 5}, + {"ETHTOOL_A_LINKMODES_AUTONEG", 2}, + {"ETHTOOL_A_LINKMODES_DUPLEX", 6}, + {"ETHTOOL_A_LINKMODES_HEADER", 1}, + {"ETHTOOL_A_LINKMODES_OURS", 3}, + {"ETHTOOL_A_LINKMODES_SPEED", 5}, + {"ETHTOOL_A_LINKSTATE_HEADER", 1}, + {"ETHTOOL_A_STRINGSETS_STRINGSET", 1}, + {"ETHTOOL_A_STRINGSET_ID", 1}, + {"ETHTOOL_A_STRSET_COUNTS_ONLY", 3}, + {"ETHTOOL_A_STRSET_HEADER", 1}, + {"ETHTOOL_A_STRSET_STRINGSETS", 2}, {"ETHTOOL_BUSINFO_LEN", 32}, {"ETHTOOL_EROMVERS_LEN", 32}, + {"ETHTOOL_FLAG_COMPACT_BITSETS", 1}, + {"ETHTOOL_FLAG_OMIT_REPLY", 2}, {"ETHTOOL_FLASHDEV", 51}, {"ETHTOOL_FLASH_MAX_FILENAME", 128}, {"ETHTOOL_FWVERS_LEN", 32}, @@ -66023,6 +66480,12 @@ var consts_arm = []ConstValue{ {"ETHTOOL_GTXCSUM", 22}, {"ETHTOOL_GUFO", 33}, {"ETHTOOL_GWOL", 5}, + {"ETHTOOL_MSG_LINKINFO_GET", 2}, + {"ETHTOOL_MSG_LINKINFO_SET", 3}, + {"ETHTOOL_MSG_LINKMODES_GET", 4}, + {"ETHTOOL_MSG_LINKMODES_SET", 5}, + {"ETHTOOL_MSG_LINKSTATE_GET", 6}, + {"ETHTOOL_MSG_STRSET_GET", 1}, {"ETHTOOL_NWAY_RST", 9}, {"ETHTOOL_PERQUEUE", 75}, {"ETHTOOL_PHYS_ID", 28}, @@ -66148,6 +66611,15 @@ var consts_arm = []ConstValue{ {"ETH_P_X25", 2053}, {"ETH_P_XDSA", 248}, {"ETH_RX_NFC_IP4", 1}, + {"ETH_SS_FEATURES", 4}, + {"ETH_SS_NTUPLE_FILTERS", 3}, + {"ETH_SS_PHY_STATS", 7}, + {"ETH_SS_PHY_TUNABLES", 8}, + {"ETH_SS_PRIV_FLAGS", 2}, + {"ETH_SS_RSS_HASH_FUNCS", 5}, + {"ETH_SS_STATS", 1}, + {Name: "ETH_SS_TEST"}, + {"ETH_SS_TUNABLES", 6}, {"ET_DYN", 3}, {"ET_EXEC", 2}, {"EVIOCGABS0", 2149074240}, @@ -68346,7 +68818,6 @@ var consts_arm = []ConstValue{ {"MAX_HEAP_NAME", 32}, {"MAX_IDLETIMER_LABEL_SIZE", 28}, {"MAX_IPOPTLEN", 40}, - {"MAX_NUM_QUEUE", 4096}, {"MAX_PHYS_ITEM_ID_LEN", 32}, {"MCAST_BLOCK_SOURCE", 43}, {Name: "MCAST_EXCLUDE"}, @@ -74613,6 +75084,7 @@ var consts_arm = []ConstValue{ {"bpf_call_code", 133}, {"bpf_exit_code", 149}, {"bpf_insn_load_imm_dw", 24}, + {"ethtool_per_queue_op_size", 128}, } -const revision_arm = "753f6663d780892ef274baf313953c61f92921d7" +const revision_arm = "7bb259f6e65934fb94b74687f354bcd1c8d5e337" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 3e62c15dc..6b58293d3 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -155,6 +155,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "flow_handle", Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_batadv_family_id", Kind: []string{"genl_batadv_family_id"}, Values: []uint64{0}}, {Name: "genl_devlink_family_id", Kind: []string{"genl_devlink_family_id"}, Values: []uint64{0}}, + {Name: "genl_ethtool_family_id", Kind: []string{"genl_ethtool_family_id"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, @@ -1056,6 +1057,18 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {StructKey{Name: "bit_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bit_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_BIT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, FldName: "ETHTOOL_A_BITSET_BIT_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, FldName: "ETHTOOL_A_BITSET_BIT_NAME"}, + }}}, + {StructKey{Name: "bitset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bitset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, FldName: "ETHTOOL_A_BITSET_NOMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_SIZE"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, FldName: "ETHTOOL_A_BITSET_BITS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_MASK"}, + }}}, {StructKey{Name: "blk_user_trace_setup"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "blk_user_trace_setup", TypeSize: 72}, Fields: []Type{ &ArrayType{TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, 1, 32, 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "act_mask", TypeSize: 2}}}, @@ -4712,6 +4725,11 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{"mac_addr", 2}, FldName: "h_source"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "h_proto", TypeSize: 2, ArgDir: 2}, ArgFormat: 1}}, }}}, + {StructKey{Name: "ethnl_header_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethnl_header_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, FldName: "ETHTOOL_A_HEADER_DEV_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, FldName: "ETHTOOL_A_HEADER_DEV_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, FldName: "ETHTOOL_A_HEADER_FLAGS"}, + }}}, {StructKey{"ethtool_ah_espip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4dst"}, @@ -4738,7 +4756,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "combined_count", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_cmd", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", TypeSize: 44, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "advertising", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "speed", TypeSize: 2, ArgDir: 2}}}, @@ -4852,7 +4870,7 @@ var structDescs_arm64 = []*KeyedStruct{ {StructKey{"ethtool_flash", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flash", TypeSize: 136, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "region", TypeSize: 4, ArgDir: 2}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 1, RangeBegin: 128, RangeEnd: 128}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 3}, }}}, {StructKey{"ethtool_flow_ext", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flow_ext", TypeSize: 20, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "padding", TypeSize: 2, ArgDir: 2}}}, @@ -4878,10 +4896,10 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hdata", TypeSize: 52, ArgDir: 2}, Kind: 1, RangeBegin: 52, RangeEnd: 52}, }}}, {StructKey{"ethtool_get_features_block", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_get_features_block", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "available", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "active", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "available", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "active", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_gfeatures", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gfeatures", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 58}, @@ -4890,7 +4908,7 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {StructKey{"ethtool_gstrings", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gstrings", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 27}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "string_set", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "string_set", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"data"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, @@ -4922,8 +4940,8 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {StructKey{"ethtool_per_queue_op", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_op", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 75}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 16384, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 4096, 4096}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_sub_cmd", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{14, 15}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 512, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 128, 128}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, {StructKey{"ethtool_perm_addr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_perm_addr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ @@ -5053,12 +5071,12 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {StructKey{"ethtool_ts_info", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ts_info", TypeSize: 44, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 65}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, }}}, {StructKey{"ethtool_usrip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_usrip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, @@ -7521,6 +7539,36 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, {StructKey{Name: "genlmsghdr_t[FOU_CMD_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[FOU_CMD_ADD]", TypeSize: 4}, []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8156,6 +8204,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "get_stringset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "get_stringset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, FldName: "ETHTOOL_A_STRINGSET_ID"}, + }}}, {StructKey{Name: "gfs2_options"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "gfs2_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "spectator", TypeSize: 9}, Kind: 2, Values: []string{"spectator"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, @@ -10138,6 +10189,30 @@ var structDescs_arm64 = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {StructKey{Name: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13436,6 +13511,28 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "linkinfo_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + }}}, + {StructKey{Name: "linkinfo_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PHYADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_TP_MDIX_CTRL"}, + }}}, + {StructKey{Name: "linkmodes_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + }}}, + {StructKey{Name: "linkmodes_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_AUTONEG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_DUPLEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, FldName: "ETHTOOL_A_LINKMODES_SPEED"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_OURS"}, + }}}, + {StructKey{Name: "linkstate_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkstate_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKSTATE_HEADER"}, + }}}, {StructKey{Name: "llc_generic_packet"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "dsap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "ssap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, @@ -15131,6 +15228,72 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -18809,6 +18972,60 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[DEVLINK_CMD_RELOAD]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "devlink_reload"}}}, }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkstate_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "strset_get_policy"}}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "type", TypeSize: 2}}, @@ -21836,6 +22053,119 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]", TypeSize: 20}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethnl_flags", FldName: "payload", TypeSize: 4}}, []uint64{1, 2}, true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "payload", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]", TypeSize: 8}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -31380,6 +31710,78 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bit_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bitset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "get_stringset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 26}, @@ -39823,6 +40225,11 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nsec", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "__reserved", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "strset_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "strset_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_STRSET_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, FldName: "ETHTOOL_A_STRSET_STRINGSETS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, FldName: "ETHTOOL_A_STRSET_COUNTS_ONLY"}, + }}}, {StructKey{Name: "sync_serial_settings"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, @@ -59791,6 +60198,36 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]]"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 211, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$ETHTOOL_MSG_LINKSTATE_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 211, Name: "sendmsg$ETHTOOL_MSG_STRSET_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 211, Name: "sendmsg$FOU_CMD_ADD", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}}}, @@ -63629,6 +64066,9 @@ var syscalls_arm64 = []*Syscall{ {Name: "syz_genetlink_get_family_id$devlink", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"devlink\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_devlink_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$ethtool", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"ethtool\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$fou", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"fou\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -66627,8 +67067,37 @@ var consts_arm64 = []ConstValue{ {"ESP_V4_FLOW", 10}, {"ESP_V6_FLOW", 12}, {"ETHER_FLOW", 18}, + {"ETHTOOL_A_BITSET_BITS", 3}, + {"ETHTOOL_A_BITSET_BITS_BIT", 1}, + {"ETHTOOL_A_BITSET_BIT_INDEX", 1}, + {"ETHTOOL_A_BITSET_BIT_NAME", 2}, + {"ETHTOOL_A_BITSET_BIT_VALUE", 3}, + {"ETHTOOL_A_BITSET_MASK", 5}, + {"ETHTOOL_A_BITSET_NOMASK", 1}, + {"ETHTOOL_A_BITSET_SIZE", 2}, + {"ETHTOOL_A_BITSET_VALUE", 4}, + {"ETHTOOL_A_HEADER_DEV_INDEX", 1}, + {"ETHTOOL_A_HEADER_DEV_NAME", 2}, + {"ETHTOOL_A_HEADER_FLAGS", 3}, + {"ETHTOOL_A_LINKINFO_HEADER", 1}, + {"ETHTOOL_A_LINKINFO_PHYADDR", 3}, + {"ETHTOOL_A_LINKINFO_PORT", 2}, + {"ETHTOOL_A_LINKINFO_TP_MDIX_CTRL", 5}, + {"ETHTOOL_A_LINKMODES_AUTONEG", 2}, + {"ETHTOOL_A_LINKMODES_DUPLEX", 6}, + {"ETHTOOL_A_LINKMODES_HEADER", 1}, + {"ETHTOOL_A_LINKMODES_OURS", 3}, + {"ETHTOOL_A_LINKMODES_SPEED", 5}, + {"ETHTOOL_A_LINKSTATE_HEADER", 1}, + {"ETHTOOL_A_STRINGSETS_STRINGSET", 1}, + {"ETHTOOL_A_STRINGSET_ID", 1}, + {"ETHTOOL_A_STRSET_COUNTS_ONLY", 3}, + {"ETHTOOL_A_STRSET_HEADER", 1}, + {"ETHTOOL_A_STRSET_STRINGSETS", 2}, {"ETHTOOL_BUSINFO_LEN", 32}, {"ETHTOOL_EROMVERS_LEN", 32}, + {"ETHTOOL_FLAG_COMPACT_BITSETS", 1}, + {"ETHTOOL_FLAG_OMIT_REPLY", 2}, {"ETHTOOL_FLASHDEV", 51}, {"ETHTOOL_FLASH_MAX_FILENAME", 128}, {"ETHTOOL_FWVERS_LEN", 32}, @@ -66674,6 +67143,12 @@ var consts_arm64 = []ConstValue{ {"ETHTOOL_GTXCSUM", 22}, {"ETHTOOL_GUFO", 33}, {"ETHTOOL_GWOL", 5}, + {"ETHTOOL_MSG_LINKINFO_GET", 2}, + {"ETHTOOL_MSG_LINKINFO_SET", 3}, + {"ETHTOOL_MSG_LINKMODES_GET", 4}, + {"ETHTOOL_MSG_LINKMODES_SET", 5}, + {"ETHTOOL_MSG_LINKSTATE_GET", 6}, + {"ETHTOOL_MSG_STRSET_GET", 1}, {"ETHTOOL_NWAY_RST", 9}, {"ETHTOOL_PERQUEUE", 75}, {"ETHTOOL_PHYS_ID", 28}, @@ -66799,6 +67274,15 @@ var consts_arm64 = []ConstValue{ {"ETH_P_X25", 2053}, {"ETH_P_XDSA", 248}, {"ETH_RX_NFC_IP4", 1}, + {"ETH_SS_FEATURES", 4}, + {"ETH_SS_NTUPLE_FILTERS", 3}, + {"ETH_SS_PHY_STATS", 7}, + {"ETH_SS_PHY_TUNABLES", 8}, + {"ETH_SS_PRIV_FLAGS", 2}, + {"ETH_SS_RSS_HASH_FUNCS", 5}, + {"ETH_SS_STATS", 1}, + {Name: "ETH_SS_TEST"}, + {"ETH_SS_TUNABLES", 6}, {"ET_DYN", 3}, {"ET_EXEC", 2}, {"EVIOCGABS0", 2149074240}, @@ -69007,7 +69491,6 @@ var consts_arm64 = []ConstValue{ {"MAX_HEAP_NAME", 32}, {"MAX_IDLETIMER_LABEL_SIZE", 28}, {"MAX_IPOPTLEN", 40}, - {"MAX_NUM_QUEUE", 4096}, {"MAX_PHYS_ITEM_ID_LEN", 32}, {"MCAST_BLOCK_SOURCE", 43}, {Name: "MCAST_EXCLUDE"}, @@ -75250,6 +75733,7 @@ var consts_arm64 = []ConstValue{ {"bpf_call_code", 133}, {"bpf_exit_code", 149}, {"bpf_insn_load_imm_dw", 24}, + {"ethtool_per_queue_op_size", 128}, } -const revision_arm64 = "95d9d2f8bb59850fb2980a40f8fd2f133199071f" +const revision_arm64 = "55a5837ff58d1447409f66c29bfc3e37d1de6d40" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 28c6e6020..52295c19d 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -153,6 +153,7 @@ var resources_mips64le = []*ResourceDesc{ {Name: "flow_handle", Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_batadv_family_id", Kind: []string{"genl_batadv_family_id"}, Values: []uint64{0}}, {Name: "genl_devlink_family_id", Kind: []string{"genl_devlink_family_id"}, Values: []uint64{0}}, + {Name: "genl_ethtool_family_id", Kind: []string{"genl_ethtool_family_id"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, @@ -1053,6 +1054,18 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {StructKey{Name: "bit_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bit_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_BIT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, FldName: "ETHTOOL_A_BITSET_BIT_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, FldName: "ETHTOOL_A_BITSET_BIT_NAME"}, + }}}, + {StructKey{Name: "bitset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bitset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, FldName: "ETHTOOL_A_BITSET_NOMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_SIZE"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, FldName: "ETHTOOL_A_BITSET_BITS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_MASK"}, + }}}, {StructKey{Name: "blk_user_trace_setup"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "blk_user_trace_setup", TypeSize: 72}, Fields: []Type{ &ArrayType{TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, 1, 32, 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "act_mask", TypeSize: 2}}}, @@ -4709,6 +4722,11 @@ var structDescs_mips64le = []*KeyedStruct{ &UnionType{Key: StructKey{"mac_addr", 2}, FldName: "h_source"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "h_proto", TypeSize: 2, ArgDir: 2}, ArgFormat: 1}}, }}}, + {StructKey{Name: "ethnl_header_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethnl_header_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, FldName: "ETHTOOL_A_HEADER_DEV_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, FldName: "ETHTOOL_A_HEADER_DEV_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, FldName: "ETHTOOL_A_HEADER_FLAGS"}, + }}}, {StructKey{"ethtool_ah_espip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4dst"}, @@ -4735,7 +4753,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "combined_count", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_cmd", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", TypeSize: 44, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "advertising", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "speed", TypeSize: 2, ArgDir: 2}}}, @@ -4849,7 +4867,7 @@ var structDescs_mips64le = []*KeyedStruct{ {StructKey{"ethtool_flash", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flash", TypeSize: 136, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "region", TypeSize: 4, ArgDir: 2}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 1, RangeBegin: 128, RangeEnd: 128}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 3}, }}}, {StructKey{"ethtool_flow_ext", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flow_ext", TypeSize: 20, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "padding", TypeSize: 2, ArgDir: 2}}}, @@ -4875,10 +4893,10 @@ var structDescs_mips64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hdata", TypeSize: 52, ArgDir: 2}, Kind: 1, RangeBegin: 52, RangeEnd: 52}, }}}, {StructKey{"ethtool_get_features_block", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_get_features_block", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "available", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "active", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "available", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "active", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_gfeatures", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gfeatures", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 58}, @@ -4887,7 +4905,7 @@ var structDescs_mips64le = []*KeyedStruct{ }}}, {StructKey{"ethtool_gstrings", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gstrings", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 27}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "string_set", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "string_set", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"data"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, @@ -4919,8 +4937,8 @@ var structDescs_mips64le = []*KeyedStruct{ }}}, {StructKey{"ethtool_per_queue_op", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_op", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 75}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 16384, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 4096, 4096}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_sub_cmd", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{14, 15}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 512, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 128, 128}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, {StructKey{"ethtool_perm_addr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_perm_addr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ @@ -5050,12 +5068,12 @@ var structDescs_mips64le = []*KeyedStruct{ }}}, {StructKey{"ethtool_ts_info", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ts_info", TypeSize: 44, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 65}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, }}}, {StructKey{"ethtool_usrip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_usrip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, @@ -7518,6 +7536,36 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, {StructKey{Name: "genlmsghdr_t[FOU_CMD_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[FOU_CMD_ADD]", TypeSize: 4}, []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8153,6 +8201,9 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "get_stringset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "get_stringset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, FldName: "ETHTOOL_A_STRINGSET_ID"}, + }}}, {StructKey{Name: "gfs2_options"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "gfs2_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "spectator", TypeSize: 9}, Kind: 2, Values: []string{"spectator"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, @@ -10135,6 +10186,30 @@ var structDescs_mips64le = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {StructKey{Name: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13380,6 +13455,28 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "linkinfo_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + }}}, + {StructKey{Name: "linkinfo_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PHYADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_TP_MDIX_CTRL"}, + }}}, + {StructKey{Name: "linkmodes_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + }}}, + {StructKey{Name: "linkmodes_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_AUTONEG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_DUPLEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, FldName: "ETHTOOL_A_LINKMODES_SPEED"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_OURS"}, + }}}, + {StructKey{Name: "linkstate_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkstate_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKSTATE_HEADER"}, + }}}, {StructKey{Name: "llc_generic_packet"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "dsap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "ssap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, @@ -15075,6 +15172,72 @@ var structDescs_mips64le = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -18753,6 +18916,60 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[DEVLINK_CMD_RELOAD]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "devlink_reload"}}}, }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkstate_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "strset_get_policy"}}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "type", TypeSize: 2}}, @@ -21780,6 +21997,119 @@ var structDescs_mips64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]", TypeSize: 20}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethnl_flags", FldName: "payload", TypeSize: 4}}, []uint64{1, 2}, true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "payload", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]", TypeSize: 8}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -31324,6 +31654,78 @@ var structDescs_mips64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bit_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bitset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "get_stringset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 26}, @@ -39781,6 +40183,11 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nsec", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "__reserved", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "strset_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "strset_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_STRSET_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, FldName: "ETHTOOL_A_STRSET_STRINGSETS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, FldName: "ETHTOOL_A_STRSET_COUNTS_ONLY"}, + }}}, {StructKey{Name: "sync_serial_settings"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, @@ -58440,6 +58847,36 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]]"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 5045, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$ETHTOOL_MSG_LINKSTATE_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 5045, Name: "sendmsg$ETHTOOL_MSG_STRSET_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 5045, Name: "sendmsg$FOU_CMD_ADD", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}}}, @@ -62306,6 +62743,9 @@ var syscalls_mips64le = []*Syscall{ {Name: "syz_genetlink_get_family_id$devlink", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"devlink\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_devlink_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$ethtool", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"ethtool\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$fou", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"fou\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -65319,8 +65759,37 @@ var consts_mips64le = []ConstValue{ {"ESP_V4_FLOW", 10}, {"ESP_V6_FLOW", 12}, {"ETHER_FLOW", 18}, + {"ETHTOOL_A_BITSET_BITS", 3}, + {"ETHTOOL_A_BITSET_BITS_BIT", 1}, + {"ETHTOOL_A_BITSET_BIT_INDEX", 1}, + {"ETHTOOL_A_BITSET_BIT_NAME", 2}, + {"ETHTOOL_A_BITSET_BIT_VALUE", 3}, + {"ETHTOOL_A_BITSET_MASK", 5}, + {"ETHTOOL_A_BITSET_NOMASK", 1}, + {"ETHTOOL_A_BITSET_SIZE", 2}, + {"ETHTOOL_A_BITSET_VALUE", 4}, + {"ETHTOOL_A_HEADER_DEV_INDEX", 1}, + {"ETHTOOL_A_HEADER_DEV_NAME", 2}, + {"ETHTOOL_A_HEADER_FLAGS", 3}, + {"ETHTOOL_A_LINKINFO_HEADER", 1}, + {"ETHTOOL_A_LINKINFO_PHYADDR", 3}, + {"ETHTOOL_A_LINKINFO_PORT", 2}, + {"ETHTOOL_A_LINKINFO_TP_MDIX_CTRL", 5}, + {"ETHTOOL_A_LINKMODES_AUTONEG", 2}, + {"ETHTOOL_A_LINKMODES_DUPLEX", 6}, + {"ETHTOOL_A_LINKMODES_HEADER", 1}, + {"ETHTOOL_A_LINKMODES_OURS", 3}, + {"ETHTOOL_A_LINKMODES_SPEED", 5}, + {"ETHTOOL_A_LINKSTATE_HEADER", 1}, + {"ETHTOOL_A_STRINGSETS_STRINGSET", 1}, + {"ETHTOOL_A_STRINGSET_ID", 1}, + {"ETHTOOL_A_STRSET_COUNTS_ONLY", 3}, + {"ETHTOOL_A_STRSET_HEADER", 1}, + {"ETHTOOL_A_STRSET_STRINGSETS", 2}, {"ETHTOOL_BUSINFO_LEN", 32}, {"ETHTOOL_EROMVERS_LEN", 32}, + {"ETHTOOL_FLAG_COMPACT_BITSETS", 1}, + {"ETHTOOL_FLAG_OMIT_REPLY", 2}, {"ETHTOOL_FLASHDEV", 51}, {"ETHTOOL_FLASH_MAX_FILENAME", 128}, {"ETHTOOL_FWVERS_LEN", 32}, @@ -65366,6 +65835,12 @@ var consts_mips64le = []ConstValue{ {"ETHTOOL_GTXCSUM", 22}, {"ETHTOOL_GUFO", 33}, {"ETHTOOL_GWOL", 5}, + {"ETHTOOL_MSG_LINKINFO_GET", 2}, + {"ETHTOOL_MSG_LINKINFO_SET", 3}, + {"ETHTOOL_MSG_LINKMODES_GET", 4}, + {"ETHTOOL_MSG_LINKMODES_SET", 5}, + {"ETHTOOL_MSG_LINKSTATE_GET", 6}, + {"ETHTOOL_MSG_STRSET_GET", 1}, {"ETHTOOL_NWAY_RST", 9}, {"ETHTOOL_PERQUEUE", 75}, {"ETHTOOL_PHYS_ID", 28}, @@ -65491,6 +65966,15 @@ var consts_mips64le = []ConstValue{ {"ETH_P_X25", 2053}, {"ETH_P_XDSA", 248}, {"ETH_RX_NFC_IP4", 1}, + {"ETH_SS_FEATURES", 4}, + {"ETH_SS_NTUPLE_FILTERS", 3}, + {"ETH_SS_PHY_STATS", 7}, + {"ETH_SS_PHY_TUNABLES", 8}, + {"ETH_SS_PRIV_FLAGS", 2}, + {"ETH_SS_RSS_HASH_FUNCS", 5}, + {"ETH_SS_STATS", 1}, + {Name: "ETH_SS_TEST"}, + {"ETH_SS_TUNABLES", 6}, {"ET_DYN", 3}, {"ET_EXEC", 2}, {"EVIOCGABS0", 1075332416}, @@ -67683,7 +68167,6 @@ var consts_mips64le = []ConstValue{ {"MAX_HEAP_NAME", 32}, {"MAX_IDLETIMER_LABEL_SIZE", 28}, {"MAX_IPOPTLEN", 40}, - {"MAX_NUM_QUEUE", 4096}, {"MAX_PHYS_ITEM_ID_LEN", 32}, {"MCAST_BLOCK_SOURCE", 43}, {Name: "MCAST_EXCLUDE"}, @@ -72911,6 +73394,7 @@ var consts_mips64le = []ConstValue{ {"bpf_call_code", 133}, {"bpf_exit_code", 149}, {"bpf_insn_load_imm_dw", 24}, + {"ethtool_per_queue_op_size", 128}, } -const revision_mips64le = "7e5e85d0f0ca0fdeaceca9448e3154efe868ccd7" +const revision_mips64le = "7706e02d8225692cddfb0256e6b9fc5591726d1f" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index d183a779f..5e7158ac9 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -155,6 +155,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "flow_handle", Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_batadv_family_id", Kind: []string{"genl_batadv_family_id"}, Values: []uint64{0}}, {Name: "genl_devlink_family_id", Kind: []string{"genl_devlink_family_id"}, Values: []uint64{0}}, + {Name: "genl_ethtool_family_id", Kind: []string{"genl_ethtool_family_id"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, @@ -1055,6 +1056,18 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "arg", IsVarlen: true}, Kind: 2, NoZ: true}, }}}, + {StructKey{Name: "bit_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bit_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_BIT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, FldName: "ETHTOOL_A_BITSET_BIT_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, FldName: "ETHTOOL_A_BITSET_BIT_NAME"}, + }}}, + {StructKey{Name: "bitset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bitset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, FldName: "ETHTOOL_A_BITSET_NOMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, FldName: "ETHTOOL_A_BITSET_SIZE"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, FldName: "ETHTOOL_A_BITSET_BITS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_VALUE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, FldName: "ETHTOOL_A_BITSET_MASK"}, + }}}, {StructKey{Name: "blk_user_trace_setup"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "blk_user_trace_setup", TypeSize: 72}, Fields: []Type{ &ArrayType{TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, 1, 32, 32}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "act_mask", TypeSize: 2}}}, @@ -4711,6 +4724,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{"mac_addr", 2}, FldName: "h_source"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "h_proto", TypeSize: 2, ArgDir: 2}, ArgFormat: 1}}, }}}, + {StructKey{Name: "ethnl_header_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethnl_header_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, FldName: "ETHTOOL_A_HEADER_DEV_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, FldName: "ETHTOOL_A_HEADER_DEV_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, FldName: "ETHTOOL_A_HEADER_FLAGS"}, + }}}, {StructKey{"ethtool_ah_espip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4dst"}, @@ -4737,7 +4755,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "combined_count", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_cmd", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", TypeSize: 44, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_flags", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "advertising", TypeSize: 4, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "speed", TypeSize: 2, ArgDir: 2}}}, @@ -4851,7 +4869,7 @@ var structDescs_ppc64le = []*KeyedStruct{ {StructKey{"ethtool_flash", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flash", TypeSize: 136, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "region", TypeSize: 4, ArgDir: 2}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 1, RangeBegin: 128, RangeEnd: 128}, + &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "data", TypeSize: 128, ArgDir: 2}, Kind: 3}, }}}, {StructKey{"ethtool_flow_ext", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_flow_ext", TypeSize: 20, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "padding", TypeSize: 2, ArgDir: 2}}}, @@ -4877,10 +4895,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "hdata", TypeSize: 52, ArgDir: 2}, Kind: 1, RangeBegin: 52, RangeEnd: 52}, }}}, {StructKey{"ethtool_get_features_block", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_get_features_block", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "available", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "active", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "available", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "requested", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "active", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "never_changed", TypeSize: 4, ArgDir: 2}}}, }}}, {StructKey{"ethtool_gfeatures", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gfeatures", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 58}, @@ -4889,7 +4907,7 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {StructKey{"ethtool_gstrings", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_gstrings", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 27}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "string_set", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "string_set", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"data"}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, @@ -4921,8 +4939,8 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {StructKey{"ethtool_per_queue_op", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_op", ArgDir: 2, IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 75}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 16384, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 4096, 4096}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_per_queue_sub_cmd", FldName: "sub_command", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{14, 15}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "queue_mask", TypeSize: 512, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 128, 128}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 2, IsVarlen: true}}, }}}, {StructKey{"ethtool_perm_addr", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_perm_addr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ @@ -5052,12 +5070,12 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {StructKey{"ethtool_ts_info", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_ts_info", TypeSize: 44, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4, ArgDir: 2}}, Val: 65}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, - &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "so_timestamping", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "phc_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "tx_types", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "tx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rx_filters", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "rx_reserved", TypeSize: 12, ArgDir: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 4, ArgDir: 2}}}, 1, 3, 3}, }}}, {StructKey{"ethtool_usrip4_spec", 2}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ethtool_usrip4_spec", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &UnionType{Key: StructKey{"ipv4_addr", 2}, FldName: "ip4src"}, @@ -7520,6 +7538,36 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, + {StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]", TypeSize: 4}, []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, 4}}, {StructKey{Name: "genlmsghdr_t[FOU_CMD_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[FOU_CMD_ADD]", TypeSize: 4}, []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8155,6 +8203,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, 4}}, + {StructKey{Name: "get_stringset_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "get_stringset_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, FldName: "ETHTOOL_A_STRINGSET_ID"}, + }}}, {StructKey{Name: "gfs2_options"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "gfs2_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "spectator", TypeSize: 9}, Kind: 2, Values: []string{"spectator"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "norecovery", TypeSize: 10}, Kind: 2, Values: []string{"norecovery"}, NoZ: true}, @@ -10137,6 +10188,30 @@ var structDescs_ppc64le = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {StructKey{Name: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13382,6 +13457,28 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "linkinfo_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + }}}, + {StructKey{Name: "linkinfo_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkinfo_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKINFO_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_PHYADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, FldName: "ETHTOOL_A_LINKINFO_TP_MDIX_CTRL"}, + }}}, + {StructKey{Name: "linkmodes_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + }}}, + {StructKey{Name: "linkmodes_set_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkmodes_set_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_AUTONEG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, FldName: "ETHTOOL_A_LINKMODES_DUPLEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, FldName: "ETHTOOL_A_LINKMODES_SPEED"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, FldName: "ETHTOOL_A_LINKMODES_OURS"}, + }}}, + {StructKey{Name: "linkstate_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "linkstate_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_LINKSTATE_HEADER"}, + }}}, {StructKey{Name: "llc_generic_packet"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsVarlen: true}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "dsap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sap_values", FldName: "ssap", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 14, 66, 78, 126, 128, 142, 170, 188, 212, 220, 224, 240, 244, 248, 252, 254, 255}}, @@ -15077,6 +15174,72 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -18755,6 +18918,60 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[DEVLINK_CMD_RELOAD]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "devlink_reload"}}}, }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkinfo_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkmodes_set_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "linkstate_get_policy"}}}, + }, 4}}, + {StructKey{Name: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[ETHTOOL_MSG_STRSET_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "strset_get_policy"}}}, + }, 4}}, {StructKey{Name: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "type", TypeSize: 2}}, @@ -21782,6 +21999,119 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_INDEX, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_NAME, int16], string]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_BIT_VALUE, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_MASK, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_NOMASK, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_SIZE, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_BITSET_VALUE, int16], array[int8]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_INDEX, int16], ifindex]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_DEV_NAME, int16], devname]", TypeSize: 20}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_HEADER_FLAGS, int16], flags[ethnl_flags, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethnl_flags", FldName: "payload", TypeSize: 4}}, []uint64{1, 2}, true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PHYADDR, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_PORT, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_AUTONEG, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_DUPLEX, int16], int8]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_LINKMODES_SPEED, int16], int32]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRINGSET_ID, int16], flags[ethtool_stringset, int32]]", TypeSize: 8}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ethtool_stringset", FldName: "payload", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]", TypeSize: 4}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "payload"}, Kind: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_AF, int16], flags[fou_families, int8]]", TypeSize: 8}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -31326,6 +31656,78 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_BITSET_BITS_BIT, int16:14], 0, 1, array[bit_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bit_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKINFO_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKMODES_OURS, int16:14], 0, 1, array[bitset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bitset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_LINKSTATE_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "get_stringset_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ethnl_header_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, + {StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRINGSETS_STRINGSET, int16:14], 0, 1, array[get_stringset_policy]]"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, 4}}, {StructKey{Name: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_tt[const[IFLA_AF_SPEC, int16:14], 0, 1, array[ifla_af_spec_policy]]", IsVarlen: true}, []Type{ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 26}, @@ -39783,6 +40185,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nsec", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "__reserved", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "strset_get_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "strset_get_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_HEADER, int16:14], 0, 1, array[ethnl_header_policy]]"}, FldName: "ETHTOOL_A_STRSET_HEADER"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[ETHTOOL_A_STRSET_STRINGSETS, int16:14], 0, 1, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]]"}, FldName: "ETHTOOL_A_STRSET_STRINGSETS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[ETHTOOL_A_STRSET_COUNTS_ONLY, int16], void]"}, FldName: "ETHTOOL_A_STRSET_COUNTS_ONLY"}, + }}}, {StructKey{Name: "sync_serial_settings"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}}, @@ -59773,6 +60180,36 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_devlink_family_id, genlmsghdr_t[DEVLINK_CMD_RELOAD], devlink_reload]]"}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, }}, + {NR: 341, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_GET], linkinfo_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$ETHTOOL_MSG_LINKINFO_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKINFO_SET], linkinfo_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_GET], linkmodes_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$ETHTOOL_MSG_LINKMODES_SET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKMODES_SET], linkmodes_set_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$ETHTOOL_MSG_LINKSTATE_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_LINKSTATE_GET], linkstate_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, + {NR: 341, Name: "sendmsg$ETHTOOL_MSG_STRSET_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[ETHTOOL_MSG_STRSET_GET], strset_get_policy]]"}}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true}, + }}, {NR: 341, Name: "sendmsg$FOU_CMD_ADD", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_fou_family_id, genlmsghdr_t[FOU_CMD_ADD], fou_nl_policy]]"}}}, @@ -63630,6 +64067,9 @@ var syscalls_ppc64le = []*Syscall{ {Name: "syz_genetlink_get_family_id$devlink", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"devlink\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_devlink_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$ethtool", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"ethtool\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ethtool_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$fou", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"fou\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_fou_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -66649,8 +67089,37 @@ var consts_ppc64le = []ConstValue{ {"ESP_V4_FLOW", 10}, {"ESP_V6_FLOW", 12}, {"ETHER_FLOW", 18}, + {"ETHTOOL_A_BITSET_BITS", 3}, + {"ETHTOOL_A_BITSET_BITS_BIT", 1}, + {"ETHTOOL_A_BITSET_BIT_INDEX", 1}, + {"ETHTOOL_A_BITSET_BIT_NAME", 2}, + {"ETHTOOL_A_BITSET_BIT_VALUE", 3}, + {"ETHTOOL_A_BITSET_MASK", 5}, + {"ETHTOOL_A_BITSET_NOMASK", 1}, + {"ETHTOOL_A_BITSET_SIZE", 2}, + {"ETHTOOL_A_BITSET_VALUE", 4}, + {"ETHTOOL_A_HEADER_DEV_INDEX", 1}, + {"ETHTOOL_A_HEADER_DEV_NAME", 2}, + {"ETHTOOL_A_HEADER_FLAGS", 3}, + {"ETHTOOL_A_LINKINFO_HEADER", 1}, + {"ETHTOOL_A_LINKINFO_PHYADDR", 3}, + {"ETHTOOL_A_LINKINFO_PORT", 2}, + {"ETHTOOL_A_LINKINFO_TP_MDIX_CTRL", 5}, + {"ETHTOOL_A_LINKMODES_AUTONEG", 2}, + {"ETHTOOL_A_LINKMODES_DUPLEX", 6}, + {"ETHTOOL_A_LINKMODES_HEADER", 1}, + {"ETHTOOL_A_LINKMODES_OURS", 3}, + {"ETHTOOL_A_LINKMODES_SPEED", 5}, + {"ETHTOOL_A_LINKSTATE_HEADER", 1}, + {"ETHTOOL_A_STRINGSETS_STRINGSET", 1}, + {"ETHTOOL_A_STRINGSET_ID", 1}, + {"ETHTOOL_A_STRSET_COUNTS_ONLY", 3}, + {"ETHTOOL_A_STRSET_HEADER", 1}, + {"ETHTOOL_A_STRSET_STRINGSETS", 2}, {"ETHTOOL_BUSINFO_LEN", 32}, {"ETHTOOL_EROMVERS_LEN", 32}, + {"ETHTOOL_FLAG_COMPACT_BITSETS", 1}, + {"ETHTOOL_FLAG_OMIT_REPLY", 2}, {"ETHTOOL_FLASHDEV", 51}, {"ETHTOOL_FLASH_MAX_FILENAME", 128}, {"ETHTOOL_FWVERS_LEN", 32}, @@ -66696,6 +67165,12 @@ var consts_ppc64le = []ConstValue{ {"ETHTOOL_GTXCSUM", 22}, {"ETHTOOL_GUFO", 33}, {"ETHTOOL_GWOL", 5}, + {"ETHTOOL_MSG_LINKINFO_GET", 2}, + {"ETHTOOL_MSG_LINKINFO_SET", 3}, + {"ETHTOOL_MSG_LINKMODES_GET", 4}, + {"ETHTOOL_MSG_LINKMODES_SET", 5}, + {"ETHTOOL_MSG_LINKSTATE_GET", 6}, + {"ETHTOOL_MSG_STRSET_GET", 1}, {"ETHTOOL_NWAY_RST", 9}, {"ETHTOOL_PERQUEUE", 75}, {"ETHTOOL_PHYS_ID", 28}, @@ -66821,6 +67296,15 @@ var consts_ppc64le = []ConstValue{ {"ETH_P_X25", 2053}, {"ETH_P_XDSA", 248}, {"ETH_RX_NFC_IP4", 1}, + {"ETH_SS_FEATURES", 4}, + {"ETH_SS_NTUPLE_FILTERS", 3}, + {"ETH_SS_PHY_STATS", 7}, + {"ETH_SS_PHY_TUNABLES", 8}, + {"ETH_SS_PRIV_FLAGS", 2}, + {"ETH_SS_RSS_HASH_FUNCS", 5}, + {"ETH_SS_STATS", 1}, + {Name: "ETH_SS_TEST"}, + {"ETH_SS_TUNABLES", 6}, {"ET_DYN", 3}, {"ET_EXEC", 2}, {"EVIOCGABS0", 1075332416}, @@ -69016,7 +69500,6 @@ var consts_ppc64le = []ConstValue{ {"MAX_HEAP_NAME", 32}, {"MAX_IDLETIMER_LABEL_SIZE", 28}, {"MAX_IPOPTLEN", 40}, - {"MAX_NUM_QUEUE", 4096}, {"MAX_PHYS_ITEM_ID_LEN", 32}, {"MCAST_BLOCK_SOURCE", 43}, {Name: "MCAST_EXCLUDE"}, @@ -75247,6 +75730,7 @@ var consts_ppc64le = []ConstValue{ {"bpf_call_code", 133}, {"bpf_exit_code", 149}, {"bpf_insn_load_imm_dw", 24}, + {"ethtool_per_queue_op_size", 128}, } -const revision_ppc64le = "c38d5c8ad9bd45b4a797aa94364a8160c1ab91a9" +const revision_ppc64le = "fe3f8db1d18ea45f7c9951509e389c6cd8621437" diff --git a/sys/linux/io_uring.txt.warn b/sys/linux/io_uring.txt.warn index 76773b438..efc66c496 100644 --- a/sys/linux/io_uring.txt.warn +++ b/sys/linux/io_uring.txt.warn @@ -1,3 +1,8 @@ +bad-field-number: io_uring_params: syz=9 kernel=10 [amd64] +bad-field-size: io_uring_params.resv/id: syz=16 kernel=4 [amd64] +bad-field-offset: io_uring_params.sq_off/resv: syz=40 kernel=28 [amd64] +bad-field-size: io_uring_params.sq_off/resv: syz=40 kernel=12 [amd64] +bad-field-offset: io_uring_params.cq_off/sq_off: syz=80 kernel=40 [amd64] bad-field-number: io_uring_files_update: syz=2 kernel=3 [amd64,arm,arm64] bad-struct-size: io_uring_files_update: syz=8 kernel=16 [arm] bad-field-offset: io_uring_files_update.fds/resv: syz=8 kernel=4 diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index ca62ae006..e4006869b 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -510,8 +510,6 @@ dlci_add { # ETHTOOL declaration part # http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/ethtool.h -ethtool_cmd_flags = ETHTOOL_GSET, ETHTOOL_SSET, ETHTOOL_GDRVINFO, ETHTOOL_GREGS, ETHTOOL_GWOL, ETHTOOL_SWOL, ETHTOOL_GMSGLVL, ETHTOOL_SMSGLVL, ETHTOOL_NWAY_RST, ETHTOOL_GLINK, ETHTOOL_GEEPROM, ETHTOOL_SEEPROM, ETHTOOL_GCOALESCE, ETHTOOL_SCOALESCE, ETHTOOL_GRINGPARAM, ETHTOOL_SRINGPARAM, ETHTOOL_GPAUSEPARAM, ETHTOOL_SPAUSEPARAM, ETHTOOL_GRXCSUM, ETHTOOL_SRXCSUM, ETHTOOL_GTXCSUM, ETHTOOL_STXCSUM, ETHTOOL_GSG, ETHTOOL_SSG, ETHTOOL_TEST, ETHTOOL_GSTRINGS, ETHTOOL_PHYS_ID, ETHTOOL_GSTATS, ETHTOOL_GTSO, ETHTOOL_STSO, ETHTOOL_GPERMADDR, ETHTOOL_GUFO, ETHTOOL_SUFO, ETHTOOL_GGSO, ETHTOOL_SGSO, ETHTOOL_GFLAGS, ETHTOOL_SFLAGS, ETHTOOL_GPFLAGS, ETHTOOL_SPFLAGS, ETHTOOL_GRXFH, ETHTOOL_SRXFH, ETHTOOL_GGRO, ETHTOOL_SGRO, ETHTOOL_GRXRINGS, ETHTOOL_GRXCLSRLCNT, ETHTOOL_GRXCLSRULE, ETHTOOL_GRXCLSRLALL, ETHTOOL_SRXCLSRLDEL, ETHTOOL_SRXCLSRLINS, ETHTOOL_FLASHDEV, ETHTOOL_RESET, ETHTOOL_SRXNTUPLE, ETHTOOL_GRXNTUPLE, ETHTOOL_GSSET_INFO, ETHTOOL_GRXFHINDIR, ETHTOOL_SRXFHINDIR, ETHTOOL_GFEATURES, ETHTOOL_SFEATURES, ETHTOOL_GCHANNELS, ETHTOOL_SCHANNELS, ETHTOOL_SET_DUMP, ETHTOOL_GET_DUMP_FLAG, ETHTOOL_GET_DUMP_DATA, ETHTOOL_GET_TS_INFO, ETHTOOL_GMODULEINFO, ETHTOOL_GMODULEEEPROM, ETHTOOL_GEEE, ETHTOOL_SEEE, ETHTOOL_GRSSH, ETHTOOL_SRSSH, ETHTOOL_GTUNABLE, ETHTOOL_STUNABLE, ETHTOOL_GPHYSTATS, ETHTOOL_PERQUEUE, ETHTOOL_GLINKSETTINGS, ETHTOOL_SLINKSETTINGS, ETHTOOL_PHY_GTUNABLE, ETHTOOL_PHY_STUNABLE - ethtool_cmd_u [ ethtool_cmd ethtool_cmd ethtool_drvinfo ethtool_drvinfo @@ -562,6 +560,8 @@ ethtool_cmd { reserved array[int32, 2] } +ethtool_cmd_flags = ETHTOOL_GSET, ETHTOOL_SSET, ETHTOOL_GDRVINFO, ETHTOOL_GREGS, ETHTOOL_GWOL, ETHTOOL_SWOL, ETHTOOL_GMSGLVL, ETHTOOL_SMSGLVL, ETHTOOL_NWAY_RST, ETHTOOL_GLINK, ETHTOOL_GEEPROM, ETHTOOL_SEEPROM, ETHTOOL_GCOALESCE, ETHTOOL_SCOALESCE, ETHTOOL_GRINGPARAM, ETHTOOL_SRINGPARAM, ETHTOOL_GPAUSEPARAM, ETHTOOL_SPAUSEPARAM, ETHTOOL_GRXCSUM, ETHTOOL_SRXCSUM, ETHTOOL_GTXCSUM, ETHTOOL_STXCSUM, ETHTOOL_GSG, ETHTOOL_SSG, ETHTOOL_TEST, ETHTOOL_PHYS_ID, ETHTOOL_GSTATS, ETHTOOL_GTSO, ETHTOOL_STSO, ETHTOOL_GPERMADDR, ETHTOOL_GUFO, ETHTOOL_SUFO, ETHTOOL_GGSO, ETHTOOL_SGSO, ETHTOOL_GFLAGS, ETHTOOL_SFLAGS, ETHTOOL_GPFLAGS, ETHTOOL_SPFLAGS, ETHTOOL_GRXFH, ETHTOOL_SRXFH, ETHTOOL_GGRO, ETHTOOL_SGRO, ETHTOOL_GRXRINGS, ETHTOOL_GRXCLSRLCNT, ETHTOOL_GRXCLSRULE, ETHTOOL_GRXCLSRLALL, ETHTOOL_SRXCLSRLDEL, ETHTOOL_SRXCLSRLINS, ETHTOOL_RESET, ETHTOOL_SRXNTUPLE, ETHTOOL_GRXNTUPLE, ETHTOOL_GSSET_INFO, ETHTOOL_GRXFHINDIR, ETHTOOL_SRXFHINDIR, ETHTOOL_GFEATURES, ETHTOOL_SFEATURES, ETHTOOL_GCHANNELS, ETHTOOL_SCHANNELS, ETHTOOL_SET_DUMP, ETHTOOL_GET_DUMP_FLAG, ETHTOOL_GET_DUMP_DATA, ETHTOOL_GET_TS_INFO, ETHTOOL_GMODULEEEPROM, ETHTOOL_GEEE, ETHTOOL_SEEE, ETHTOOL_GRSSH, ETHTOOL_SRSSH, ETHTOOL_GTUNABLE, ETHTOOL_STUNABLE, ETHTOOL_GPHYSTATS, ETHTOOL_PERQUEUE, ETHTOOL_GLINKSETTINGS, ETHTOOL_SLINKSETTINGS, ETHTOOL_PHY_GTUNABLE, ETHTOOL_PHY_STUNABLE + ethtool_drvinfo { cmd const[ETHTOOL_GDRVINFO, int32] driver array[int8, 32] @@ -691,11 +691,13 @@ ethtool_pauseparam { ethtool_gstrings { cmd const[ETHTOOL_GSTRINGS, int32] - string_set int32 + string_set flags[ethtool_stringset, int32] len len[data, int32] data array[int8] } +ethtool_stringset = ETH_SS_TEST, ETH_SS_STATS, ETH_SS_PRIV_FLAGS, ETH_SS_NTUPLE_FILTERS, ETH_SS_FEATURES, ETH_SS_RSS_HASH_FUNCS, ETH_SS_TUNABLES, ETH_SS_PHY_STATS, ETH_SS_PHY_TUNABLES + ethtool_sset_info { cmd const[ETHTOOL_GSSET_INFO, int32] reserved int32 @@ -878,7 +880,7 @@ ethtool_rx_ntuple_flow_spec_union [ ethtool_flash { cmd const[ETHTOOL_FLASHDEV, int32] region int32 - data array[int8, ETHTOOL_FLASH_MAX_FILENAME] + data string[filename, ETHTOOL_FLASH_MAX_FILENAME] } ethtool_dump_cmd_flags = ETHTOOL_GET_DUMP_FLAG, ETHTOOL_GET_DUMP_DATA, ETHTOOL_SET_DUMP @@ -898,10 +900,10 @@ ethtool_gfeatures { } ethtool_get_features_block { - available int32 - requested int32 - active int32 - never_changed int32 + available const[0, int32] + requested const[0, int32] + active const[0, int32] + never_changed const[0, int32] } ethtool_sfeatures { @@ -917,21 +919,25 @@ ethtool_set_features_block { ethtool_ts_info { cmd const[ETHTOOL_GET_TS_INFO, int32] - so_timestamping int32 - phc_index int32 - tx_types int32 - tx_reserved array[int32, 3] - rx_filters int32 - rx_reserved array[int32, 3] + so_timestamping const[0, int32] + phc_index const[0, int32] + tx_types const[0, int32] + tx_reserved array[const[0, int32], 3] + rx_filters const[0, int32] + rx_reserved array[const[0, int32], 3] } ethtool_per_queue_op { cmd const[ETHTOOL_PERQUEUE, int32] - sub_command int32 - queue_mask array[int32, MAX_NUM_QUEUE] + sub_command flags[ethtool_per_queue_sub_cmd, int32] + queue_mask array[int32, ethtool_per_queue_op_size] data array[int8] } +ethtool_per_queue_sub_cmd = ETHTOOL_GCOALESCE, ETHTOOL_SCOALESCE + +define ethtool_per_queue_op_size __KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32) + ethtool_link_settings_cmd_flags = ETHTOOL_GLINKSETTINGS, ETHTOOL_SLINKSETTINGS ethtool_link_settings { diff --git a/sys/linux/socket.txt.warn b/sys/linux/socket.txt.warn index 905da402f..04ffe9d32 100644 --- a/sys/linux/socket.txt.warn +++ b/sys/linux/socket.txt.warn @@ -29,5 +29,4 @@ no-such-struct: ethtool_flow_union no-such-struct: ethtool_rx_ntuple no-such-struct: ethtool_rx_ntuple_flow_spec no-such-struct: ethtool_rx_ntuple_flow_spec_union -bad-field-size: ethtool_per_queue_op.queue_mask: syz=16384 kernel=512 bad-field-size: ethtool_link_settings.reserved/transceiver: syz=32 kernel=1 diff --git a/sys/linux/socket_386.const b/sys/linux/socket_386.const index 3dee076a7..767963579 100644 --- a/sys/linux/socket_386.const +++ b/sys/linux/socket_386.const @@ -126,6 +126,15 @@ ETHTOOL_SUFO = 34 ETHTOOL_SWOL = 6 ETHTOOL_TEST = 26 ETH_RX_NFC_IP4 = 1 +ETH_SS_FEATURES = 4 +ETH_SS_NTUPLE_FILTERS = 3 +ETH_SS_PHY_STATS = 7 +ETH_SS_PHY_TUNABLES = 8 +ETH_SS_PRIV_FLAGS = 2 +ETH_SS_RSS_HASH_FUNCS = 5 +ETH_SS_STATS = 1 +ETH_SS_TEST = 0 +ETH_SS_TUNABLES = 6 FIOGETOWN = 35075 FIOSETOWN = 35073 GET_VLAN_EGRESS_PRIORITY_CMD = 5 @@ -151,7 +160,6 @@ IPV4_USER_FLOW = 13 IPV6_FLOW = 17 IPV6_USER_FLOW = 14 IP_USER_FLOW = 13 -MAX_NUM_QUEUE = 4096 MSG_BATCH = 262144 MSG_CMSG_CLOEXEC = 1073741824 MSG_CONFIRM = 2048 @@ -394,3 +402,4 @@ __NR_setsockopt = 366 __NR_shutdown = 373 __NR_socket = 359 __NR_socketpair = 360 +ethtool_per_queue_op_size = 128 diff --git a/sys/linux/socket_amd64.const b/sys/linux/socket_amd64.const index 645d6db73..fe078230d 100644 --- a/sys/linux/socket_amd64.const +++ b/sys/linux/socket_amd64.const @@ -126,6 +126,15 @@ ETHTOOL_SUFO = 34 ETHTOOL_SWOL = 6 ETHTOOL_TEST = 26 ETH_RX_NFC_IP4 = 1 +ETH_SS_FEATURES = 4 +ETH_SS_NTUPLE_FILTERS = 3 +ETH_SS_PHY_STATS = 7 +ETH_SS_PHY_TUNABLES = 8 +ETH_SS_PRIV_FLAGS = 2 +ETH_SS_RSS_HASH_FUNCS = 5 +ETH_SS_STATS = 1 +ETH_SS_TEST = 0 +ETH_SS_TUNABLES = 6 FIOGETOWN = 35075 FIOSETOWN = 35073 GET_VLAN_EGRESS_PRIORITY_CMD = 5 @@ -151,7 +160,6 @@ IPV4_USER_FLOW = 13 IPV6_FLOW = 17 IPV6_USER_FLOW = 14 IP_USER_FLOW = 13 -MAX_NUM_QUEUE = 4096 MSG_BATCH = 262144 MSG_CMSG_CLOEXEC = 1073741824 MSG_CONFIRM = 2048 @@ -394,3 +402,4 @@ __NR_setsockopt = 54 __NR_shutdown = 48 __NR_socket = 41 __NR_socketpair = 53 +ethtool_per_queue_op_size = 128 diff --git a/sys/linux/socket_arm.const b/sys/linux/socket_arm.const index df122efde..c7be66310 100644 --- a/sys/linux/socket_arm.const +++ b/sys/linux/socket_arm.const @@ -126,6 +126,15 @@ ETHTOOL_SUFO = 34 ETHTOOL_SWOL = 6 ETHTOOL_TEST = 26 ETH_RX_NFC_IP4 = 1 +ETH_SS_FEATURES = 4 +ETH_SS_NTUPLE_FILTERS = 3 +ETH_SS_PHY_STATS = 7 +ETH_SS_PHY_TUNABLES = 8 +ETH_SS_PRIV_FLAGS = 2 +ETH_SS_RSS_HASH_FUNCS = 5 +ETH_SS_STATS = 1 +ETH_SS_TEST = 0 +ETH_SS_TUNABLES = 6 FIOGETOWN = 35075 FIOSETOWN = 35073 GET_VLAN_EGRESS_PRIORITY_CMD = 5 @@ -151,7 +160,6 @@ IPV4_USER_FLOW = 13 IPV6_FLOW = 17 IPV6_USER_FLOW = 14 IP_USER_FLOW = 13 -MAX_NUM_QUEUE = 4096 MSG_BATCH = 262144 MSG_CMSG_CLOEXEC = 1073741824 MSG_CONFIRM = 2048 @@ -394,3 +402,4 @@ __NR_setsockopt = 294 __NR_shutdown = 293 __NR_socket = 281 __NR_socketpair = 288 +ethtool_per_queue_op_size = 128 diff --git a/sys/linux/socket_arm64.const b/sys/linux/socket_arm64.const index 97c2c92f6..71a1e9f5d 100644 --- a/sys/linux/socket_arm64.const +++ b/sys/linux/socket_arm64.const @@ -126,6 +126,15 @@ ETHTOOL_SUFO = 34 ETHTOOL_SWOL = 6 ETHTOOL_TEST = 26 ETH_RX_NFC_IP4 = 1 +ETH_SS_FEATURES = 4 +ETH_SS_NTUPLE_FILTERS = 3 +ETH_SS_PHY_STATS = 7 +ETH_SS_PHY_TUNABLES = 8 +ETH_SS_PRIV_FLAGS = 2 +ETH_SS_RSS_HASH_FUNCS = 5 +ETH_SS_STATS = 1 +ETH_SS_TEST = 0 +ETH_SS_TUNABLES = 6 FIOGETOWN = 35075 FIOSETOWN = 35073 GET_VLAN_EGRESS_PRIORITY_CMD = 5 @@ -151,7 +160,6 @@ IPV4_USER_FLOW = 13 IPV6_FLOW = 17 IPV6_USER_FLOW = 14 IP_USER_FLOW = 13 -MAX_NUM_QUEUE = 4096 MSG_BATCH = 262144 MSG_CMSG_CLOEXEC = 1073741824 MSG_CONFIRM = 2048 @@ -394,3 +402,4 @@ __NR_setsockopt = 208 __NR_shutdown = 210 __NR_socket = 198 __NR_socketpair = 199 +ethtool_per_queue_op_size = 128 diff --git a/sys/linux/socket_mips64le.const b/sys/linux/socket_mips64le.const index 535db4931..ffea43a76 100644 --- a/sys/linux/socket_mips64le.const +++ b/sys/linux/socket_mips64le.const @@ -126,6 +126,15 @@ ETHTOOL_SUFO = 34 ETHTOOL_SWOL = 6 ETHTOOL_TEST = 26 ETH_RX_NFC_IP4 = 1 +ETH_SS_FEATURES = 4 +ETH_SS_NTUPLE_FILTERS = 3 +ETH_SS_PHY_STATS = 7 +ETH_SS_PHY_TUNABLES = 8 +ETH_SS_PRIV_FLAGS = 2 +ETH_SS_RSS_HASH_FUNCS = 5 +ETH_SS_STATS = 1 +ETH_SS_TEST = 0 +ETH_SS_TUNABLES = 6 FIOGETOWN = 1074030203 FIOSETOWN = 2147772028 GET_VLAN_EGRESS_PRIORITY_CMD = 5 @@ -151,7 +160,6 @@ IPV4_USER_FLOW = 13 IPV6_FLOW = 17 IPV6_USER_FLOW = 14 IP_USER_FLOW = 13 -MAX_NUM_QUEUE = 4096 MSG_BATCH = 262144 MSG_CMSG_CLOEXEC = 1073741824 MSG_CONFIRM = 2048 @@ -394,3 +402,4 @@ __NR_setsockopt = 5053 __NR_shutdown = 5047 __NR_socket = 5040 __NR_socketpair = 5052 +ethtool_per_queue_op_size = 128 diff --git a/sys/linux/socket_netlink_generic_ethtool.txt b/sys/linux/socket_netlink_generic_ethtool.txt new file mode 100644 index 000000000..79d944007 --- /dev/null +++ b/sys/linux/socket_netlink_generic_ethtool.txt @@ -0,0 +1,78 @@ +# Copyright 2020 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <linux/net.h> +include <uapi/linux/netlink.h> +include <uapi/linux/genetlink.h> +include <uapi/linux/ethtool_netlink.h> + +resource genl_ethtool_family_id[int16] +type msghdr_ethtool[CMD, POLICY] msghdr_netlink[netlink_msg_t[genl_ethtool_family_id, genlmsghdr_t[CMD], POLICY]] + +syz_genetlink_get_family_id$ethtool(name ptr[in, string["ethtool"]]) genl_ethtool_family_id + +sendmsg$ETHTOOL_MSG_STRSET_GET(fd sock_nl_generic, msg ptr[in, msghdr_ethtool[ETHTOOL_MSG_STRSET_GET, strset_get_policy]], f flags[send_flags]) +sendmsg$ETHTOOL_MSG_LINKINFO_GET(fd sock_nl_generic, msg ptr[in, msghdr_ethtool[ETHTOOL_MSG_LINKINFO_GET, linkinfo_get_policy]], f flags[send_flags]) +sendmsg$ETHTOOL_MSG_LINKMODES_GET(fd sock_nl_generic, msg ptr[in, msghdr_ethtool[ETHTOOL_MSG_LINKMODES_GET, linkmodes_get_policy]], f flags[send_flags]) +sendmsg$ETHTOOL_MSG_LINKSTATE_GET(fd sock_nl_generic, msg ptr[in, msghdr_ethtool[ETHTOOL_MSG_LINKSTATE_GET, linkstate_get_policy]], f flags[send_flags]) +sendmsg$ETHTOOL_MSG_LINKINFO_SET(fd sock_nl_generic, msg ptr[in, msghdr_ethtool[ETHTOOL_MSG_LINKINFO_SET, linkinfo_set_policy]], f flags[send_flags]) +sendmsg$ETHTOOL_MSG_LINKMODES_SET(fd sock_nl_generic, msg ptr[in, msghdr_ethtool[ETHTOOL_MSG_LINKMODES_SET, linkmodes_set_policy]], f flags[send_flags]) + +ethnl_header_policy [ + ETHTOOL_A_HEADER_DEV_INDEX nlattr[ETHTOOL_A_HEADER_DEV_INDEX, ifindex] + ETHTOOL_A_HEADER_DEV_NAME nlattr[ETHTOOL_A_HEADER_DEV_NAME, devname] + ETHTOOL_A_HEADER_FLAGS nlattr[ETHTOOL_A_HEADER_FLAGS, flags[ethnl_flags, int32]] +] [varlen] + +ethnl_flags = ETHTOOL_FLAG_COMPACT_BITSETS, ETHTOOL_FLAG_OMIT_REPLY + +strset_get_policy [ + ETHTOOL_A_STRSET_HEADER nlnest[ETHTOOL_A_STRSET_HEADER, array[ethnl_header_policy]] + ETHTOOL_A_STRSET_STRINGSETS nlnest[ETHTOOL_A_STRSET_STRINGSETS, array[nlnest[ETHTOOL_A_STRINGSETS_STRINGSET, array[get_stringset_policy]]]] + ETHTOOL_A_STRSET_COUNTS_ONLY nlattr[ETHTOOL_A_STRSET_COUNTS_ONLY, void] +] [varlen] + +get_stringset_policy [ + ETHTOOL_A_STRINGSET_ID nlattr[ETHTOOL_A_STRINGSET_ID, flags[ethtool_stringset, int32]] +] [varlen] + +linkinfo_get_policy [ + ETHTOOL_A_LINKINFO_HEADER nlnest[ETHTOOL_A_LINKINFO_HEADER, array[ethnl_header_policy]] +] [varlen] + +linkmodes_get_policy [ + ETHTOOL_A_LINKMODES_HEADER nlnest[ETHTOOL_A_LINKMODES_HEADER, array[ethnl_header_policy]] +] [varlen] + +linkstate_get_policy [ + ETHTOOL_A_LINKSTATE_HEADER nlnest[ETHTOOL_A_LINKSTATE_HEADER, array[ethnl_header_policy]] +] [varlen] + +linkinfo_set_policy [ + ETHTOOL_A_LINKINFO_HEADER nlnest[ETHTOOL_A_LINKINFO_HEADER, array[ethnl_header_policy]] + ETHTOOL_A_LINKINFO_PORT nlattr[ETHTOOL_A_LINKINFO_PORT, int8] + ETHTOOL_A_LINKINFO_PHYADDR nlattr[ETHTOOL_A_LINKINFO_PHYADDR, int8] + ETHTOOL_A_LINKINFO_TP_MDIX_CTRL nlattr[ETHTOOL_A_LINKINFO_TP_MDIX_CTRL, int8] +] [varlen] + +linkmodes_set_policy [ + ETHTOOL_A_LINKMODES_HEADER nlnest[ETHTOOL_A_LINKMODES_HEADER, array[ethnl_header_policy]] + ETHTOOL_A_LINKMODES_AUTONEG nlattr[ETHTOOL_A_LINKMODES_AUTONEG, int8] + ETHTOOL_A_LINKMODES_DUPLEX nlattr[ETHTOOL_A_LINKMODES_DUPLEX, int8] + ETHTOOL_A_LINKMODES_SPEED nlattr[ETHTOOL_A_LINKMODES_SPEED, int32] + ETHTOOL_A_LINKMODES_OURS nlnest[ETHTOOL_A_LINKMODES_OURS, array[bitset_policy]] +] [varlen] + +bitset_policy [ + ETHTOOL_A_BITSET_NOMASK nlattr[ETHTOOL_A_BITSET_NOMASK, void] + ETHTOOL_A_BITSET_SIZE nlattr[ETHTOOL_A_BITSET_SIZE, int32] + ETHTOOL_A_BITSET_BITS nlnest[ETHTOOL_A_BITSET_BITS, array[nlnest[ETHTOOL_A_BITSET_BITS_BIT, array[bit_policy]]]] + ETHTOOL_A_BITSET_VALUE nlattr[ETHTOOL_A_BITSET_VALUE, array[int8]] + ETHTOOL_A_BITSET_MASK nlattr[ETHTOOL_A_BITSET_MASK, array[int8]] +] [varlen] + +bit_policy [ + ETHTOOL_A_BITSET_BIT_INDEX nlattr[ETHTOOL_A_BITSET_BIT_INDEX, int32] + ETHTOOL_A_BITSET_BIT_VALUE nlattr[ETHTOOL_A_BITSET_BIT_VALUE, void] + ETHTOOL_A_BITSET_BIT_NAME nlattr[ETHTOOL_A_BITSET_BIT_NAME, string] +] [varlen] diff --git a/sys/linux/socket_netlink_generic_ethtool_386.const b/sys/linux/socket_netlink_generic_ethtool_386.const new file mode 100644 index 000000000..7635fc43f --- /dev/null +++ b/sys/linux/socket_netlink_generic_ethtool_386.const @@ -0,0 +1,37 @@ +# AUTOGENERATED FILE +ETHTOOL_A_BITSET_BITS = 3 +ETHTOOL_A_BITSET_BITS_BIT = 1 +ETHTOOL_A_BITSET_BIT_INDEX = 1 +ETHTOOL_A_BITSET_BIT_NAME = 2 +ETHTOOL_A_BITSET_BIT_VALUE = 3 +ETHTOOL_A_BITSET_MASK = 5 +ETHTOOL_A_BITSET_NOMASK = 1 +ETHTOOL_A_BITSET_SIZE = 2 +ETHTOOL_A_BITSET_VALUE = 4 +ETHTOOL_A_HEADER_DEV_INDEX = 1 +ETHTOOL_A_HEADER_DEV_NAME = 2 +ETHTOOL_A_HEADER_FLAGS = 3 +ETHTOOL_A_LINKINFO_HEADER = 1 +ETHTOOL_A_LINKINFO_PHYADDR = 3 +ETHTOOL_A_LINKINFO_PORT = 2 +ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5 +ETHTOOL_A_LINKMODES_AUTONEG = 2 +ETHTOOL_A_LINKMODES_DUPLEX = 6 +ETHTOOL_A_LINKMODES_HEADER = 1 +ETHTOOL_A_LINKMODES_OURS = 3 +ETHTOOL_A_LINKMODES_SPEED = 5 +ETHTOOL_A_LINKSTATE_HEADER = 1 +ETHTOOL_A_STRINGSETS_STRINGSET = 1 +ETHTOOL_A_STRINGSET_ID = 1 +ETHTOOL_A_STRSET_COUNTS_ONLY = 3 +ETHTOOL_A_STRSET_HEADER = 1 +ETHTOOL_A_STRSET_STRINGSETS = 2 +ETHTOOL_FLAG_COMPACT_BITSETS = 1 +ETHTOOL_FLAG_OMIT_REPLY = 2 +ETHTOOL_MSG_LINKINFO_GET = 2 +ETHTOOL_MSG_LINKINFO_SET = 3 +ETHTOOL_MSG_LINKMODES_GET = 4 +ETHTOOL_MSG_LINKMODES_SET = 5 +ETHTOOL_MSG_LINKSTATE_GET = 6 +ETHTOOL_MSG_STRSET_GET = 1 +__NR_sendmsg = 370 diff --git a/sys/linux/socket_netlink_generic_ethtool_amd64.const b/sys/linux/socket_netlink_generic_ethtool_amd64.const new file mode 100644 index 000000000..cd358b66d --- /dev/null +++ b/sys/linux/socket_netlink_generic_ethtool_amd64.const @@ -0,0 +1,37 @@ +# AUTOGENERATED FILE +ETHTOOL_A_BITSET_BITS = 3 +ETHTOOL_A_BITSET_BITS_BIT = 1 +ETHTOOL_A_BITSET_BIT_INDEX = 1 +ETHTOOL_A_BITSET_BIT_NAME = 2 +ETHTOOL_A_BITSET_BIT_VALUE = 3 +ETHTOOL_A_BITSET_MASK = 5 +ETHTOOL_A_BITSET_NOMASK = 1 +ETHTOOL_A_BITSET_SIZE = 2 +ETHTOOL_A_BITSET_VALUE = 4 +ETHTOOL_A_HEADER_DEV_INDEX = 1 +ETHTOOL_A_HEADER_DEV_NAME = 2 +ETHTOOL_A_HEADER_FLAGS = 3 +ETHTOOL_A_LINKINFO_HEADER = 1 +ETHTOOL_A_LINKINFO_PHYADDR = 3 +ETHTOOL_A_LINKINFO_PORT = 2 +ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5 +ETHTOOL_A_LINKMODES_AUTONEG = 2 +ETHTOOL_A_LINKMODES_DUPLEX = 6 +ETHTOOL_A_LINKMODES_HEADER = 1 +ETHTOOL_A_LINKMODES_OURS = 3 +ETHTOOL_A_LINKMODES_SPEED = 5 +ETHTOOL_A_LINKSTATE_HEADER = 1 +ETHTOOL_A_STRINGSETS_STRINGSET = 1 +ETHTOOL_A_STRINGSET_ID = 1 +ETHTOOL_A_STRSET_COUNTS_ONLY = 3 +ETHTOOL_A_STRSET_HEADER = 1 +ETHTOOL_A_STRSET_STRINGSETS = 2 +ETHTOOL_FLAG_COMPACT_BITSETS = 1 +ETHTOOL_FLAG_OMIT_REPLY = 2 +ETHTOOL_MSG_LINKINFO_GET = 2 +ETHTOOL_MSG_LINKINFO_SET = 3 +ETHTOOL_MSG_LINKMODES_GET = 4 +ETHTOOL_MSG_LINKMODES_SET = 5 +ETHTOOL_MSG_LINKSTATE_GET = 6 +ETHTOOL_MSG_STRSET_GET = 1 +__NR_sendmsg = 46 diff --git a/sys/linux/socket_netlink_generic_ethtool_arm.const b/sys/linux/socket_netlink_generic_ethtool_arm.const new file mode 100644 index 000000000..4daedd83d --- /dev/null +++ b/sys/linux/socket_netlink_generic_ethtool_arm.const @@ -0,0 +1,37 @@ +# AUTOGENERATED FILE +ETHTOOL_A_BITSET_BITS = 3 +ETHTOOL_A_BITSET_BITS_BIT = 1 +ETHTOOL_A_BITSET_BIT_INDEX = 1 +ETHTOOL_A_BITSET_BIT_NAME = 2 +ETHTOOL_A_BITSET_BIT_VALUE = 3 +ETHTOOL_A_BITSET_MASK = 5 +ETHTOOL_A_BITSET_NOMASK = 1 +ETHTOOL_A_BITSET_SIZE = 2 +ETHTOOL_A_BITSET_VALUE = 4 +ETHTOOL_A_HEADER_DEV_INDEX = 1 +ETHTOOL_A_HEADER_DEV_NAME = 2 +ETHTOOL_A_HEADER_FLAGS = 3 +ETHTOOL_A_LINKINFO_HEADER = 1 +ETHTOOL_A_LINKINFO_PHYADDR = 3 +ETHTOOL_A_LINKINFO_PORT = 2 +ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5 +ETHTOOL_A_LINKMODES_AUTONEG = 2 +ETHTOOL_A_LINKMODES_DUPLEX = 6 +ETHTOOL_A_LINKMODES_HEADER = 1 +ETHTOOL_A_LINKMODES_OURS = 3 +ETHTOOL_A_LINKMODES_SPEED = 5 +ETHTOOL_A_LINKSTATE_HEADER = 1 +ETHTOOL_A_STRINGSETS_STRINGSET = 1 +ETHTOOL_A_STRINGSET_ID = 1 +ETHTOOL_A_STRSET_COUNTS_ONLY = 3 +ETHTOOL_A_STRSET_HEADER = 1 +ETHTOOL_A_STRSET_STRINGSETS = 2 +ETHTOOL_FLAG_COMPACT_BITSETS = 1 +ETHTOOL_FLAG_OMIT_REPLY = 2 +ETHTOOL_MSG_LINKINFO_GET = 2 +ETHTOOL_MSG_LINKINFO_SET = 3 +ETHTOOL_MSG_LINKMODES_GET = 4 +ETHTOOL_MSG_LINKMODES_SET = 5 +ETHTOOL_MSG_LINKSTATE_GET = 6 +ETHTOOL_MSG_STRSET_GET = 1 +__NR_sendmsg = 296 diff --git a/sys/linux/socket_netlink_generic_ethtool_arm64.const b/sys/linux/socket_netlink_generic_ethtool_arm64.const new file mode 100644 index 000000000..598e15c9c --- /dev/null +++ b/sys/linux/socket_netlink_generic_ethtool_arm64.const @@ -0,0 +1,37 @@ +# AUTOGENERATED FILE +ETHTOOL_A_BITSET_BITS = 3 +ETHTOOL_A_BITSET_BITS_BIT = 1 +ETHTOOL_A_BITSET_BIT_INDEX = 1 +ETHTOOL_A_BITSET_BIT_NAME = 2 +ETHTOOL_A_BITSET_BIT_VALUE = 3 +ETHTOOL_A_BITSET_MASK = 5 +ETHTOOL_A_BITSET_NOMASK = 1 +ETHTOOL_A_BITSET_SIZE = 2 +ETHTOOL_A_BITSET_VALUE = 4 +ETHTOOL_A_HEADER_DEV_INDEX = 1 +ETHTOOL_A_HEADER_DEV_NAME = 2 +ETHTOOL_A_HEADER_FLAGS = 3 +ETHTOOL_A_LINKINFO_HEADER = 1 +ETHTOOL_A_LINKINFO_PHYADDR = 3 +ETHTOOL_A_LINKINFO_PORT = 2 +ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5 +ETHTOOL_A_LINKMODES_AUTONEG = 2 +ETHTOOL_A_LINKMODES_DUPLEX = 6 +ETHTOOL_A_LINKMODES_HEADER = 1 +ETHTOOL_A_LINKMODES_OURS = 3 +ETHTOOL_A_LINKMODES_SPEED = 5 +ETHTOOL_A_LINKSTATE_HEADER = 1 +ETHTOOL_A_STRINGSETS_STRINGSET = 1 +ETHTOOL_A_STRINGSET_ID = 1 +ETHTOOL_A_STRSET_COUNTS_ONLY = 3 +ETHTOOL_A_STRSET_HEADER = 1 +ETHTOOL_A_STRSET_STRINGSETS = 2 +ETHTOOL_FLAG_COMPACT_BITSETS = 1 +ETHTOOL_FLAG_OMIT_REPLY = 2 +ETHTOOL_MSG_LINKINFO_GET = 2 +ETHTOOL_MSG_LINKINFO_SET = 3 +ETHTOOL_MSG_LINKMODES_GET = 4 +ETHTOOL_MSG_LINKMODES_SET = 5 +ETHTOOL_MSG_LINKSTATE_GET = 6 +ETHTOOL_MSG_STRSET_GET = 1 +__NR_sendmsg = 211 diff --git a/sys/linux/socket_netlink_generic_ethtool_mips64le.const b/sys/linux/socket_netlink_generic_ethtool_mips64le.const new file mode 100644 index 000000000..7d2018b55 --- /dev/null +++ b/sys/linux/socket_netlink_generic_ethtool_mips64le.const @@ -0,0 +1,37 @@ +# AUTOGENERATED FILE +ETHTOOL_A_BITSET_BITS = 3 +ETHTOOL_A_BITSET_BITS_BIT = 1 +ETHTOOL_A_BITSET_BIT_INDEX = 1 +ETHTOOL_A_BITSET_BIT_NAME = 2 +ETHTOOL_A_BITSET_BIT_VALUE = 3 +ETHTOOL_A_BITSET_MASK = 5 +ETHTOOL_A_BITSET_NOMASK = 1 +ETHTOOL_A_BITSET_SIZE = 2 +ETHTOOL_A_BITSET_VALUE = 4 +ETHTOOL_A_HEADER_DEV_INDEX = 1 +ETHTOOL_A_HEADER_DEV_NAME = 2 +ETHTOOL_A_HEADER_FLAGS = 3 +ETHTOOL_A_LINKINFO_HEADER = 1 +ETHTOOL_A_LINKINFO_PHYADDR = 3 +ETHTOOL_A_LINKINFO_PORT = 2 +ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5 +ETHTOOL_A_LINKMODES_AUTONEG = 2 +ETHTOOL_A_LINKMODES_DUPLEX = 6 +ETHTOOL_A_LINKMODES_HEADER = 1 +ETHTOOL_A_LINKMODES_OURS = 3 +ETHTOOL_A_LINKMODES_SPEED = 5 +ETHTOOL_A_LINKSTATE_HEADER = 1 +ETHTOOL_A_STRINGSETS_STRINGSET = 1 +ETHTOOL_A_STRINGSET_ID = 1 +ETHTOOL_A_STRSET_COUNTS_ONLY = 3 +ETHTOOL_A_STRSET_HEADER = 1 +ETHTOOL_A_STRSET_STRINGSETS = 2 +ETHTOOL_FLAG_COMPACT_BITSETS = 1 +ETHTOOL_FLAG_OMIT_REPLY = 2 +ETHTOOL_MSG_LINKINFO_GET = 2 +ETHTOOL_MSG_LINKINFO_SET = 3 +ETHTOOL_MSG_LINKMODES_GET = 4 +ETHTOOL_MSG_LINKMODES_SET = 5 +ETHTOOL_MSG_LINKSTATE_GET = 6 +ETHTOOL_MSG_STRSET_GET = 1 +__NR_sendmsg = 5045 diff --git a/sys/linux/socket_netlink_generic_ethtool_ppc64le.const b/sys/linux/socket_netlink_generic_ethtool_ppc64le.const new file mode 100644 index 000000000..9561b0df3 --- /dev/null +++ b/sys/linux/socket_netlink_generic_ethtool_ppc64le.const @@ -0,0 +1,37 @@ +# AUTOGENERATED FILE +ETHTOOL_A_BITSET_BITS = 3 +ETHTOOL_A_BITSET_BITS_BIT = 1 +ETHTOOL_A_BITSET_BIT_INDEX = 1 +ETHTOOL_A_BITSET_BIT_NAME = 2 +ETHTOOL_A_BITSET_BIT_VALUE = 3 +ETHTOOL_A_BITSET_MASK = 5 +ETHTOOL_A_BITSET_NOMASK = 1 +ETHTOOL_A_BITSET_SIZE = 2 +ETHTOOL_A_BITSET_VALUE = 4 +ETHTOOL_A_HEADER_DEV_INDEX = 1 +ETHTOOL_A_HEADER_DEV_NAME = 2 +ETHTOOL_A_HEADER_FLAGS = 3 +ETHTOOL_A_LINKINFO_HEADER = 1 +ETHTOOL_A_LINKINFO_PHYADDR = 3 +ETHTOOL_A_LINKINFO_PORT = 2 +ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5 +ETHTOOL_A_LINKMODES_AUTONEG = 2 +ETHTOOL_A_LINKMODES_DUPLEX = 6 +ETHTOOL_A_LINKMODES_HEADER = 1 +ETHTOOL_A_LINKMODES_OURS = 3 +ETHTOOL_A_LINKMODES_SPEED = 5 +ETHTOOL_A_LINKSTATE_HEADER = 1 +ETHTOOL_A_STRINGSETS_STRINGSET = 1 +ETHTOOL_A_STRINGSET_ID = 1 +ETHTOOL_A_STRSET_COUNTS_ONLY = 3 +ETHTOOL_A_STRSET_HEADER = 1 +ETHTOOL_A_STRSET_STRINGSETS = 2 +ETHTOOL_FLAG_COMPACT_BITSETS = 1 +ETHTOOL_FLAG_OMIT_REPLY = 2 +ETHTOOL_MSG_LINKINFO_GET = 2 +ETHTOOL_MSG_LINKINFO_SET = 3 +ETHTOOL_MSG_LINKMODES_GET = 4 +ETHTOOL_MSG_LINKMODES_SET = 5 +ETHTOOL_MSG_LINKSTATE_GET = 6 +ETHTOOL_MSG_STRSET_GET = 1 +__NR_sendmsg = 341 diff --git a/sys/linux/socket_netlink_generic_fou.txt.warn b/sys/linux/socket_netlink_generic_fou.txt.warn deleted file mode 100644 index 844ea4a2b..000000000 --- a/sys/linux/socket_netlink_generic_fou.txt.warn +++ /dev/null @@ -1 +0,0 @@ -bad-netlink-attr: fou_nl_policy: missing attributes: [7 9] diff --git a/sys/linux/socket_netlink_route.txt.warn b/sys/linux/socket_netlink_route.txt.warn index 8f717cdd4..1c34437d2 100644 --- a/sys/linux/socket_netlink_route.txt.warn +++ b/sys/linux/socket_netlink_route.txt.warn @@ -1,4 +1,4 @@ -bad-netlink-attr: ifla_policy: missing attributes: [47 48 50 51 54] +bad-netlink-attr: ifla_policy: missing attributes: [47 48 50 51] bad-netlink-attr: ifla_policy.IFLA_IFALIASn: duplicate attribute no-such-netlink-policy: ifla_af_spec_policy bad-netlink-attr: ifla_info_policy_t: missing attributes: [4] @@ -15,7 +15,7 @@ bad-netlink-attr: rtm_ipv4_policy: missing attributes: [15 27 28 29 30] bad-netlink-attr: nda_policy: missing attributes: [12] bad-netlink-attr: nda_policy.NDA_DST_IPV6: duplicate attribute bad-netlink-attr: nda_policy.NDA_DST_MAC: duplicate attribute -bad-netlink-attr: ifla_vf_policy: missing attributes: [8 13] +bad-netlink-attr: ifla_vf_policy: missing attributes: [8] bad-field-number: ifla_vf_mac: syz=3 kernel=2 bad-field-size: ifla_vf_mac.mac: syz=6 kernel=32 bad-netlink-attr: ifla_port_policy: missing attributes: [3 7] diff --git a/sys/linux/socket_ppc64le.const b/sys/linux/socket_ppc64le.const index d43421d18..ab644a282 100644 --- a/sys/linux/socket_ppc64le.const +++ b/sys/linux/socket_ppc64le.const @@ -126,6 +126,15 @@ ETHTOOL_SUFO = 34 ETHTOOL_SWOL = 6 ETHTOOL_TEST = 26 ETH_RX_NFC_IP4 = 1 +ETH_SS_FEATURES = 4 +ETH_SS_NTUPLE_FILTERS = 3 +ETH_SS_PHY_STATS = 7 +ETH_SS_PHY_TUNABLES = 8 +ETH_SS_PRIV_FLAGS = 2 +ETH_SS_RSS_HASH_FUNCS = 5 +ETH_SS_STATS = 1 +ETH_SS_TEST = 0 +ETH_SS_TUNABLES = 6 FIOGETOWN = 35075 FIOSETOWN = 35073 GET_VLAN_EGRESS_PRIORITY_CMD = 5 @@ -151,7 +160,6 @@ IPV4_USER_FLOW = 13 IPV6_FLOW = 17 IPV6_USER_FLOW = 14 IP_USER_FLOW = 13 -MAX_NUM_QUEUE = 4096 MSG_BATCH = 262144 MSG_CMSG_CLOEXEC = 1073741824 MSG_CONFIRM = 2048 @@ -394,3 +402,4 @@ __NR_setsockopt = 339 __NR_shutdown = 338 __NR_socket = 326 __NR_socketpair = 333 +ethtool_per_queue_op_size = 128 |
