aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-22 17:29:00 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-22 18:31:20 +0100
commitf5fe1f1fcfc7a0e226c11c0a215bbb5a463e782a (patch)
tree0fea31cce04a450068026d7ef5787e7f25478d50 /sys/linux
parent2bdcee05b50579be92a767376eaf874c0c70233c (diff)
sys/linux: more fixing of netlink policy names
Update #590
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/gen/386.go130
-rw-r--r--sys/linux/gen/amd64.go130
-rw-r--r--sys/linux/gen/arm.go130
-rw-r--r--sys/linux/gen/arm64.go130
-rw-r--r--sys/linux/gen/mips64le.go130
-rw-r--r--sys/linux/gen/ppc64le.go130
-rw-r--r--sys/linux/socket_netlink_route_sched.txt20
-rw-r--r--sys/linux/socket_netlink_route_sched.txt.warn3
8 files changed, 400 insertions, 403 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index be8cefd08..5f2dd1cd1 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -589,6 +589,11 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}},
}}},
+ {Key: StructKey{Name: "atm_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
+ }}},
{Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}},
@@ -1811,29 +1816,6 @@ var structDescs_386 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v1", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v1"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v2", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v2"}, NoZ: true},
}}},
- {Key: StructKey{Name: "c_atm_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_atm_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
- }}},
- {Key: StructKey{Name: "c_drr_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_drr_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
- }}},
- {Key: StructKey{Name: "c_dsmark_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_dsmark_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
- }}},
- {Key: StructKey{Name: "c_htb_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_htb_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
- }}},
- {Key: StructKey{Name: "c_qfq_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_qfq_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
- }}},
{Key: StructKey{Name: "caif_hsi_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "caif_hsi_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_INACTIVITY_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_INACTIVITY_TOUT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_AGGREGATION_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_AGGREGATION_TOUT"},
@@ -3246,11 +3228,18 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "signal", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}}},
+ {Key: StructKey{Name: "drr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "drr_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
+ }}},
{Key: StructKey{Name: "dsmark_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_INDICES, int16], flags[tca_dsmark_ind, int16]]"}, FldName: "TCA_DSMARK_INDICES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_DEFAULT_INDEX, int16], int16]"}, FldName: "TCA_DSMARK_DEFAULT_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_SET_TC_INDEX, int16], void]"}, FldName: "TCA_DSMARK_SET_TC_INDEX"},
}}},
+ {Key: StructKey{Name: "dsmark_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
+ }}},
{Key: StructKey{Name: "dvd_authinfo", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dvd_authinfo", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dvd_authinfo_type", FldName: "type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 7, 8, 9, 10, 10}},
&StructType{Key: StructKey{Name: "dvd_lu_send_agid", Dir: 2}, FldName: "lsa"},
@@ -8277,6 +8266,13 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_INIT, int16], tc_htb_glob]"}, FldName: "TCA_HTB_INIT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_DIRECT_QLEN, int16], int32]"}, FldName: "TCA_HTB_DIRECT_QLEN"},
}}},
+ {Key: StructKey{Name: "htb_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "htb_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
+ }}},
{Key: StructKey{Name: "i2c_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 12}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, BitMask: true},
@@ -28636,34 +28632,22 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "tc_netem_slot"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "atm_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_atm_options"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_htb_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_qfq_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]", IsVarlen: true}, Fields: []Type{
@@ -28762,6 +28746,12 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy_class"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -28774,6 +28764,12 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "pie_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qfq_policy"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -28822,22 +28818,22 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "u32_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_drr_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_dsmark_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "drr_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "dsmark_policy_class"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]", IsVarlen: true}, Fields: []Type{
@@ -35313,6 +35309,10 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"ingress\"]]"}, FldName: "q_ingress"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"mq\"]]"}, FldName: "q_mq"},
}}},
+ {Key: StructKey{Name: "qfq_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "qfq_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
+ }}},
{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 28, ArgDir: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1},
@@ -39306,9 +39306,9 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_PRIO, int16], optional[int32]]"}, FldName: "IFE_META_PRIO"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_TCINDEX, int16], optional[int16]]"}, FldName: "IFE_META_TCINDEX"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"basic\", array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"basic\", array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"basic\"]]"}, FldName: "TCA_KIND"},
@@ -39350,17 +39350,17 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"codel\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[codel_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", drr_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"drr\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[dsmark_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"etf\", etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"etf\", etf_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"etf\"]]"}, FldName: "TCA_KIND"},
@@ -39402,14 +39402,14 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"hhf\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[hhf_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, FldName: "TCA_OPTIONS"},
- }}},
{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
+ {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, FldName: "TCA_OPTIONS"},
+ }}},
{Key: StructKey{Name: "tca_kind_options_t[\"matchall\", array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"matchall\", array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"matchall\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, FldName: "TCA_OPTIONS"},
@@ -39446,9 +39446,9 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"prio\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], tc_prio_qopt]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"qfq\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"red\", array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"red\", array[red_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"red\"]]"}, FldName: "TCA_KIND"},
@@ -39733,13 +39733,13 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_TCINDEX_ACT, int16], array[tca_actions]]"}, FldName: "TCA_TCINDEX_ACT"},
}}},
{Key: StructKey{Name: "tclass_kind_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tclass_kind_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, FldName: "c_atm"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, FldName: "c_atm"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"cbq\", array[cbq_policy]]"}, FldName: "c_cbq"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, FldName: "c_drr"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, FldName: "c_dsmark"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, FldName: "c_drr"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, FldName: "c_dsmark"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"hfsc\", array[hfsc_policy]]"}, FldName: "c_hfsc"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, FldName: "c_htb"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, FldName: "c_qfq"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, FldName: "c_htb"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, FldName: "c_qfq"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cake\"]]"}, FldName: "c_cake"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cbs\"]]"}, FldName: "c_cbs"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"fq_codel\"]]"}, FldName: "c_fq_codel"},
@@ -74266,4 +74266,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "6a2dfaee50c534f5c1f934a512743143bc286c64"
+const revision_386 = "26984575c9f07b65b682d0b41ae178c43f25e2a9"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 5c05d3772..5a820e3aa 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -594,6 +594,11 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}},
}}},
+ {Key: StructKey{Name: "atm_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
+ }}},
{Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}},
@@ -1827,29 +1832,6 @@ var structDescs_amd64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v1", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v1"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v2", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v2"}, NoZ: true},
}}},
- {Key: StructKey{Name: "c_atm_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_atm_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
- }}},
- {Key: StructKey{Name: "c_drr_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_drr_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
- }}},
- {Key: StructKey{Name: "c_dsmark_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_dsmark_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
- }}},
- {Key: StructKey{Name: "c_htb_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_htb_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
- }}},
- {Key: StructKey{Name: "c_qfq_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_qfq_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
- }}},
{Key: StructKey{Name: "caif_hsi_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "caif_hsi_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_INACTIVITY_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_INACTIVITY_TOUT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_AGGREGATION_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_AGGREGATION_TOUT"},
@@ -3294,11 +3276,18 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "signal", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}}},
+ {Key: StructKey{Name: "drr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "drr_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
+ }}},
{Key: StructKey{Name: "dsmark_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_INDICES, int16], flags[tca_dsmark_ind, int16]]"}, FldName: "TCA_DSMARK_INDICES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_DEFAULT_INDEX, int16], int16]"}, FldName: "TCA_DSMARK_DEFAULT_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_SET_TC_INDEX, int16], void]"}, FldName: "TCA_DSMARK_SET_TC_INDEX"},
}}},
+ {Key: StructKey{Name: "dsmark_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
+ }}},
{Key: StructKey{Name: "dvd_authinfo", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dvd_authinfo", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dvd_authinfo_type", FldName: "type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 7, 8, 9, 10, 10}},
&StructType{Key: StructKey{Name: "dvd_lu_send_agid", Dir: 2}, FldName: "lsa"},
@@ -8417,6 +8406,13 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_INIT, int16], tc_htb_glob]"}, FldName: "TCA_HTB_INIT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_DIRECT_QLEN, int16], int32]"}, FldName: "TCA_HTB_DIRECT_QLEN"},
}}},
+ {Key: StructKey{Name: "htb_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "htb_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
+ }}},
{Key: StructKey{Name: "i2c_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, BitMask: true},
@@ -29293,34 +29289,22 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "tc_netem_slot"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "atm_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_atm_options"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_htb_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_qfq_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]", IsVarlen: true}, Fields: []Type{
@@ -29419,6 +29403,12 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy_class"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29431,6 +29421,12 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "pie_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qfq_policy"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29479,22 +29475,22 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "u32_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_drr_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_dsmark_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "drr_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "dsmark_policy_class"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]", IsVarlen: true}, Fields: []Type{
@@ -35971,6 +35967,10 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"ingress\"]]"}, FldName: "q_ingress"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"mq\"]]"}, FldName: "q_mq"},
}}},
+ {Key: StructKey{Name: "qfq_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "qfq_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
+ }}},
{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1},
@@ -40005,9 +40005,9 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_PRIO, int16], optional[int32]]"}, FldName: "IFE_META_PRIO"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_TCINDEX, int16], optional[int16]]"}, FldName: "IFE_META_TCINDEX"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"basic\", array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"basic\", array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"basic\"]]"}, FldName: "TCA_KIND"},
@@ -40049,17 +40049,17 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"codel\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[codel_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", drr_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"drr\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[dsmark_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"etf\", etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"etf\", etf_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"etf\"]]"}, FldName: "TCA_KIND"},
@@ -40101,14 +40101,14 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"hhf\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[hhf_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, FldName: "TCA_OPTIONS"},
- }}},
{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
+ {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, FldName: "TCA_OPTIONS"},
+ }}},
{Key: StructKey{Name: "tca_kind_options_t[\"matchall\", array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"matchall\", array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"matchall\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, FldName: "TCA_OPTIONS"},
@@ -40145,9 +40145,9 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"prio\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], tc_prio_qopt]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"qfq\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"red\", array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"red\", array[red_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"red\"]]"}, FldName: "TCA_KIND"},
@@ -40432,13 +40432,13 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_TCINDEX_ACT, int16], array[tca_actions]]"}, FldName: "TCA_TCINDEX_ACT"},
}}},
{Key: StructKey{Name: "tclass_kind_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tclass_kind_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, FldName: "c_atm"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, FldName: "c_atm"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"cbq\", array[cbq_policy]]"}, FldName: "c_cbq"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, FldName: "c_drr"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, FldName: "c_dsmark"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, FldName: "c_drr"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, FldName: "c_dsmark"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"hfsc\", array[hfsc_policy]]"}, FldName: "c_hfsc"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, FldName: "c_htb"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, FldName: "c_qfq"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, FldName: "c_htb"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, FldName: "c_qfq"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cake\"]]"}, FldName: "c_cake"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cbs\"]]"}, FldName: "c_cbs"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"fq_codel\"]]"}, FldName: "c_fq_codel"},
@@ -75207,4 +75207,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "3a18ca514700c2bec3ef23ad1f9541568336a5bd"
+const revision_amd64 = "9d21c492e6e276a3132bdc15852e24f50767b24e"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 1ee847eff..f51c0cf74 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -593,6 +593,11 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}},
}}},
+ {Key: StructKey{Name: "atm_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
+ }}},
{Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}},
@@ -1825,29 +1830,6 @@ var structDescs_arm = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v1", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v1"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v2", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v2"}, NoZ: true},
}}},
- {Key: StructKey{Name: "c_atm_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_atm_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
- }}},
- {Key: StructKey{Name: "c_drr_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_drr_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
- }}},
- {Key: StructKey{Name: "c_dsmark_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_dsmark_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
- }}},
- {Key: StructKey{Name: "c_htb_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_htb_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
- }}},
- {Key: StructKey{Name: "c_qfq_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_qfq_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
- }}},
{Key: StructKey{Name: "caif_hsi_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "caif_hsi_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_INACTIVITY_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_INACTIVITY_TOUT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_AGGREGATION_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_AGGREGATION_TOUT"},
@@ -3268,11 +3250,18 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "signal", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}}},
+ {Key: StructKey{Name: "drr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "drr_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
+ }}},
{Key: StructKey{Name: "dsmark_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_INDICES, int16], flags[tca_dsmark_ind, int16]]"}, FldName: "TCA_DSMARK_INDICES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_DEFAULT_INDEX, int16], int16]"}, FldName: "TCA_DSMARK_DEFAULT_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_SET_TC_INDEX, int16], void]"}, FldName: "TCA_DSMARK_SET_TC_INDEX"},
}}},
+ {Key: StructKey{Name: "dsmark_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
+ }}},
{Key: StructKey{Name: "dvd_authinfo", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dvd_authinfo", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dvd_authinfo_type", FldName: "type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 7, 8, 9, 10, 10}},
&StructType{Key: StructKey{Name: "dvd_lu_send_agid", Dir: 2}, FldName: "lsa"},
@@ -8308,6 +8297,13 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_INIT, int16], tc_htb_glob]"}, FldName: "TCA_HTB_INIT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_DIRECT_QLEN, int16], int32]"}, FldName: "TCA_HTB_DIRECT_QLEN"},
}}},
+ {Key: StructKey{Name: "htb_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "htb_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
+ }}},
{Key: StructKey{Name: "i2c_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 12}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, BitMask: true},
@@ -28494,34 +28490,22 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "tc_netem_slot"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "atm_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_atm_options"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_htb_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_qfq_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]", IsVarlen: true}, Fields: []Type{
@@ -28620,6 +28604,12 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy_class"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -28632,6 +28622,12 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "pie_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qfq_policy"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -28680,22 +28676,22 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "u32_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_drr_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_dsmark_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "drr_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "dsmark_policy_class"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]", IsVarlen: true}, Fields: []Type{
@@ -35175,6 +35171,10 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"ingress\"]]"}, FldName: "q_ingress"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"mq\"]]"}, FldName: "q_mq"},
}}},
+ {Key: StructKey{Name: "qfq_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "qfq_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
+ }}},
{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 28, ArgDir: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1},
@@ -39185,9 +39185,9 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_PRIO, int16], optional[int32]]"}, FldName: "IFE_META_PRIO"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_TCINDEX, int16], optional[int16]]"}, FldName: "IFE_META_TCINDEX"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"basic\", array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"basic\", array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"basic\"]]"}, FldName: "TCA_KIND"},
@@ -39229,17 +39229,17 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"codel\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[codel_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", drr_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"drr\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[dsmark_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"etf\", etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"etf\", etf_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"etf\"]]"}, FldName: "TCA_KIND"},
@@ -39281,14 +39281,14 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"hhf\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[hhf_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, FldName: "TCA_OPTIONS"},
- }}},
{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
+ {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, FldName: "TCA_OPTIONS"},
+ }}},
{Key: StructKey{Name: "tca_kind_options_t[\"matchall\", array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"matchall\", array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"matchall\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, FldName: "TCA_OPTIONS"},
@@ -39325,9 +39325,9 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"prio\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], tc_prio_qopt]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"qfq\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"red\", array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"red\", array[red_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"red\"]]"}, FldName: "TCA_KIND"},
@@ -39612,13 +39612,13 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_TCINDEX_ACT, int16], array[tca_actions]]"}, FldName: "TCA_TCINDEX_ACT"},
}}},
{Key: StructKey{Name: "tclass_kind_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tclass_kind_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, FldName: "c_atm"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, FldName: "c_atm"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"cbq\", array[cbq_policy]]"}, FldName: "c_cbq"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, FldName: "c_drr"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, FldName: "c_dsmark"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, FldName: "c_drr"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, FldName: "c_dsmark"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"hfsc\", array[hfsc_policy]]"}, FldName: "c_hfsc"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, FldName: "c_htb"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, FldName: "c_qfq"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, FldName: "c_htb"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, FldName: "c_qfq"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cake\"]]"}, FldName: "c_cake"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cbs\"]]"}, FldName: "c_cbs"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"fq_codel\"]]"}, FldName: "c_fq_codel"},
@@ -73915,4 +73915,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "dbe5d9eda764a4aef44d2190d4b19d5410916a12"
+const revision_arm = "bdd9d4adb2cf968d748eb22b051a4e5262e24a1f"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 012fab1b2..d3e1c44be 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -594,6 +594,11 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}},
}}},
+ {Key: StructKey{Name: "atm_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
+ }}},
{Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}},
@@ -1827,29 +1832,6 @@ var structDescs_arm64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v1", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v1"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v2", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v2"}, NoZ: true},
}}},
- {Key: StructKey{Name: "c_atm_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_atm_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
- }}},
- {Key: StructKey{Name: "c_drr_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_drr_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
- }}},
- {Key: StructKey{Name: "c_dsmark_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_dsmark_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
- }}},
- {Key: StructKey{Name: "c_htb_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_htb_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
- }}},
- {Key: StructKey{Name: "c_qfq_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_qfq_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
- }}},
{Key: StructKey{Name: "caif_hsi_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "caif_hsi_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_INACTIVITY_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_INACTIVITY_TOUT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_AGGREGATION_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_AGGREGATION_TOUT"},
@@ -3294,11 +3276,18 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "signal", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}}},
+ {Key: StructKey{Name: "drr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "drr_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
+ }}},
{Key: StructKey{Name: "dsmark_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_INDICES, int16], flags[tca_dsmark_ind, int16]]"}, FldName: "TCA_DSMARK_INDICES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_DEFAULT_INDEX, int16], int16]"}, FldName: "TCA_DSMARK_DEFAULT_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_SET_TC_INDEX, int16], void]"}, FldName: "TCA_DSMARK_SET_TC_INDEX"},
}}},
+ {Key: StructKey{Name: "dsmark_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
+ }}},
{Key: StructKey{Name: "dvd_authinfo", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dvd_authinfo", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dvd_authinfo_type", FldName: "type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 7, 8, 9, 10, 10}},
&StructType{Key: StructKey{Name: "dvd_lu_send_agid", Dir: 2}, FldName: "lsa"},
@@ -8417,6 +8406,13 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_INIT, int16], tc_htb_glob]"}, FldName: "TCA_HTB_INIT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_DIRECT_QLEN, int16], int32]"}, FldName: "TCA_HTB_DIRECT_QLEN"},
}}},
+ {Key: StructKey{Name: "htb_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "htb_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
+ }}},
{Key: StructKey{Name: "i2c_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, BitMask: true},
@@ -29102,34 +29098,22 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "tc_netem_slot"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "atm_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_atm_options"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_htb_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_qfq_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]", IsVarlen: true}, Fields: []Type{
@@ -29228,6 +29212,12 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy_class"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29240,6 +29230,12 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "pie_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qfq_policy"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29288,22 +29284,22 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "u32_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_drr_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_dsmark_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "drr_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "dsmark_policy_class"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]", IsVarlen: true}, Fields: []Type{
@@ -35780,6 +35776,10 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"ingress\"]]"}, FldName: "q_ingress"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"mq\"]]"}, FldName: "q_mq"},
}}},
+ {Key: StructKey{Name: "qfq_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "qfq_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
+ }}},
{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1},
@@ -39814,9 +39814,9 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_PRIO, int16], optional[int32]]"}, FldName: "IFE_META_PRIO"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_TCINDEX, int16], optional[int16]]"}, FldName: "IFE_META_TCINDEX"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"basic\", array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"basic\", array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"basic\"]]"}, FldName: "TCA_KIND"},
@@ -39858,17 +39858,17 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"codel\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[codel_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", drr_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"drr\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[dsmark_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"etf\", etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"etf\", etf_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"etf\"]]"}, FldName: "TCA_KIND"},
@@ -39910,14 +39910,14 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"hhf\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[hhf_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, FldName: "TCA_OPTIONS"},
- }}},
{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
+ {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, FldName: "TCA_OPTIONS"},
+ }}},
{Key: StructKey{Name: "tca_kind_options_t[\"matchall\", array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"matchall\", array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"matchall\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, FldName: "TCA_OPTIONS"},
@@ -39954,9 +39954,9 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"prio\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], tc_prio_qopt]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"qfq\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"red\", array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"red\", array[red_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"red\"]]"}, FldName: "TCA_KIND"},
@@ -40241,13 +40241,13 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_TCINDEX_ACT, int16], array[tca_actions]]"}, FldName: "TCA_TCINDEX_ACT"},
}}},
{Key: StructKey{Name: "tclass_kind_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tclass_kind_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, FldName: "c_atm"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, FldName: "c_atm"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"cbq\", array[cbq_policy]]"}, FldName: "c_cbq"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, FldName: "c_drr"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, FldName: "c_dsmark"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, FldName: "c_drr"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, FldName: "c_dsmark"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"hfsc\", array[hfsc_policy]]"}, FldName: "c_hfsc"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, FldName: "c_htb"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, FldName: "c_qfq"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, FldName: "c_htb"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, FldName: "c_qfq"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cake\"]]"}, FldName: "c_cake"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cbs\"]]"}, FldName: "c_cbs"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"fq_codel\"]]"}, FldName: "c_fq_codel"},
@@ -74552,4 +74552,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "45071dcc8db2b10f0153b8f47347a49c9746ac3b"
+const revision_arm64 = "815dfb5b199382712500000f2745d620e27b9ea5"
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go
index 13dd5d4d6..527be2537 100644
--- a/sys/linux/gen/mips64le.go
+++ b/sys/linux/gen/mips64le.go
@@ -591,6 +591,11 @@ var structDescs_mips64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}},
}}},
+ {Key: StructKey{Name: "atm_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
+ }}},
{Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}},
@@ -1824,29 +1829,6 @@ var structDescs_mips64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v1", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v1"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v2", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v2"}, NoZ: true},
}}},
- {Key: StructKey{Name: "c_atm_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_atm_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
- }}},
- {Key: StructKey{Name: "c_drr_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_drr_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
- }}},
- {Key: StructKey{Name: "c_dsmark_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_dsmark_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
- }}},
- {Key: StructKey{Name: "c_htb_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_htb_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
- }}},
- {Key: StructKey{Name: "c_qfq_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_qfq_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
- }}},
{Key: StructKey{Name: "caif_hsi_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "caif_hsi_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_INACTIVITY_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_INACTIVITY_TOUT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_AGGREGATION_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_AGGREGATION_TOUT"},
@@ -3291,11 +3273,18 @@ var structDescs_mips64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "signal", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}}},
+ {Key: StructKey{Name: "drr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "drr_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
+ }}},
{Key: StructKey{Name: "dsmark_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_INDICES, int16], flags[tca_dsmark_ind, int16]]"}, FldName: "TCA_DSMARK_INDICES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_DEFAULT_INDEX, int16], int16]"}, FldName: "TCA_DSMARK_DEFAULT_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_SET_TC_INDEX, int16], void]"}, FldName: "TCA_DSMARK_SET_TC_INDEX"},
}}},
+ {Key: StructKey{Name: "dsmark_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
+ }}},
{Key: StructKey{Name: "dvd_authinfo", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dvd_authinfo", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dvd_authinfo_type", FldName: "type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 7, 8, 9, 10, 10}},
&StructType{Key: StructKey{Name: "dvd_lu_send_agid", Dir: 2}, FldName: "lsa"},
@@ -8414,6 +8403,13 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_INIT, int16], tc_htb_glob]"}, FldName: "TCA_HTB_INIT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_DIRECT_QLEN, int16], int32]"}, FldName: "TCA_HTB_DIRECT_QLEN"},
}}},
+ {Key: StructKey{Name: "htb_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "htb_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
+ }}},
{Key: StructKey{Name: "i2c_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, BitMask: true},
@@ -29046,34 +29042,22 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "tc_netem_slot"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "atm_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_atm_options"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_htb_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_qfq_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]", IsVarlen: true}, Fields: []Type{
@@ -29172,6 +29156,12 @@ var structDescs_mips64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy_class"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29184,6 +29174,12 @@ var structDescs_mips64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "pie_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qfq_policy"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29232,22 +29228,22 @@ var structDescs_mips64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "u32_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_drr_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_dsmark_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "drr_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "dsmark_policy_class"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]", IsVarlen: true}, Fields: []Type{
@@ -35724,6 +35720,10 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"ingress\"]]"}, FldName: "q_ingress"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"mq\"]]"}, FldName: "q_mq"},
}}},
+ {Key: StructKey{Name: "qfq_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "qfq_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
+ }}},
{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1},
@@ -39758,9 +39758,9 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_PRIO, int16], optional[int32]]"}, FldName: "IFE_META_PRIO"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_TCINDEX, int16], optional[int16]]"}, FldName: "IFE_META_TCINDEX"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"basic\", array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"basic\", array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"basic\"]]"}, FldName: "TCA_KIND"},
@@ -39802,17 +39802,17 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"codel\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[codel_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", drr_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"drr\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[dsmark_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"etf\", etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"etf\", etf_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"etf\"]]"}, FldName: "TCA_KIND"},
@@ -39854,14 +39854,14 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"hhf\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[hhf_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, FldName: "TCA_OPTIONS"},
- }}},
{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
+ {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, FldName: "TCA_OPTIONS"},
+ }}},
{Key: StructKey{Name: "tca_kind_options_t[\"matchall\", array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"matchall\", array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"matchall\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, FldName: "TCA_OPTIONS"},
@@ -39898,9 +39898,9 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"prio\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], tc_prio_qopt]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"qfq\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"red\", array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"red\", array[red_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"red\"]]"}, FldName: "TCA_KIND"},
@@ -40185,13 +40185,13 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_TCINDEX_ACT, int16], array[tca_actions]]"}, FldName: "TCA_TCINDEX_ACT"},
}}},
{Key: StructKey{Name: "tclass_kind_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tclass_kind_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, FldName: "c_atm"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, FldName: "c_atm"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"cbq\", array[cbq_policy]]"}, FldName: "c_cbq"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, FldName: "c_drr"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, FldName: "c_dsmark"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, FldName: "c_drr"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, FldName: "c_dsmark"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"hfsc\", array[hfsc_policy]]"}, FldName: "c_hfsc"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, FldName: "c_htb"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, FldName: "c_qfq"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, FldName: "c_htb"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, FldName: "c_qfq"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cake\"]]"}, FldName: "c_cake"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cbs\"]]"}, FldName: "c_cbs"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"fq_codel\"]]"}, FldName: "c_fq_codel"},
@@ -72175,4 +72175,4 @@ var consts_mips64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_mips64le = "9cab3654b4cf5ee6116b7518371f2f22fc642f6a"
+const revision_mips64le = "72988a4db5dd3bd8811d189500a02ca3dedb9fc2"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 47af37ff7..b76b57882 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -593,6 +593,11 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}},
}}},
+ {Key: StructKey{Name: "atm_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
+ }}},
{Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}},
@@ -1826,29 +1831,6 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v1", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v1"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "space_cache_v2", TypeSize: 14}, Kind: 2, Values: []string{"space_cache=v2"}, NoZ: true},
}}},
- {Key: StructKey{Name: "c_atm_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_atm_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_EXCESS, int16], tcm_handle]"}, FldName: "TCA_ATM_EXCESS"},
- }}},
- {Key: StructKey{Name: "c_drr_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_drr_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
- }}},
- {Key: StructKey{Name: "c_dsmark_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_dsmark_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
- }}},
- {Key: StructKey{Name: "c_htb_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_htb_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
- }}},
- {Key: StructKey{Name: "c_qfq_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "c_qfq_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
- }}},
{Key: StructKey{Name: "caif_hsi_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "caif_hsi_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_INACTIVITY_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_INACTIVITY_TOUT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[__IFLA_CAIF_HSI_AGGREGATION_TOUT, int16], int16]"}, FldName: "__IFLA_CAIF_HSI_AGGREGATION_TOUT"},
@@ -3293,11 +3275,18 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "signal", TypeSize: 4}}, Kind: 1, RangeEnd: 65},
}}},
+ {Key: StructKey{Name: "drr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "drr_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DRR_QUANTUM, int16], int32]"}, FldName: "TCA_DRR_QUANTUM"},
+ }}},
{Key: StructKey{Name: "dsmark_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_INDICES, int16], flags[tca_dsmark_ind, int16]]"}, FldName: "TCA_DSMARK_INDICES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_DEFAULT_INDEX, int16], int16]"}, FldName: "TCA_DSMARK_DEFAULT_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_SET_TC_INDEX, int16], void]"}, FldName: "TCA_DSMARK_SET_TC_INDEX"},
}}},
+ {Key: StructKey{Name: "dsmark_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dsmark_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_MASK, int16], int8]"}, FldName: "TCA_DSMARK_MASK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_DSMARK_VALUE, int16], int8]"}, FldName: "TCA_DSMARK_VALUE"},
+ }}},
{Key: StructKey{Name: "dvd_authinfo", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dvd_authinfo", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "dvd_authinfo_type", FldName: "type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 7, 8, 9, 10, 10}},
&StructType{Key: StructKey{Name: "dvd_lu_send_agid", Dir: 2}, FldName: "lsa"},
@@ -8416,6 +8405,13 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_INIT, int16], tc_htb_glob]"}, FldName: "TCA_HTB_INIT"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_DIRECT_QLEN, int16], int32]"}, FldName: "TCA_HTB_DIRECT_QLEN"},
}}},
+ {Key: StructKey{Name: "htb_policy_class"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "htb_policy_class", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_PARMS, int16], tc_htb_opt]"}, FldName: "TCA_HTB_PARMS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_CTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RTAB, int16], array[int32, 256]]"}, FldName: "TCA_HTB_RTAB"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"},
+ }}},
{Key: StructKey{Name: "i2c_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, BitMask: true},
@@ -29048,34 +29044,22 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "tc_netem_slot"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "atm_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
- &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_atm_options"}}},
- &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
- }, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_htb_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "basic_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[bpf_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "c_qfq_options"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "bpf_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[cake_policy]]", IsVarlen: true}, Fields: []Type{
@@ -29174,6 +29158,12 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "htb_policy_class"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29186,6 +29176,12 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "pie_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qfq_policy"}}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], array[red_policy]]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
@@ -29234,22 +29230,22 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "u32_policy"}}},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_drr_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "c_dsmark_options"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "drr_policy"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], cbs_policy]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
- &UnionType{Key: StructKey{Name: "cbs_policy"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "dsmark_policy_class"}, FldName: "payload"},
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_OPTIONS, int16], etf_policy]", IsVarlen: true}, Fields: []Type{
@@ -35726,6 +35722,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"ingress\"]]"}, FldName: "q_ingress"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"mq\"]]"}, FldName: "q_mq"},
}}},
+ {Key: StructKey{Name: "qfq_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "qfq_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_WEIGHT, int16], int32]"}, FldName: "TCA_QFQ_WEIGHT"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_QFQ_LMAX, int16], int32]"}, FldName: "TCA_QFQ_LMAX"},
+ }}},
{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 32, ArgDir: 2}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1},
@@ -39760,9 +39760,9 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_PRIO, int16], optional[int32]]"}, FldName: "IFE_META_PRIO"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFE_META_TCINDEX, int16], optional[int16]]"}, FldName: "IFE_META_TCINDEX"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[c_atm_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"atm\", array[atm_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_atm_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[atm_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"basic\", array[basic_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"basic\", array[basic_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"basic\"]]"}, FldName: "TCA_KIND"},
@@ -39804,17 +39804,17 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"codel\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[codel_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", c_drr_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"drr\", drr_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"drr\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_drr_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], drr_policy]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", array[dsmark_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[dsmark_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", c_dsmark_options]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"dsmark\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], c_dsmark_options]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], dsmark_policy_class]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"etf\", etf_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"etf\", etf_policy]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"etf\"]]"}, FldName: "TCA_KIND"},
@@ -39856,14 +39856,14 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"hhf\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[hhf_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[c_htb_options]]", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_htb_options]]"}, FldName: "TCA_OPTIONS"},
- }}},
{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
+ {Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"htb\", array[htb_policy_class]]", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"htb\"]]"}, FldName: "TCA_KIND"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[htb_policy_class]]"}, FldName: "TCA_OPTIONS"},
+ }}},
{Key: StructKey{Name: "tca_kind_options_t[\"matchall\", array[mall_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"matchall\", array[mall_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"matchall\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[mall_policy]]"}, FldName: "TCA_OPTIONS"},
@@ -39900,9 +39900,9 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"prio\"]]"}, FldName: "TCA_KIND"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], tc_prio_qopt]"}, FldName: "TCA_OPTIONS"},
}}},
- {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]", IsVarlen: true}, Fields: []Type{
+ {Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"qfq\", array[qfq_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"qfq\"]]"}, FldName: "TCA_KIND"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[c_qfq_options]]"}, FldName: "TCA_OPTIONS"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_OPTIONS, int16], array[qfq_policy]]"}, FldName: "TCA_OPTIONS"},
}}},
{Key: StructKey{Name: "tca_kind_options_t[\"red\", array[red_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_kind_options_t[\"red\", array[red_policy]]", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"red\"]]"}, FldName: "TCA_KIND"},
@@ -40187,13 +40187,13 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_TCINDEX_ACT, int16], array[tca_actions]]"}, FldName: "TCA_TCINDEX_ACT"},
}}},
{Key: StructKey{Name: "tclass_kind_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tclass_kind_options", IsVarlen: true}, Fields: []Type{
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[c_atm_options]]"}, FldName: "c_atm"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"atm\", array[atm_policy]]"}, FldName: "c_atm"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"cbq\", array[cbq_policy]]"}, FldName: "c_cbq"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", c_drr_options]"}, FldName: "c_drr"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", c_dsmark_options]"}, FldName: "c_dsmark"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"drr\", drr_policy]"}, FldName: "c_drr"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"dsmark\", dsmark_policy_class]"}, FldName: "c_dsmark"},
&StructType{Key: StructKey{Name: "tca_kind_options_t[\"hfsc\", array[hfsc_policy]]"}, FldName: "c_hfsc"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[c_htb_options]]"}, FldName: "c_htb"},
- &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[c_qfq_options]]"}, FldName: "c_qfq"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"htb\", array[htb_policy_class]]"}, FldName: "c_htb"},
+ &StructType{Key: StructKey{Name: "tca_kind_options_t[\"qfq\", array[qfq_policy]]"}, FldName: "c_qfq"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cake\"]]"}, FldName: "c_cake"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"cbs\"]]"}, FldName: "c_cbs"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"fq_codel\"]]"}, FldName: "c_fq_codel"},
@@ -74511,4 +74511,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "767ac944fb693a841d10e52d506763f5546f7099"
+const revision_ppc64le = "e7cbc01e4ee84baf29f974b4d3f9575c91af9837"
diff --git a/sys/linux/socket_netlink_route_sched.txt b/sys/linux/socket_netlink_route_sched.txt
index 2f2192a66..79760ad32 100644
--- a/sys/linux/socket_netlink_route_sched.txt
+++ b/sys/linux/socket_netlink_route_sched.txt
@@ -565,13 +565,13 @@ tc_tbf_qopt {
# ------------------------------ tc class ------------------------------
tclass_kind_options [
- c_atm tca_kind_options_t["atm", array[c_atm_options]]
+ c_atm tca_kind_options_t["atm", array[atm_policy]]
c_cbq tca_kind_options_t["cbq", array[cbq_policy]]
- c_drr tca_kind_options_t["drr", c_drr_options]
- c_dsmark tca_kind_options_t["dsmark", c_dsmark_options]
+ c_drr tca_kind_options_t["drr", drr_policy]
+ c_dsmark tca_kind_options_t["dsmark", dsmark_policy_class]
c_hfsc tca_kind_options_t["hfsc", array[hfsc_policy]]
- c_htb tca_kind_options_t["htb", array[c_htb_options]]
- c_qfq tca_kind_options_t["qfq", array[c_qfq_options]]
+ c_htb tca_kind_options_t["htb", array[htb_policy_class]]
+ c_qfq tca_kind_options_t["qfq", array[qfq_policy]]
c_cake nlattr[TCA_KIND, string["cake"]]
c_cbs nlattr[TCA_KIND, string["cbs"]]
c_fq_codel nlattr[TCA_KIND, string["fq_codel"]]
@@ -590,22 +590,22 @@ tclass_kind_options [
c_clsact nlattr[TCA_KIND, string["clsact"]]
] [varlen]
-c_atm_options [
+atm_policy [
TCA_ATM_FD nlattr[TCA_ATM_FD, sock]
TCA_ATM_HDR nlattr[TCA_ATM_HDR, array[int8, 0:64]]
TCA_ATM_EXCESS nlattr[TCA_ATM_EXCESS, tcm_handle]
] [varlen]
-c_drr_options [
+drr_policy [
TCA_DRR_QUANTUM nlattr[TCA_DRR_QUANTUM, int32]
] [varlen]
-c_dsmark_options [
+dsmark_policy_class [
TCA_DSMARK_MASK nlattr[TCA_DSMARK_MASK, int8]
TCA_DSMARK_VALUE nlattr[TCA_DSMARK_VALUE, int8]
] [varlen]
-c_htb_options [
+htb_policy_class [
TCA_HTB_PARMS nlattr[TCA_HTB_PARMS, tc_htb_opt]
TCA_HTB_CTAB nlattr[TCA_HTB_CTAB, array[int32, 256]]
TCA_HTB_RTAB nlattr[TCA_HTB_RTAB, array[int32, 256]]
@@ -613,7 +613,7 @@ c_htb_options [
TCA_HTB_CEIL64 nlattr[TCA_HTB_CEIL64, int64]
] [varlen]
-c_qfq_options [
+qfq_policy [
TCA_QFQ_WEIGHT nlattr[TCA_QFQ_WEIGHT, int32]
TCA_QFQ_LMAX nlattr[TCA_QFQ_LMAX, int32]
] [varlen]
diff --git a/sys/linux/socket_netlink_route_sched.txt.warn b/sys/linux/socket_netlink_route_sched.txt.warn
index 9fd588658..1032d50ee 100644
--- a/sys/linux/socket_netlink_route_sched.txt.warn
+++ b/sys/linux/socket_netlink_route_sched.txt.warn
@@ -5,9 +5,6 @@ bad-netlink-attr: mqprio_policy.TCA_MQPRIO_MODE: bad size 4, expect 2
bad-netlink-attr: mqprio_policy.TCA_MQPRIO_SHAPER: bad size 4, expect 2
no-such-netlink-policy: netem_loss_policy
no-such-netlink-policy: tclass_kind_options
-bad-netlink-attr-type: c_dsmark_options.TCA_DSMARK_VALUE: type 5, kernel policy size 5
-bad-netlink-attr-type: c_htb_options.TCA_HTB_RATE64: type 6, kernel policy size 5
-bad-netlink-attr-type: c_htb_options.TCA_HTB_CEIL64: type 7, kernel policy size 5
bad-netlink-attr: bpf_policy.TCA_BPF_NAME: expect string
bad-netlink-attr: route4_policy.TCA_ROUTE4_IIF: bad size 16, expect 4
bad-netlink-attr: u32_policy.TCA_U32_SEL: bad size -1, expect 16