From c29eac91f19ed1ca1306329ff38ba70e8d665d6b Mon Sep 17 00:00:00 2001 From: Hangbin Liu Date: Wed, 23 Oct 2019 23:55:39 -0400 Subject: sys/linux/socket_netlink_route_sched: add new tc actions Update #533 This patch add new tc actions: ct, ctinfo, xt, mpls Signed-off-by: Hangbin Liu --- sys/linux/gen/386.go | 314 ++++++++++++++++++++- sys/linux/gen/amd64.go | 314 ++++++++++++++++++++- sys/linux/gen/arm.go | 314 ++++++++++++++++++++- sys/linux/gen/arm64.go | 314 ++++++++++++++++++++- sys/linux/gen/ppc64le.go | 314 ++++++++++++++++++++- sys/linux/socket_netlink_route_sched.txt | 68 ++++- sys/linux/socket_netlink_route_sched_386.const | 37 ++- sys/linux/socket_netlink_route_sched_amd64.const | 37 ++- sys/linux/socket_netlink_route_sched_arm.const | 37 ++- sys/linux/socket_netlink_route_sched_arm64.const | 37 ++- sys/linux/socket_netlink_route_sched_ppc64le.const | 37 ++- 11 files changed, 1796 insertions(+), 27 deletions(-) (limited to 'sys/linux') diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 03127edf0..98391dae9 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -11118,6 +11118,28 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "m_csum_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_csum_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CSUM_PARMS, int16], tc_csum]"}, FldName: "TCA_CSUM_PARMS"}, }}}, + {Key: StructKey{Name: "m_ct_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ct_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, FldName: "TCA_CT_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, FldName: "TCA_CT_ACTION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, FldName: "TCA_CT_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, FldName: "TCA_CT_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, FldName: "TCA_CT_MARK_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MAX"}, + }}}, + {Key: StructKey{Name: "m_ctinfo_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ctinfo_options", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, FldName: "TCA_CTINFO_ACT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, FldName: "TCA_CTINFO_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_STATEMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_CPMARK_MASK"}, + }}}, {Key: StructKey{Name: "m_gact_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_gact_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PARMS, int16], tc_gen]"}, FldName: "TCA_GACT_PARMS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PROB, int16], tc_gact_p]"}, FldName: "TCA_GACT_PROB"}, @@ -11130,13 +11152,22 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IFE_METALST, int16], array[tca_ife_meta_policy]]"}, FldName: "TCA_IFE_METALST"}, }}}, {Key: StructKey{Name: "m_ipt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ipt_options", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, }}}, {Key: StructKey{Name: "m_mirred_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mirred_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MIRRED_PARMS, int16], tc_mirred]"}, FldName: "TCA_MIRRED_PARMS"}, }}}, + {Key: StructKey{Name: "m_mpls_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mpls_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, FldName: "TCA_MPLS_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, FldName: "TCA_MPLS_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, FldName: "TCA_MPLS_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, FldName: "TCA_MPLS_TC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, FldName: "TCA_MPLS_TTL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, FldName: "TCA_MPLS_BOS"}, + }}}, {Key: StructKey{Name: "m_nat_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_nat_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_NAT_PARMS, int16], tc_nat]"}, FldName: "TCA_NAT_PARMS"}, }}}, @@ -11201,6 +11232,12 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PROTOCOL, int16], flags[vlan_proto, int16be]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PROTOCOL"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PRIORITY, int16], int8[0:7]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PRIORITY"}, }}}, + {Key: StructKey{Name: "m_xt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_xt_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, + }}}, {Key: StructKey{Name: "mac_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr", TypeSize: 6}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, &StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"}, @@ -16500,6 +16537,18 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"csum\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"ct\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"ctinfo\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16522,6 +16571,12 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"mirred\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"mpls\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16574,6 +16629,12 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"vlan\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"xt\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16639,6 +16700,11 @@ var structDescs_386 = []*KeyedStruct{ &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: "m_vlan_options"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &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: "m_xt_options"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -16649,11 +16715,26 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_csum_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ct_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ctinfo_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_mirred_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_mpls_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -16935,6 +17016,101 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_csum"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_ct_actions", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_DEF_DATA, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_DEF_DATA, int16], string]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -17961,10 +18137,15 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]", TypeSize: 20}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "xt_entry_target"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, @@ -18261,6 +18442,40 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &StructType{Key: StructKey{Name: "tc_mirred"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 1048575}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "tc_mpls"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, @@ -19681,6 +19896,16 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"csum\", m_csum_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19701,6 +19926,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"mirred\", m_mirred_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19746,6 +19976,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, @@ -23978,6 +24213,10 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tc_mirred_eactions", FldName: "eaction", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifindex", TypeSize: 4}}, }}}, + {Key: StructKey{Name: "tc_mpls"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mpls", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "tc_gen"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_mpls_actions", FldName: "m_action", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, + }}}, {Key: StructKey{Name: "tc_mqprio_message"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mqprio_message", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "tc_mqprio_qopt"}, FldName: "qopt"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -24236,10 +24475,14 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"bpf\", array[m_bpf_options]]]"}, FldName: "m_bpf"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"connmark\", m_connmark_options]]"}, FldName: "m_connmark"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"csum\", m_csum_options]]"}, FldName: "m_csum"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, FldName: "m_ct"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, FldName: "m_ctinfo"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, FldName: "m_gact"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ife\", array[m_ife_options]]]"}, FldName: "m_ife"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ipt\", array[m_ipt_options]]]"}, FldName: "m_ipt"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, FldName: "m_xt"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mirred\", m_mirred_options]]"}, FldName: "m_mirred"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, FldName: "m_mpls"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, FldName: "m_nat"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"pedit\", array[m_pedit_options]]]"}, FldName: "m_pedit"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"police\", array[m_police_options]]]"}, FldName: "m_police"}, @@ -24269,6 +24512,16 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_csum_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ct\", m_ct_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ctinfo\", m_ctinfo_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"gact\", array[m_gact_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"gact\", array[m_gact_options]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_gact_options]]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24289,6 +24542,11 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"mpls\", m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"nat\", m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"nat\", m_nat_options]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24334,6 +24592,11 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_vlan_options]]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"xt\", array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_bpf_ops"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_bpf_ops", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS_LEN, int16], len[tca_bpf_ops:TCA_BPF_OPS:payload, int16]]"}, FldName: "TCA_BPF_OPS_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS, int16], array[sock_filter]]"}, FldName: "TCA_BPF_OPS"}, @@ -30371,6 +30634,14 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_udp"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "xt_entry_target"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_target", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "u_target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "revision", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "xt_esp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_esp", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_min", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_max", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, @@ -51850,6 +52121,30 @@ var consts_386 = []ConstValue{ {Name: "TCA_CODEL_TARGET", Value: 1}, {Name: "TCA_CONNMARK_PARMS", Value: 1}, {Name: "TCA_CSUM_PARMS", Value: 1}, + {Name: "TCA_CTINFO_ACT", Value: 3}, + {Name: "TCA_CTINFO_PARMS_CPMARK_MASK", Value: 7}, + {Name: "TCA_CTINFO_PARMS_DSCP_MASK", Value: 5}, + {Name: "TCA_CTINFO_PARMS_DSCP_STATEMASK", Value: 6}, + {Name: "TCA_CTINFO_ZONE", Value: 4}, + {Name: "TCA_CT_ACTION", Value: 3}, + {Name: "TCA_CT_ACT_CLEAR", Value: 4}, + {Name: "TCA_CT_ACT_COMMIT", Value: 1}, + {Name: "TCA_CT_ACT_FORCE", Value: 2}, + {Name: "TCA_CT_ACT_NAT", Value: 8}, + {Name: "TCA_CT_ACT_NAT_DST", Value: 32}, + {Name: "TCA_CT_ACT_NAT_SRC", Value: 16}, + {Name: "TCA_CT_LABELS", Value: 7}, + {Name: "TCA_CT_LABELS_MASK", Value: 8}, + {Name: "TCA_CT_MARK", Value: 5}, + {Name: "TCA_CT_MARK_MASK", Value: 6}, + {Name: "TCA_CT_NAT_IPV4_MAX", Value: 10}, + {Name: "TCA_CT_NAT_IPV4_MIN", Value: 9}, + {Name: "TCA_CT_NAT_IPV6_MAX", Value: 12}, + {Name: "TCA_CT_NAT_IPV6_MIN", Value: 11}, + {Name: "TCA_CT_NAT_PORT_MAX", Value: 14}, + {Name: "TCA_CT_NAT_PORT_MIN", Value: 13}, + {Name: "TCA_CT_PARMS", Value: 1}, + {Name: "TCA_CT_ZONE", Value: 4}, {Name: "TCA_DEF_DATA", Value: 3}, {Name: "TCA_DEF_PARMS", Value: 2}, {Name: "TCA_DRR_QUANTUM", Value: 1}, @@ -52045,11 +52340,22 @@ var consts_386 = []ConstValue{ {Name: "TCA_IPT_HOOK", Value: 2}, {Name: "TCA_IPT_INDEX", Value: 3}, {Name: "TCA_IPT_TABLE", Value: 1}, + {Name: "TCA_IPT_TARG", Value: 6}, {Name: "TCA_KIND", Value: 1}, {Name: "TCA_MATCHALL_ACT", Value: 2}, {Name: "TCA_MATCHALL_CLASSID", Value: 1}, {Name: "TCA_MATCHALL_FLAGS", Value: 3}, {Name: "TCA_MIRRED_PARMS", Value: 2}, + {Name: "TCA_MPLS_ACT_DEC_TTL", Value: 4}, + {Name: "TCA_MPLS_ACT_MODIFY", Value: 3}, + {Name: "TCA_MPLS_ACT_POP", Value: 1}, + {Name: "TCA_MPLS_ACT_PUSH", Value: 2}, + {Name: "TCA_MPLS_BOS", Value: 8}, + {Name: "TCA_MPLS_LABEL", Value: 5}, + {Name: "TCA_MPLS_PARMS", Value: 2}, + {Name: "TCA_MPLS_PROTO", Value: 4}, + {Name: "TCA_MPLS_TC", Value: 6}, + {Name: "TCA_MPLS_TTL", Value: 7}, {Name: "TCA_MQPRIO_MAX_RATE64", Value: 4}, {Name: "TCA_MQPRIO_MIN_RATE64", Value: 3}, {Name: "TCA_MQPRIO_MODE", Value: 1}, @@ -54755,4 +55061,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "94a1e835f3508f635d9116be3b678221fcf0fe7c" +const revision_386 = "caf75b0f4e09f78eb6147b2804614d80605557ef" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 2fa1a1364..f014d7aee 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -11231,6 +11231,28 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "m_csum_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_csum_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CSUM_PARMS, int16], tc_csum]"}, FldName: "TCA_CSUM_PARMS"}, }}}, + {Key: StructKey{Name: "m_ct_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ct_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, FldName: "TCA_CT_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, FldName: "TCA_CT_ACTION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, FldName: "TCA_CT_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, FldName: "TCA_CT_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, FldName: "TCA_CT_MARK_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MAX"}, + }}}, + {Key: StructKey{Name: "m_ctinfo_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ctinfo_options", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, FldName: "TCA_CTINFO_ACT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, FldName: "TCA_CTINFO_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_STATEMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_CPMARK_MASK"}, + }}}, {Key: StructKey{Name: "m_gact_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_gact_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PARMS, int16], tc_gen]"}, FldName: "TCA_GACT_PARMS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PROB, int16], tc_gact_p]"}, FldName: "TCA_GACT_PROB"}, @@ -11243,13 +11265,22 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IFE_METALST, int16], array[tca_ife_meta_policy]]"}, FldName: "TCA_IFE_METALST"}, }}}, {Key: StructKey{Name: "m_ipt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ipt_options", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, }}}, {Key: StructKey{Name: "m_mirred_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mirred_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MIRRED_PARMS, int16], tc_mirred]"}, FldName: "TCA_MIRRED_PARMS"}, }}}, + {Key: StructKey{Name: "m_mpls_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mpls_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, FldName: "TCA_MPLS_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, FldName: "TCA_MPLS_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, FldName: "TCA_MPLS_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, FldName: "TCA_MPLS_TC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, FldName: "TCA_MPLS_TTL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, FldName: "TCA_MPLS_BOS"}, + }}}, {Key: StructKey{Name: "m_nat_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_nat_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_NAT_PARMS, int16], tc_nat]"}, FldName: "TCA_NAT_PARMS"}, }}}, @@ -11314,6 +11345,12 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PROTOCOL, int16], flags[vlan_proto, int16be]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PROTOCOL"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PRIORITY, int16], int8[0:7]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PRIORITY"}, }}}, + {Key: StructKey{Name: "m_xt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_xt_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, + }}}, {Key: StructKey{Name: "mac_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr", TypeSize: 6}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, &StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"}, @@ -16799,6 +16836,18 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"csum\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"ct\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"ctinfo\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16821,6 +16870,12 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"mirred\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"mpls\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16873,6 +16928,12 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"vlan\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"xt\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16938,6 +16999,11 @@ var structDescs_amd64 = []*KeyedStruct{ &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: "m_vlan_options"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &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: "m_xt_options"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -16948,11 +17014,26 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_csum_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ct_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ctinfo_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_mirred_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_mpls_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -17234,6 +17315,101 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_csum"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_ct_actions", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_DEF_DATA, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_DEF_DATA, int16], string]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -18260,10 +18436,15 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]", TypeSize: 20}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "xt_entry_target"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, @@ -18560,6 +18741,40 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &StructType{Key: StructKey{Name: "tc_mirred"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 1048575}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "tc_mpls"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, @@ -19980,6 +20195,16 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"csum\", m_csum_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -20000,6 +20225,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"mirred\", m_mirred_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -20045,6 +20275,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, @@ -24301,6 +24536,10 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tc_mirred_eactions", FldName: "eaction", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifindex", TypeSize: 4}}, }}}, + {Key: StructKey{Name: "tc_mpls"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mpls", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "tc_gen"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_mpls_actions", FldName: "m_action", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, + }}}, {Key: StructKey{Name: "tc_mqprio_message"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mqprio_message", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "tc_mqprio_qopt"}, FldName: "qopt"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -24559,10 +24798,14 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"bpf\", array[m_bpf_options]]]"}, FldName: "m_bpf"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"connmark\", m_connmark_options]]"}, FldName: "m_connmark"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"csum\", m_csum_options]]"}, FldName: "m_csum"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, FldName: "m_ct"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, FldName: "m_ctinfo"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, FldName: "m_gact"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ife\", array[m_ife_options]]]"}, FldName: "m_ife"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ipt\", array[m_ipt_options]]]"}, FldName: "m_ipt"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, FldName: "m_xt"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mirred\", m_mirred_options]]"}, FldName: "m_mirred"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, FldName: "m_mpls"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, FldName: "m_nat"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"pedit\", array[m_pedit_options]]]"}, FldName: "m_pedit"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"police\", array[m_police_options]]]"}, FldName: "m_police"}, @@ -24592,6 +24835,16 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_csum_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ct\", m_ct_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ctinfo\", m_ctinfo_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"gact\", array[m_gact_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"gact\", array[m_gact_options]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_gact_options]]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24612,6 +24865,11 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"mpls\", m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"nat\", m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"nat\", m_nat_options]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24657,6 +24915,11 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_vlan_options]]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"xt\", array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_bpf_ops"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_bpf_ops", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS_LEN, int16], len[tca_bpf_ops:TCA_BPF_OPS:payload, int16]]"}, FldName: "TCA_BPF_OPS_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS, int16], array[sock_filter]]"}, FldName: "TCA_BPF_OPS"}, @@ -30791,6 +31054,14 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_udp"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "xt_entry_target"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_target", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "u_target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "revision", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "xt_esp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_esp", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_min", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_max", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, @@ -52380,6 +52651,30 @@ var consts_amd64 = []ConstValue{ {Name: "TCA_CODEL_TARGET", Value: 1}, {Name: "TCA_CONNMARK_PARMS", Value: 1}, {Name: "TCA_CSUM_PARMS", Value: 1}, + {Name: "TCA_CTINFO_ACT", Value: 3}, + {Name: "TCA_CTINFO_PARMS_CPMARK_MASK", Value: 7}, + {Name: "TCA_CTINFO_PARMS_DSCP_MASK", Value: 5}, + {Name: "TCA_CTINFO_PARMS_DSCP_STATEMASK", Value: 6}, + {Name: "TCA_CTINFO_ZONE", Value: 4}, + {Name: "TCA_CT_ACTION", Value: 3}, + {Name: "TCA_CT_ACT_CLEAR", Value: 4}, + {Name: "TCA_CT_ACT_COMMIT", Value: 1}, + {Name: "TCA_CT_ACT_FORCE", Value: 2}, + {Name: "TCA_CT_ACT_NAT", Value: 8}, + {Name: "TCA_CT_ACT_NAT_DST", Value: 32}, + {Name: "TCA_CT_ACT_NAT_SRC", Value: 16}, + {Name: "TCA_CT_LABELS", Value: 7}, + {Name: "TCA_CT_LABELS_MASK", Value: 8}, + {Name: "TCA_CT_MARK", Value: 5}, + {Name: "TCA_CT_MARK_MASK", Value: 6}, + {Name: "TCA_CT_NAT_IPV4_MAX", Value: 10}, + {Name: "TCA_CT_NAT_IPV4_MIN", Value: 9}, + {Name: "TCA_CT_NAT_IPV6_MAX", Value: 12}, + {Name: "TCA_CT_NAT_IPV6_MIN", Value: 11}, + {Name: "TCA_CT_NAT_PORT_MAX", Value: 14}, + {Name: "TCA_CT_NAT_PORT_MIN", Value: 13}, + {Name: "TCA_CT_PARMS", Value: 1}, + {Name: "TCA_CT_ZONE", Value: 4}, {Name: "TCA_DEF_DATA", Value: 3}, {Name: "TCA_DEF_PARMS", Value: 2}, {Name: "TCA_DRR_QUANTUM", Value: 1}, @@ -52575,11 +52870,22 @@ var consts_amd64 = []ConstValue{ {Name: "TCA_IPT_HOOK", Value: 2}, {Name: "TCA_IPT_INDEX", Value: 3}, {Name: "TCA_IPT_TABLE", Value: 1}, + {Name: "TCA_IPT_TARG", Value: 6}, {Name: "TCA_KIND", Value: 1}, {Name: "TCA_MATCHALL_ACT", Value: 2}, {Name: "TCA_MATCHALL_CLASSID", Value: 1}, {Name: "TCA_MATCHALL_FLAGS", Value: 3}, {Name: "TCA_MIRRED_PARMS", Value: 2}, + {Name: "TCA_MPLS_ACT_DEC_TTL", Value: 4}, + {Name: "TCA_MPLS_ACT_MODIFY", Value: 3}, + {Name: "TCA_MPLS_ACT_POP", Value: 1}, + {Name: "TCA_MPLS_ACT_PUSH", Value: 2}, + {Name: "TCA_MPLS_BOS", Value: 8}, + {Name: "TCA_MPLS_LABEL", Value: 5}, + {Name: "TCA_MPLS_PARMS", Value: 2}, + {Name: "TCA_MPLS_PROTO", Value: 4}, + {Name: "TCA_MPLS_TC", Value: 6}, + {Name: "TCA_MPLS_TTL", Value: 7}, {Name: "TCA_MQPRIO_MAX_RATE64", Value: 4}, {Name: "TCA_MQPRIO_MIN_RATE64", Value: 3}, {Name: "TCA_MQPRIO_MODE", Value: 1}, @@ -55300,4 +55606,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "0a9fd1109935d5ff18d7a77edea2749d1622fc74" +const revision_amd64 = "ef50506cf171d52b2aa0b02f59e82fa37023bc23" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index e70dc11d9..3cfc5ed7a 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -10935,6 +10935,28 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "m_csum_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_csum_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CSUM_PARMS, int16], tc_csum]"}, FldName: "TCA_CSUM_PARMS"}, }}}, + {Key: StructKey{Name: "m_ct_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ct_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, FldName: "TCA_CT_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, FldName: "TCA_CT_ACTION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, FldName: "TCA_CT_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, FldName: "TCA_CT_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, FldName: "TCA_CT_MARK_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MAX"}, + }}}, + {Key: StructKey{Name: "m_ctinfo_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ctinfo_options", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, FldName: "TCA_CTINFO_ACT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, FldName: "TCA_CTINFO_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_STATEMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_CPMARK_MASK"}, + }}}, {Key: StructKey{Name: "m_gact_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_gact_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PARMS, int16], tc_gen]"}, FldName: "TCA_GACT_PARMS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PROB, int16], tc_gact_p]"}, FldName: "TCA_GACT_PROB"}, @@ -10947,13 +10969,22 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IFE_METALST, int16], array[tca_ife_meta_policy]]"}, FldName: "TCA_IFE_METALST"}, }}}, {Key: StructKey{Name: "m_ipt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ipt_options", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, }}}, {Key: StructKey{Name: "m_mirred_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mirred_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MIRRED_PARMS, int16], tc_mirred]"}, FldName: "TCA_MIRRED_PARMS"}, }}}, + {Key: StructKey{Name: "m_mpls_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mpls_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, FldName: "TCA_MPLS_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, FldName: "TCA_MPLS_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, FldName: "TCA_MPLS_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, FldName: "TCA_MPLS_TC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, FldName: "TCA_MPLS_TTL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, FldName: "TCA_MPLS_BOS"}, + }}}, {Key: StructKey{Name: "m_nat_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_nat_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_NAT_PARMS, int16], tc_nat]"}, FldName: "TCA_NAT_PARMS"}, }}}, @@ -11018,6 +11049,12 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PROTOCOL, int16], flags[vlan_proto, int16be]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PROTOCOL"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PRIORITY, int16], int8[0:7]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PRIORITY"}, }}}, + {Key: StructKey{Name: "m_xt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_xt_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, + }}}, {Key: StructKey{Name: "mac_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr", TypeSize: 6}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, &StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"}, @@ -16317,6 +16354,18 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"csum\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"ct\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"ctinfo\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16339,6 +16388,12 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"mirred\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"mpls\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16391,6 +16446,12 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"vlan\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"xt\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16456,6 +16517,11 @@ var structDescs_arm = []*KeyedStruct{ &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: "m_vlan_options"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &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: "m_xt_options"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -16466,11 +16532,26 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_csum_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ct_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ctinfo_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_mirred_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_mpls_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -16752,6 +16833,101 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_csum"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_ct_actions", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_DEF_DATA, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_DEF_DATA, int16], string]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -17778,10 +17954,15 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]", TypeSize: 20}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "xt_entry_target"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, @@ -18078,6 +18259,40 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &StructType{Key: StructKey{Name: "tc_mirred"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 1048575}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "tc_mpls"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, @@ -19498,6 +19713,16 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"csum\", m_csum_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19518,6 +19743,11 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"mirred\", m_mirred_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19563,6 +19793,11 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, @@ -23800,6 +24035,10 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tc_mirred_eactions", FldName: "eaction", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifindex", TypeSize: 4}}, }}}, + {Key: StructKey{Name: "tc_mpls"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mpls", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "tc_gen"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_mpls_actions", FldName: "m_action", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, + }}}, {Key: StructKey{Name: "tc_mqprio_message"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mqprio_message", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "tc_mqprio_qopt"}, FldName: "qopt"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -24058,10 +24297,14 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"bpf\", array[m_bpf_options]]]"}, FldName: "m_bpf"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"connmark\", m_connmark_options]]"}, FldName: "m_connmark"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"csum\", m_csum_options]]"}, FldName: "m_csum"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, FldName: "m_ct"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, FldName: "m_ctinfo"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, FldName: "m_gact"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ife\", array[m_ife_options]]]"}, FldName: "m_ife"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ipt\", array[m_ipt_options]]]"}, FldName: "m_ipt"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, FldName: "m_xt"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mirred\", m_mirred_options]]"}, FldName: "m_mirred"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, FldName: "m_mpls"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, FldName: "m_nat"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"pedit\", array[m_pedit_options]]]"}, FldName: "m_pedit"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"police\", array[m_police_options]]]"}, FldName: "m_police"}, @@ -24091,6 +24334,16 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_csum_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ct\", m_ct_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ctinfo\", m_ctinfo_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"gact\", array[m_gact_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"gact\", array[m_gact_options]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_gact_options]]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24111,6 +24364,11 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"mpls\", m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"nat\", m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"nat\", m_nat_options]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24156,6 +24414,11 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_vlan_options]]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"xt\", array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_bpf_ops"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_bpf_ops", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS_LEN, int16], len[tca_bpf_ops:TCA_BPF_OPS:payload, int16]]"}, FldName: "TCA_BPF_OPS_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS, int16], array[sock_filter]]"}, FldName: "TCA_BPF_OPS"}, @@ -30177,6 +30440,14 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_udp"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "xt_entry_target"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_target", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "u_target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "revision", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "xt_esp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_esp", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_min", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_max", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, @@ -51437,6 +51708,30 @@ var consts_arm = []ConstValue{ {Name: "TCA_CODEL_TARGET", Value: 1}, {Name: "TCA_CONNMARK_PARMS", Value: 1}, {Name: "TCA_CSUM_PARMS", Value: 1}, + {Name: "TCA_CTINFO_ACT", Value: 3}, + {Name: "TCA_CTINFO_PARMS_CPMARK_MASK", Value: 7}, + {Name: "TCA_CTINFO_PARMS_DSCP_MASK", Value: 5}, + {Name: "TCA_CTINFO_PARMS_DSCP_STATEMASK", Value: 6}, + {Name: "TCA_CTINFO_ZONE", Value: 4}, + {Name: "TCA_CT_ACTION", Value: 3}, + {Name: "TCA_CT_ACT_CLEAR", Value: 4}, + {Name: "TCA_CT_ACT_COMMIT", Value: 1}, + {Name: "TCA_CT_ACT_FORCE", Value: 2}, + {Name: "TCA_CT_ACT_NAT", Value: 8}, + {Name: "TCA_CT_ACT_NAT_DST", Value: 32}, + {Name: "TCA_CT_ACT_NAT_SRC", Value: 16}, + {Name: "TCA_CT_LABELS", Value: 7}, + {Name: "TCA_CT_LABELS_MASK", Value: 8}, + {Name: "TCA_CT_MARK", Value: 5}, + {Name: "TCA_CT_MARK_MASK", Value: 6}, + {Name: "TCA_CT_NAT_IPV4_MAX", Value: 10}, + {Name: "TCA_CT_NAT_IPV4_MIN", Value: 9}, + {Name: "TCA_CT_NAT_IPV6_MAX", Value: 12}, + {Name: "TCA_CT_NAT_IPV6_MIN", Value: 11}, + {Name: "TCA_CT_NAT_PORT_MAX", Value: 14}, + {Name: "TCA_CT_NAT_PORT_MIN", Value: 13}, + {Name: "TCA_CT_PARMS", Value: 1}, + {Name: "TCA_CT_ZONE", Value: 4}, {Name: "TCA_DEF_DATA", Value: 3}, {Name: "TCA_DEF_PARMS", Value: 2}, {Name: "TCA_DRR_QUANTUM", Value: 1}, @@ -51632,11 +51927,22 @@ var consts_arm = []ConstValue{ {Name: "TCA_IPT_HOOK", Value: 2}, {Name: "TCA_IPT_INDEX", Value: 3}, {Name: "TCA_IPT_TABLE", Value: 1}, + {Name: "TCA_IPT_TARG", Value: 6}, {Name: "TCA_KIND", Value: 1}, {Name: "TCA_MATCHALL_ACT", Value: 2}, {Name: "TCA_MATCHALL_CLASSID", Value: 1}, {Name: "TCA_MATCHALL_FLAGS", Value: 3}, {Name: "TCA_MIRRED_PARMS", Value: 2}, + {Name: "TCA_MPLS_ACT_DEC_TTL", Value: 4}, + {Name: "TCA_MPLS_ACT_MODIFY", Value: 3}, + {Name: "TCA_MPLS_ACT_POP", Value: 1}, + {Name: "TCA_MPLS_ACT_PUSH", Value: 2}, + {Name: "TCA_MPLS_BOS", Value: 8}, + {Name: "TCA_MPLS_LABEL", Value: 5}, + {Name: "TCA_MPLS_PARMS", Value: 2}, + {Name: "TCA_MPLS_PROTO", Value: 4}, + {Name: "TCA_MPLS_TC", Value: 6}, + {Name: "TCA_MPLS_TTL", Value: 7}, {Name: "TCA_MQPRIO_MAX_RATE64", Value: 4}, {Name: "TCA_MQPRIO_MIN_RATE64", Value: 3}, {Name: "TCA_MQPRIO_MODE", Value: 1}, @@ -54332,4 +54638,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "0b9ce2036442ae50258fce01c1db4ab4b4da2dca" +const revision_arm = "2b23a616e3af0942a4f61c5deaa9800f0cb672f1" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 44e29c957..e6f6b404a 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -11048,6 +11048,28 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "m_csum_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_csum_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CSUM_PARMS, int16], tc_csum]"}, FldName: "TCA_CSUM_PARMS"}, }}}, + {Key: StructKey{Name: "m_ct_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ct_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, FldName: "TCA_CT_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, FldName: "TCA_CT_ACTION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, FldName: "TCA_CT_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, FldName: "TCA_CT_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, FldName: "TCA_CT_MARK_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MAX"}, + }}}, + {Key: StructKey{Name: "m_ctinfo_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ctinfo_options", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, FldName: "TCA_CTINFO_ACT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, FldName: "TCA_CTINFO_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_STATEMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_CPMARK_MASK"}, + }}}, {Key: StructKey{Name: "m_gact_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_gact_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PARMS, int16], tc_gen]"}, FldName: "TCA_GACT_PARMS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PROB, int16], tc_gact_p]"}, FldName: "TCA_GACT_PROB"}, @@ -11060,13 +11082,22 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IFE_METALST, int16], array[tca_ife_meta_policy]]"}, FldName: "TCA_IFE_METALST"}, }}}, {Key: StructKey{Name: "m_ipt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ipt_options", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, }}}, {Key: StructKey{Name: "m_mirred_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mirred_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MIRRED_PARMS, int16], tc_mirred]"}, FldName: "TCA_MIRRED_PARMS"}, }}}, + {Key: StructKey{Name: "m_mpls_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mpls_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, FldName: "TCA_MPLS_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, FldName: "TCA_MPLS_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, FldName: "TCA_MPLS_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, FldName: "TCA_MPLS_TC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, FldName: "TCA_MPLS_TTL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, FldName: "TCA_MPLS_BOS"}, + }}}, {Key: StructKey{Name: "m_nat_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_nat_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_NAT_PARMS, int16], tc_nat]"}, FldName: "TCA_NAT_PARMS"}, }}}, @@ -11131,6 +11162,12 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PROTOCOL, int16], flags[vlan_proto, int16be]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PROTOCOL"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PRIORITY, int16], int8[0:7]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PRIORITY"}, }}}, + {Key: StructKey{Name: "m_xt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_xt_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, + }}}, {Key: StructKey{Name: "mac_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr", TypeSize: 6}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, &StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"}, @@ -16616,6 +16653,18 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"csum\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"ct\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"ctinfo\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16638,6 +16687,12 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"mirred\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"mpls\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16690,6 +16745,12 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"vlan\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"xt\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16755,6 +16816,11 @@ var structDescs_arm64 = []*KeyedStruct{ &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: "m_vlan_options"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &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: "m_xt_options"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -16765,11 +16831,26 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_csum_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ct_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ctinfo_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_mirred_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_mpls_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -17051,6 +17132,101 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_csum"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_ct_actions", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_DEF_DATA, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_DEF_DATA, int16], string]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -18077,10 +18253,15 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]", TypeSize: 20}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "xt_entry_target"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, @@ -18377,6 +18558,40 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &StructType{Key: StructKey{Name: "tc_mirred"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 1048575}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "tc_mpls"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, @@ -19797,6 +20012,16 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"csum\", m_csum_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19817,6 +20042,11 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"mirred\", m_mirred_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19862,6 +20092,11 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, @@ -24118,6 +24353,10 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tc_mirred_eactions", FldName: "eaction", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifindex", TypeSize: 4}}, }}}, + {Key: StructKey{Name: "tc_mpls"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mpls", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "tc_gen"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_mpls_actions", FldName: "m_action", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, + }}}, {Key: StructKey{Name: "tc_mqprio_message"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mqprio_message", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "tc_mqprio_qopt"}, FldName: "qopt"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -24376,10 +24615,14 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"bpf\", array[m_bpf_options]]]"}, FldName: "m_bpf"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"connmark\", m_connmark_options]]"}, FldName: "m_connmark"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"csum\", m_csum_options]]"}, FldName: "m_csum"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, FldName: "m_ct"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, FldName: "m_ctinfo"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, FldName: "m_gact"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ife\", array[m_ife_options]]]"}, FldName: "m_ife"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ipt\", array[m_ipt_options]]]"}, FldName: "m_ipt"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, FldName: "m_xt"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mirred\", m_mirred_options]]"}, FldName: "m_mirred"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, FldName: "m_mpls"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, FldName: "m_nat"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"pedit\", array[m_pedit_options]]]"}, FldName: "m_pedit"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"police\", array[m_police_options]]]"}, FldName: "m_police"}, @@ -24409,6 +24652,16 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_csum_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ct\", m_ct_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ctinfo\", m_ctinfo_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"gact\", array[m_gact_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"gact\", array[m_gact_options]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_gact_options]]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24429,6 +24682,11 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"mpls\", m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"nat\", m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"nat\", m_nat_options]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24474,6 +24732,11 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_vlan_options]]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"xt\", array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_bpf_ops"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_bpf_ops", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS_LEN, int16], len[tca_bpf_ops:TCA_BPF_OPS:payload, int16]]"}, FldName: "TCA_BPF_OPS_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS, int16], array[sock_filter]]"}, FldName: "TCA_BPF_OPS"}, @@ -30583,6 +30846,14 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_udp"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "xt_entry_target"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_target", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "u_target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "revision", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "xt_esp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_esp", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_min", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_max", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, @@ -51773,6 +52044,30 @@ var consts_arm64 = []ConstValue{ {Name: "TCA_CODEL_TARGET", Value: 1}, {Name: "TCA_CONNMARK_PARMS", Value: 1}, {Name: "TCA_CSUM_PARMS", Value: 1}, + {Name: "TCA_CTINFO_ACT", Value: 3}, + {Name: "TCA_CTINFO_PARMS_CPMARK_MASK", Value: 7}, + {Name: "TCA_CTINFO_PARMS_DSCP_MASK", Value: 5}, + {Name: "TCA_CTINFO_PARMS_DSCP_STATEMASK", Value: 6}, + {Name: "TCA_CTINFO_ZONE", Value: 4}, + {Name: "TCA_CT_ACTION", Value: 3}, + {Name: "TCA_CT_ACT_CLEAR", Value: 4}, + {Name: "TCA_CT_ACT_COMMIT", Value: 1}, + {Name: "TCA_CT_ACT_FORCE", Value: 2}, + {Name: "TCA_CT_ACT_NAT", Value: 8}, + {Name: "TCA_CT_ACT_NAT_DST", Value: 32}, + {Name: "TCA_CT_ACT_NAT_SRC", Value: 16}, + {Name: "TCA_CT_LABELS", Value: 7}, + {Name: "TCA_CT_LABELS_MASK", Value: 8}, + {Name: "TCA_CT_MARK", Value: 5}, + {Name: "TCA_CT_MARK_MASK", Value: 6}, + {Name: "TCA_CT_NAT_IPV4_MAX", Value: 10}, + {Name: "TCA_CT_NAT_IPV4_MIN", Value: 9}, + {Name: "TCA_CT_NAT_IPV6_MAX", Value: 12}, + {Name: "TCA_CT_NAT_IPV6_MIN", Value: 11}, + {Name: "TCA_CT_NAT_PORT_MAX", Value: 14}, + {Name: "TCA_CT_NAT_PORT_MIN", Value: 13}, + {Name: "TCA_CT_PARMS", Value: 1}, + {Name: "TCA_CT_ZONE", Value: 4}, {Name: "TCA_DEF_DATA", Value: 3}, {Name: "TCA_DEF_PARMS", Value: 2}, {Name: "TCA_DRR_QUANTUM", Value: 1}, @@ -51968,11 +52263,22 @@ var consts_arm64 = []ConstValue{ {Name: "TCA_IPT_HOOK", Value: 2}, {Name: "TCA_IPT_INDEX", Value: 3}, {Name: "TCA_IPT_TABLE", Value: 1}, + {Name: "TCA_IPT_TARG", Value: 6}, {Name: "TCA_KIND", Value: 1}, {Name: "TCA_MATCHALL_ACT", Value: 2}, {Name: "TCA_MATCHALL_CLASSID", Value: 1}, {Name: "TCA_MATCHALL_FLAGS", Value: 3}, {Name: "TCA_MIRRED_PARMS", Value: 2}, + {Name: "TCA_MPLS_ACT_DEC_TTL", Value: 4}, + {Name: "TCA_MPLS_ACT_MODIFY", Value: 3}, + {Name: "TCA_MPLS_ACT_POP", Value: 1}, + {Name: "TCA_MPLS_ACT_PUSH", Value: 2}, + {Name: "TCA_MPLS_BOS", Value: 8}, + {Name: "TCA_MPLS_LABEL", Value: 5}, + {Name: "TCA_MPLS_PARMS", Value: 2}, + {Name: "TCA_MPLS_PROTO", Value: 4}, + {Name: "TCA_MPLS_TC", Value: 6}, + {Name: "TCA_MPLS_TTL", Value: 7}, {Name: "TCA_MQPRIO_MAX_RATE64", Value: 4}, {Name: "TCA_MQPRIO_MIN_RATE64", Value: 3}, {Name: "TCA_MQPRIO_MODE", Value: 1}, @@ -54652,4 +54958,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "d4a2c73e7ab8426cef536943f2fbaad3801dd84c" +const revision_arm64 = "d4fbe3b56b8734e19d14bf7d435e854c03c8a06c" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 26f672cda..f5ed095d0 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -11000,6 +11000,28 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "m_csum_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_csum_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CSUM_PARMS, int16], tc_csum]"}, FldName: "TCA_CSUM_PARMS"}, }}}, + {Key: StructKey{Name: "m_ct_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ct_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, FldName: "TCA_CT_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, FldName: "TCA_CT_ACTION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, FldName: "TCA_CT_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, FldName: "TCA_CT_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, FldName: "TCA_CT_MARK_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, FldName: "TCA_CT_LABELS_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, FldName: "TCA_CT_NAT_IPV4_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, FldName: "TCA_CT_NAT_IPV6_MAX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MIN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, FldName: "TCA_CT_NAT_PORT_MAX"}, + }}}, + {Key: StructKey{Name: "m_ctinfo_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ctinfo_options", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, FldName: "TCA_CTINFO_ACT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, FldName: "TCA_CTINFO_ZONE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_DSCP_STATEMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, FldName: "TCA_CTINFO_PARMS_CPMARK_MASK"}, + }}}, {Key: StructKey{Name: "m_gact_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_gact_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PARMS, int16], tc_gen]"}, FldName: "TCA_GACT_PARMS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_GACT_PROB, int16], tc_gact_p]"}, FldName: "TCA_GACT_PROB"}, @@ -11012,13 +11034,22 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IFE_METALST, int16], array[tca_ife_meta_policy]]"}, FldName: "TCA_IFE_METALST"}, }}}, {Key: StructKey{Name: "m_ipt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_ipt_options", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, }}}, {Key: StructKey{Name: "m_mirred_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mirred_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MIRRED_PARMS, int16], tc_mirred]"}, FldName: "TCA_MIRRED_PARMS"}, }}}, + {Key: StructKey{Name: "m_mpls_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_mpls_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, FldName: "TCA_MPLS_PARMS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, FldName: "TCA_MPLS_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, FldName: "TCA_MPLS_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, FldName: "TCA_MPLS_TC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, FldName: "TCA_MPLS_TTL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, FldName: "TCA_MPLS_BOS"}, + }}}, {Key: StructKey{Name: "m_nat_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_nat_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_NAT_PARMS, int16], tc_nat]"}, FldName: "TCA_NAT_PARMS"}, }}}, @@ -11083,6 +11114,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PROTOCOL, int16], flags[vlan_proto, int16be]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PROTOCOL"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_VLAN_PUSH_VLAN_PRIORITY, int16], int8[0:7]]"}, FldName: "TCA_VLAN_PUSH_VLAN_PRIORITY"}, }}}, + {Key: StructKey{Name: "m_xt_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "m_xt_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, FldName: "TCA_IPT_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_HOOK, int16], flags[nf_inet_hooks, int32]]"}, FldName: "TCA_IPT_HOOK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_INDEX, int16], int32]"}, FldName: "TCA_IPT_INDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, FldName: "TCA_IPT_TARG"}, + }}}, {Key: StructKey{Name: "mac_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr", TypeSize: 6}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, &StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"}, @@ -16568,6 +16605,18 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"csum\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"ct\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"ctinfo\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16590,6 +16639,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 7}, Kind: 2, Values: []string{"mirred\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"mpls\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16642,6 +16697,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"vlan\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 3}, Kind: 2, Values: []string{"xt\x00"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_KIND, int16], string[tca_actions_kinds]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -16707,6 +16768,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &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: "m_vlan_options"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &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: "m_xt_options"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_connmark_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -16717,11 +16783,26 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_csum_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ct_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_ctinfo_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "m_mirred_options"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &UnionType{Key: StructKey{Name: "m_mpls_options"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -17003,6 +17084,101 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &StructType{Key: StructKey{Name: "tc_csum"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ACT, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_CPMARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_PARMS_DSCP_STATEMASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CTINFO_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ACTION, int16], flags[tca_ct_actions, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_ct_actions", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_LABELS_MASK, int16], array[int8, 16]]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_MARK_MASK, int16], int32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MAX, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV4_MIN, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MAX, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_IPV6_MIN, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MAX, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_NAT_PORT_MIN, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_PARMS, int16], tc_gen]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_CT_ZONE, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_CT_ZONE, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_DEF_DATA, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_DEF_DATA, int16], string]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -18029,10 +18205,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, IFNAMSIZ]]", TypeSize: 20}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TABLE, int16], string[ipt_tables, XT_TABLE_MAXNAMELEN]]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_IPT_TARG, int16], xt_entry_target]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "xt_entry_target"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_KIND, int16], string[\"atm\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, @@ -18329,6 +18510,40 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &StructType{Key: StructKey{Name: "tc_mirred"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_BOS, int16], int8[0:1]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_LABEL, int16], int32[0:0xfffff]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 2, RangeEnd: 1048575}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PARMS, int16], tc_mpls]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "tc_mpls"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_PROTO, int16], flags[ether_types, int16be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ether_types", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{96, 512, 513, 8944, 2048, 2053, 2054, 2560, 2561, 17157, 24576, 24577, 24578, 24579, 24580, 24581, 24582, 24583, 25944, 32821, 32923, 33011, 33024, 35006, 8939, 33079, 34525, 34824, 34825, 34878, 34887, 34888, 34892, 34915, 34916, 34924, 34948, 34958, 34978, 34984, 34997, 35018, 35045, 35047, 35061, 35063, 35064, 35067, 35078, 35085, 35092, 35095, 35119, 36864, 37120, 37376, 37632, 56026, 64507, 1536, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248, 249}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TC, int16], int8[0:7]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 2, RangeEnd: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MPLS_TTL, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_MQPRIO_MAX_RATE64, int16], array[nlattr[TCA_MQPRIO_MAX_RATE64, int64], 0:16]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, @@ -19749,6 +19964,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"csum\", m_csum_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19769,6 +19994,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"mirred\", m_mirred_options]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, @@ -19814,6 +20044,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, + &StructType{Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, @@ -24070,6 +24305,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tc_mirred_eactions", FldName: "eaction", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifindex", TypeSize: 4}}, }}}, + {Key: StructKey{Name: "tc_mpls"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mpls", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "tc_gen"}, FldName: "tc_gen"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tca_mpls_actions", FldName: "m_action", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, + }}}, {Key: StructKey{Name: "tc_mqprio_message"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tc_mqprio_message", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "tc_mqprio_qopt"}, FldName: "qopt"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -24328,10 +24567,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"bpf\", array[m_bpf_options]]]"}, FldName: "m_bpf"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"connmark\", m_connmark_options]]"}, FldName: "m_connmark"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"csum\", m_csum_options]]"}, FldName: "m_csum"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ct\", m_ct_options]]"}, FldName: "m_ct"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ctinfo\", m_ctinfo_options]]"}, FldName: "m_ctinfo"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"gact\", array[m_gact_options]]]"}, FldName: "m_gact"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ife\", array[m_ife_options]]]"}, FldName: "m_ife"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"ipt\", array[m_ipt_options]]]"}, FldName: "m_ipt"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"xt\", array[m_xt_options]]]"}, FldName: "m_xt"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mirred\", m_mirred_options]]"}, FldName: "m_mirred"}, + &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"mpls\", m_mpls_options]]"}, FldName: "m_mpls"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"nat\", m_nat_options]]"}, FldName: "m_nat"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"pedit\", array[m_pedit_options]]]"}, FldName: "m_pedit"}, &StructType{Key: StructKey{Name: "nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t[\"police\", array[m_police_options]]]"}, FldName: "m_police"}, @@ -24361,6 +24604,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_csum_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ct\", m_ct_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ct\", m_ct_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ct\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ct_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"ctinfo\", m_ctinfo_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"ctinfo\", m_ctinfo_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"ctinfo\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_ctinfo_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"gact\", array[m_gact_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"gact\", array[m_gact_options]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"gact\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_gact_options]]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24381,6 +24634,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mirred_options]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"mpls\", m_mpls_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"mpls\", m_mpls_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"mpls\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_mpls_options]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_actions_t[\"nat\", m_nat_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"nat\", m_nat_options]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"nat\"]]"}, FldName: "TCA_ACT_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], m_nat_options]"}, FldName: "TCA_ACT_OPTIONS"}, @@ -24426,6 +24684,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_vlan_options]]"}, FldName: "TCA_ACT_OPTIONS"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "tca_actions_t[\"xt\", array[m_xt_options]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_actions_t[\"xt\", array[m_xt_options]]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_KIND, int16], string[\"xt\"]]"}, FldName: "TCA_ACT_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_OPTIONS, int16], array[m_xt_options]]"}, FldName: "TCA_ACT_OPTIONS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_COOKIE, int16], array[int8]]"}, FldName: "TCA_ACT_COOKIE"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "tca_bpf_ops"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tca_bpf_ops", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS_LEN, int16], len[tca_bpf_ops:TCA_BPF_OPS:payload, int16]]"}, FldName: "TCA_BPF_OPS_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_BPF_OPS, int16], array[sock_filter]]"}, FldName: "TCA_BPF_OPS"}, @@ -30478,6 +30741,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_udp"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "xt_entry_target"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_target", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "u_target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 32}, Kind: 2, SubKind: "ipt_tables", Values: []string{"filter\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nat\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "mangle\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "raw\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "security\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "revision", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "target_size", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }}}, {Key: StructKey{Name: "xt_esp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_esp", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_min", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spis_max", TypeSize: 4}, ArgFormat: 1}, Kind: 2, RangeBegin: 1234, RangeEnd: 1238}, @@ -51766,6 +52037,30 @@ var consts_ppc64le = []ConstValue{ {Name: "TCA_CODEL_TARGET", Value: 1}, {Name: "TCA_CONNMARK_PARMS", Value: 1}, {Name: "TCA_CSUM_PARMS", Value: 1}, + {Name: "TCA_CTINFO_ACT", Value: 3}, + {Name: "TCA_CTINFO_PARMS_CPMARK_MASK", Value: 7}, + {Name: "TCA_CTINFO_PARMS_DSCP_MASK", Value: 5}, + {Name: "TCA_CTINFO_PARMS_DSCP_STATEMASK", Value: 6}, + {Name: "TCA_CTINFO_ZONE", Value: 4}, + {Name: "TCA_CT_ACTION", Value: 3}, + {Name: "TCA_CT_ACT_CLEAR", Value: 4}, + {Name: "TCA_CT_ACT_COMMIT", Value: 1}, + {Name: "TCA_CT_ACT_FORCE", Value: 2}, + {Name: "TCA_CT_ACT_NAT", Value: 8}, + {Name: "TCA_CT_ACT_NAT_DST", Value: 32}, + {Name: "TCA_CT_ACT_NAT_SRC", Value: 16}, + {Name: "TCA_CT_LABELS", Value: 7}, + {Name: "TCA_CT_LABELS_MASK", Value: 8}, + {Name: "TCA_CT_MARK", Value: 5}, + {Name: "TCA_CT_MARK_MASK", Value: 6}, + {Name: "TCA_CT_NAT_IPV4_MAX", Value: 10}, + {Name: "TCA_CT_NAT_IPV4_MIN", Value: 9}, + {Name: "TCA_CT_NAT_IPV6_MAX", Value: 12}, + {Name: "TCA_CT_NAT_IPV6_MIN", Value: 11}, + {Name: "TCA_CT_NAT_PORT_MAX", Value: 14}, + {Name: "TCA_CT_NAT_PORT_MIN", Value: 13}, + {Name: "TCA_CT_PARMS", Value: 1}, + {Name: "TCA_CT_ZONE", Value: 4}, {Name: "TCA_DEF_DATA", Value: 3}, {Name: "TCA_DEF_PARMS", Value: 2}, {Name: "TCA_DRR_QUANTUM", Value: 1}, @@ -51961,11 +52256,22 @@ var consts_ppc64le = []ConstValue{ {Name: "TCA_IPT_HOOK", Value: 2}, {Name: "TCA_IPT_INDEX", Value: 3}, {Name: "TCA_IPT_TABLE", Value: 1}, + {Name: "TCA_IPT_TARG", Value: 6}, {Name: "TCA_KIND", Value: 1}, {Name: "TCA_MATCHALL_ACT", Value: 2}, {Name: "TCA_MATCHALL_CLASSID", Value: 1}, {Name: "TCA_MATCHALL_FLAGS", Value: 3}, {Name: "TCA_MIRRED_PARMS", Value: 2}, + {Name: "TCA_MPLS_ACT_DEC_TTL", Value: 4}, + {Name: "TCA_MPLS_ACT_MODIFY", Value: 3}, + {Name: "TCA_MPLS_ACT_POP", Value: 1}, + {Name: "TCA_MPLS_ACT_PUSH", Value: 2}, + {Name: "TCA_MPLS_BOS", Value: 8}, + {Name: "TCA_MPLS_LABEL", Value: 5}, + {Name: "TCA_MPLS_PARMS", Value: 2}, + {Name: "TCA_MPLS_PROTO", Value: 4}, + {Name: "TCA_MPLS_TC", Value: 6}, + {Name: "TCA_MPLS_TTL", Value: 7}, {Name: "TCA_MQPRIO_MAX_RATE64", Value: 4}, {Name: "TCA_MQPRIO_MIN_RATE64", Value: 3}, {Name: "TCA_MQPRIO_MODE", Value: 1}, @@ -54617,4 +54923,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "d567e4c5f26515c62af5faf88438b1edbade9f64" +const revision_ppc64le = "164a3ebfe8f7bf744cd0e731950d1702b6826fd4" diff --git a/sys/linux/socket_netlink_route_sched.txt b/sys/linux/socket_netlink_route_sched.txt index 8ea68064c..a003a17b0 100644 --- a/sys/linux/socket_netlink_route_sched.txt +++ b/sys/linux/socket_netlink_route_sched.txt @@ -8,18 +8,22 @@ include include include include +include include include include include include +include include include +include include include include include include +include include include include @@ -896,10 +900,14 @@ tca_actions [ m_bpf nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["bpf", array[m_bpf_options]]] m_connmark nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["connmark", m_connmark_options]] m_csum nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["csum", m_csum_options]] + m_ct nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["ct", m_ct_options]] + m_ctinfo nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["ctinfo", m_ctinfo_options]] m_gact nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["gact", array[m_gact_options]]] m_ife nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["ife", array[m_ife_options]]] m_ipt nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["ipt", array[m_ipt_options]]] + m_xt nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["xt", array[m_xt_options]]] m_mirred nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["mirred", m_mirred_options]] + m_mpls nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["mpls", m_mpls_options]] m_nat nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["nat", m_nat_options]] m_pedit nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["pedit", array[m_pedit_options]]] m_police nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_t["police", array[m_police_options]]] @@ -933,6 +941,30 @@ m_csum_options [ TCA_CSUM_PARMS nlattr[TCA_CSUM_PARMS, tc_csum] ] [varlen] +m_ct_options [ + TCA_CT_PARMS nlattr[TCA_CT_PARMS, tc_gen] + TCA_CT_ACTION nlattr[TCA_CT_ACTION, flags[tca_ct_actions, int16]] + TCA_CT_ZONE nlattr[TCA_CT_ZONE, int16] + TCA_CT_MARK nlattr[TCA_CT_MARK, int32] + TCA_CT_MARK_MASK nlattr[TCA_CT_MARK_MASK, int32] + TCA_CT_LABELS nlattr[TCA_CT_LABELS, array[int8, 16]] + TCA_CT_LABELS_MASK nlattr[TCA_CT_LABELS_MASK, array[int8, 16]] + TCA_CT_NAT_IPV4_MIN nlattr[TCA_CT_NAT_IPV4_MIN, ipv4_addr] + TCA_CT_NAT_IPV4_MAX nlattr[TCA_CT_NAT_IPV4_MAX, ipv4_addr] + TCA_CT_NAT_IPV6_MIN nlattr[TCA_CT_NAT_IPV6_MIN, ipv6_addr] + TCA_CT_NAT_IPV6_MAX nlattr[TCA_CT_NAT_IPV6_MAX, ipv6_addr] + TCA_CT_NAT_PORT_MIN nlattr[TCA_CT_NAT_PORT_MIN, sock_port] + TCA_CT_NAT_PORT_MAX nlattr[TCA_CT_NAT_PORT_MAX, sock_port] +] [varlen] + +m_ctinfo_options [ + TCA_CTINFO_ACT nlattr[TCA_CTINFO_ACT, tc_gen] + TCA_CTINFO_ZONE nlattr[TCA_CTINFO_ZONE, int16] + TCA_CTINFO_PARMS_DSCP_MASK nlattr[TCA_CTINFO_PARMS_DSCP_MASK, int32] + TCA_CTINFO_PARMS_DSCP_STATEMASK nlattr[TCA_CTINFO_PARMS_DSCP_STATEMASK, int32] + TCA_CTINFO_PARMS_CPMARK_MASK nlattr[TCA_CTINFO_PARMS_CPMARK_MASK, int32] +] + m_gact_options [ TCA_GACT_PARMS nlattr[TCA_GACT_PARMS, tc_gen] TCA_GACT_PROB nlattr[TCA_GACT_PROB, tc_gact_p] @@ -952,17 +984,42 @@ tca_ife_meta_policy [ IFE_META_TCINDEX nlattr[IFE_META_TCINDEX, optional[int16]] ] [varlen] -# TODO: add TCA_IPT_TARG support +# NEED: u_target_size = XT_ALIGN(sizeof(struct xt_entry_target)) + target->size +xt_entry_target { + u_target_size int16 + name string[ipt_tables, XT_TABLE_MAXNAMELEN] + revision int8 + target_size int16 + data array[int8] +} + m_ipt_options [ - TCA_IPT_TABLE nlattr[TCA_IPT_TABLE, string[ipt_tables, IFNAMSIZ]] + TCA_IPT_TABLE nlattr[TCA_IPT_TABLE, string[ipt_tables, XT_TABLE_MAXNAMELEN]] TCA_IPT_HOOK nlattr[TCA_IPT_HOOK, flags[nf_inet_hooks, int32]] TCA_IPT_INDEX nlattr[TCA_IPT_INDEX, int32] + TCA_IPT_TARG nlattr[TCA_IPT_TARG, xt_entry_target] +] [varlen] + +m_xt_options [ + TCA_IPT_TABLE nlattr[TCA_IPT_TABLE, string[ipt_tables, XT_TABLE_MAXNAMELEN]] + TCA_IPT_HOOK nlattr[TCA_IPT_HOOK, flags[nf_inet_hooks, int32]] + TCA_IPT_INDEX nlattr[TCA_IPT_INDEX, int32] + TCA_IPT_TARG nlattr[TCA_IPT_TARG, xt_entry_target] ] [varlen] m_mirred_options [ TCA_MIRRED_PARMS nlattr[TCA_MIRRED_PARMS, tc_mirred] ] [varlen] +m_mpls_options [ + TCA_MPLS_PARMS nlattr[TCA_MPLS_PARMS, tc_mpls] + TCA_MPLS_PROTO nlattr[TCA_MPLS_PROTO, flags[ether_types, int16be]] + TCA_MPLS_LABEL nlattr[TCA_MPLS_LABEL, int32[0:0xfffff]] + TCA_MPLS_TC nlattr[TCA_MPLS_TC, int8[0:7]] + TCA_MPLS_TTL nlattr[TCA_MPLS_TTL, int8] + TCA_MPLS_BOS nlattr[TCA_MPLS_BOS, int8[0:1]] +] [varlen] + m_nat_options [ TCA_NAT_PARMS nlattr[TCA_NAT_PARMS, tc_nat] ] [varlen] @@ -1096,6 +1153,11 @@ tc_mirred { ifindex ifindex } +tc_mpls { + tc_gen tc_gen + m_action flags[tca_mpls_actions, int32] +} + tc_nat { tc_gen tc_gen old_addr ipv4_addr @@ -1316,3 +1378,5 @@ tc_etf_clock_id = CLOCK_REALTIME, CLOCK_TAI, CLOCK_BOOTTIME, CLOCK_MONOTONIC tc_etf_flags = TC_ETF_DEADLINE_MODE_ON, TC_ETF_OFFLOAD_ON, TC_ETF_SKIP_SOCK_CHECK tc_plug_actions = TCQ_PLUG_BUFFER, TCQ_PLUG_RELEASE_ONE, TCQ_PLUG_RELEASE_INDEFINITE, TCQ_PLUG_LIMIT tc_flower_flags = TCA_CLS_FLAGS_SKIP_HW, TCA_CLS_FLAGS_SKIP_SW, TCA_CLS_FLAGS_IN_HW, TCA_CLS_FLAGS_NOT_IN_HW, TCA_CLS_FLAGS_VERBOSE +tca_ct_actions = TCA_CT_ACT_COMMIT, TCA_CT_ACT_FORCE, TCA_CT_ACT_CLEAR, TCA_CT_ACT_NAT, TCA_CT_ACT_NAT_SRC, TCA_CT_ACT_NAT_DST +tca_mpls_actions = TCA_MPLS_ACT_POP, TCA_MPLS_ACT_PUSH, TCA_MPLS_ACT_MODIFY, TCA_MPLS_ACT_DEC_TTL diff --git a/sys/linux/socket_netlink_route_sched_386.const b/sys/linux/socket_netlink_route_sched_386.const index 95a3d898b..765c00d8a 100644 --- a/sys/linux/socket_netlink_route_sched_386.const +++ b/sys/linux/socket_netlink_route_sched_386.const @@ -30,7 +30,6 @@ FLOW_MODE_MAP = 0 IFE_META_PRIO = 3 IFE_META_SKBMARK = 1 IFE_META_TCINDEX = 5 -IFNAMSIZ = 16 NETEM_LOSS_GE = 2 NETEM_LOSS_GI = 1 NF_INET_FORWARD = 2 @@ -133,6 +132,30 @@ TCA_CODEL_LIMIT = 2 TCA_CODEL_TARGET = 1 TCA_CONNMARK_PARMS = 1 TCA_CSUM_PARMS = 1 +TCA_CTINFO_ACT = 3 +TCA_CTINFO_PARMS_CPMARK_MASK = 7 +TCA_CTINFO_PARMS_DSCP_MASK = 5 +TCA_CTINFO_PARMS_DSCP_STATEMASK = 6 +TCA_CTINFO_ZONE = 4 +TCA_CT_ACTION = 3 +TCA_CT_ACT_CLEAR = 4 +TCA_CT_ACT_COMMIT = 1 +TCA_CT_ACT_FORCE = 2 +TCA_CT_ACT_NAT = 8 +TCA_CT_ACT_NAT_DST = 32 +TCA_CT_ACT_NAT_SRC = 16 +TCA_CT_LABELS = 7 +TCA_CT_LABELS_MASK = 8 +TCA_CT_MARK = 5 +TCA_CT_MARK_MASK = 6 +TCA_CT_NAT_IPV4_MAX = 10 +TCA_CT_NAT_IPV4_MIN = 9 +TCA_CT_NAT_IPV6_MAX = 12 +TCA_CT_NAT_IPV6_MIN = 11 +TCA_CT_NAT_PORT_MAX = 14 +TCA_CT_NAT_PORT_MIN = 13 +TCA_CT_PARMS = 1 +TCA_CT_ZONE = 4 TCA_DEF_DATA = 3 TCA_DEF_PARMS = 2 TCA_DRR_QUANTUM = 1 @@ -328,11 +351,22 @@ TCA_INGRESS_REDIR = 3 TCA_IPT_HOOK = 2 TCA_IPT_INDEX = 3 TCA_IPT_TABLE = 1 +TCA_IPT_TARG = 6 TCA_KIND = 1 TCA_MATCHALL_ACT = 2 TCA_MATCHALL_CLASSID = 1 TCA_MATCHALL_FLAGS = 3 TCA_MIRRED_PARMS = 2 +TCA_MPLS_ACT_DEC_TTL = 4 +TCA_MPLS_ACT_MODIFY = 3 +TCA_MPLS_ACT_POP = 1 +TCA_MPLS_ACT_PUSH = 2 +TCA_MPLS_BOS = 8 +TCA_MPLS_LABEL = 5 +TCA_MPLS_PARMS = 2 +TCA_MPLS_PROTO = 4 +TCA_MPLS_TC = 6 +TCA_MPLS_TTL = 7 TCA_MQPRIO_MAX_RATE64 = 4 TCA_MQPRIO_MIN_RATE64 = 3 TCA_MQPRIO_MODE = 1 @@ -508,4 +542,5 @@ TC_MQPRIO_SHAPER_BW_RATE = 1 TC_MQPRIO_SHAPER_DCB = 0 TC_PRIO_MAX = 15 TC_QOPT_MAX_QUEUE = 16 +XT_TABLE_MAXNAMELEN = 32 __NR_sendmsg = 370 diff --git a/sys/linux/socket_netlink_route_sched_amd64.const b/sys/linux/socket_netlink_route_sched_amd64.const index 458185033..9e24ae27b 100644 --- a/sys/linux/socket_netlink_route_sched_amd64.const +++ b/sys/linux/socket_netlink_route_sched_amd64.const @@ -30,7 +30,6 @@ FLOW_MODE_MAP = 0 IFE_META_PRIO = 3 IFE_META_SKBMARK = 1 IFE_META_TCINDEX = 5 -IFNAMSIZ = 16 NETEM_LOSS_GE = 2 NETEM_LOSS_GI = 1 NF_INET_FORWARD = 2 @@ -133,6 +132,30 @@ TCA_CODEL_LIMIT = 2 TCA_CODEL_TARGET = 1 TCA_CONNMARK_PARMS = 1 TCA_CSUM_PARMS = 1 +TCA_CTINFO_ACT = 3 +TCA_CTINFO_PARMS_CPMARK_MASK = 7 +TCA_CTINFO_PARMS_DSCP_MASK = 5 +TCA_CTINFO_PARMS_DSCP_STATEMASK = 6 +TCA_CTINFO_ZONE = 4 +TCA_CT_ACTION = 3 +TCA_CT_ACT_CLEAR = 4 +TCA_CT_ACT_COMMIT = 1 +TCA_CT_ACT_FORCE = 2 +TCA_CT_ACT_NAT = 8 +TCA_CT_ACT_NAT_DST = 32 +TCA_CT_ACT_NAT_SRC = 16 +TCA_CT_LABELS = 7 +TCA_CT_LABELS_MASK = 8 +TCA_CT_MARK = 5 +TCA_CT_MARK_MASK = 6 +TCA_CT_NAT_IPV4_MAX = 10 +TCA_CT_NAT_IPV4_MIN = 9 +TCA_CT_NAT_IPV6_MAX = 12 +TCA_CT_NAT_IPV6_MIN = 11 +TCA_CT_NAT_PORT_MAX = 14 +TCA_CT_NAT_PORT_MIN = 13 +TCA_CT_PARMS = 1 +TCA_CT_ZONE = 4 TCA_DEF_DATA = 3 TCA_DEF_PARMS = 2 TCA_DRR_QUANTUM = 1 @@ -328,11 +351,22 @@ TCA_INGRESS_REDIR = 3 TCA_IPT_HOOK = 2 TCA_IPT_INDEX = 3 TCA_IPT_TABLE = 1 +TCA_IPT_TARG = 6 TCA_KIND = 1 TCA_MATCHALL_ACT = 2 TCA_MATCHALL_CLASSID = 1 TCA_MATCHALL_FLAGS = 3 TCA_MIRRED_PARMS = 2 +TCA_MPLS_ACT_DEC_TTL = 4 +TCA_MPLS_ACT_MODIFY = 3 +TCA_MPLS_ACT_POP = 1 +TCA_MPLS_ACT_PUSH = 2 +TCA_MPLS_BOS = 8 +TCA_MPLS_LABEL = 5 +TCA_MPLS_PARMS = 2 +TCA_MPLS_PROTO = 4 +TCA_MPLS_TC = 6 +TCA_MPLS_TTL = 7 TCA_MQPRIO_MAX_RATE64 = 4 TCA_MQPRIO_MIN_RATE64 = 3 TCA_MQPRIO_MODE = 1 @@ -508,4 +542,5 @@ TC_MQPRIO_SHAPER_BW_RATE = 1 TC_MQPRIO_SHAPER_DCB = 0 TC_PRIO_MAX = 15 TC_QOPT_MAX_QUEUE = 16 +XT_TABLE_MAXNAMELEN = 32 __NR_sendmsg = 46 diff --git a/sys/linux/socket_netlink_route_sched_arm.const b/sys/linux/socket_netlink_route_sched_arm.const index 336e51a38..d7bee6cad 100644 --- a/sys/linux/socket_netlink_route_sched_arm.const +++ b/sys/linux/socket_netlink_route_sched_arm.const @@ -30,7 +30,6 @@ FLOW_MODE_MAP = 0 IFE_META_PRIO = 3 IFE_META_SKBMARK = 1 IFE_META_TCINDEX = 5 -IFNAMSIZ = 16 NETEM_LOSS_GE = 2 NETEM_LOSS_GI = 1 NF_INET_FORWARD = 2 @@ -133,6 +132,30 @@ TCA_CODEL_LIMIT = 2 TCA_CODEL_TARGET = 1 TCA_CONNMARK_PARMS = 1 TCA_CSUM_PARMS = 1 +TCA_CTINFO_ACT = 3 +TCA_CTINFO_PARMS_CPMARK_MASK = 7 +TCA_CTINFO_PARMS_DSCP_MASK = 5 +TCA_CTINFO_PARMS_DSCP_STATEMASK = 6 +TCA_CTINFO_ZONE = 4 +TCA_CT_ACTION = 3 +TCA_CT_ACT_CLEAR = 4 +TCA_CT_ACT_COMMIT = 1 +TCA_CT_ACT_FORCE = 2 +TCA_CT_ACT_NAT = 8 +TCA_CT_ACT_NAT_DST = 32 +TCA_CT_ACT_NAT_SRC = 16 +TCA_CT_LABELS = 7 +TCA_CT_LABELS_MASK = 8 +TCA_CT_MARK = 5 +TCA_CT_MARK_MASK = 6 +TCA_CT_NAT_IPV4_MAX = 10 +TCA_CT_NAT_IPV4_MIN = 9 +TCA_CT_NAT_IPV6_MAX = 12 +TCA_CT_NAT_IPV6_MIN = 11 +TCA_CT_NAT_PORT_MAX = 14 +TCA_CT_NAT_PORT_MIN = 13 +TCA_CT_PARMS = 1 +TCA_CT_ZONE = 4 TCA_DEF_DATA = 3 TCA_DEF_PARMS = 2 TCA_DRR_QUANTUM = 1 @@ -328,11 +351,22 @@ TCA_INGRESS_REDIR = 3 TCA_IPT_HOOK = 2 TCA_IPT_INDEX = 3 TCA_IPT_TABLE = 1 +TCA_IPT_TARG = 6 TCA_KIND = 1 TCA_MATCHALL_ACT = 2 TCA_MATCHALL_CLASSID = 1 TCA_MATCHALL_FLAGS = 3 TCA_MIRRED_PARMS = 2 +TCA_MPLS_ACT_DEC_TTL = 4 +TCA_MPLS_ACT_MODIFY = 3 +TCA_MPLS_ACT_POP = 1 +TCA_MPLS_ACT_PUSH = 2 +TCA_MPLS_BOS = 8 +TCA_MPLS_LABEL = 5 +TCA_MPLS_PARMS = 2 +TCA_MPLS_PROTO = 4 +TCA_MPLS_TC = 6 +TCA_MPLS_TTL = 7 TCA_MQPRIO_MAX_RATE64 = 4 TCA_MQPRIO_MIN_RATE64 = 3 TCA_MQPRIO_MODE = 1 @@ -508,4 +542,5 @@ TC_MQPRIO_SHAPER_BW_RATE = 1 TC_MQPRIO_SHAPER_DCB = 0 TC_PRIO_MAX = 15 TC_QOPT_MAX_QUEUE = 16 +XT_TABLE_MAXNAMELEN = 32 __NR_sendmsg = 296 diff --git a/sys/linux/socket_netlink_route_sched_arm64.const b/sys/linux/socket_netlink_route_sched_arm64.const index be7e6f280..c6d1eafd5 100644 --- a/sys/linux/socket_netlink_route_sched_arm64.const +++ b/sys/linux/socket_netlink_route_sched_arm64.const @@ -30,7 +30,6 @@ FLOW_MODE_MAP = 0 IFE_META_PRIO = 3 IFE_META_SKBMARK = 1 IFE_META_TCINDEX = 5 -IFNAMSIZ = 16 NETEM_LOSS_GE = 2 NETEM_LOSS_GI = 1 NF_INET_FORWARD = 2 @@ -133,6 +132,30 @@ TCA_CODEL_LIMIT = 2 TCA_CODEL_TARGET = 1 TCA_CONNMARK_PARMS = 1 TCA_CSUM_PARMS = 1 +TCA_CTINFO_ACT = 3 +TCA_CTINFO_PARMS_CPMARK_MASK = 7 +TCA_CTINFO_PARMS_DSCP_MASK = 5 +TCA_CTINFO_PARMS_DSCP_STATEMASK = 6 +TCA_CTINFO_ZONE = 4 +TCA_CT_ACTION = 3 +TCA_CT_ACT_CLEAR = 4 +TCA_CT_ACT_COMMIT = 1 +TCA_CT_ACT_FORCE = 2 +TCA_CT_ACT_NAT = 8 +TCA_CT_ACT_NAT_DST = 32 +TCA_CT_ACT_NAT_SRC = 16 +TCA_CT_LABELS = 7 +TCA_CT_LABELS_MASK = 8 +TCA_CT_MARK = 5 +TCA_CT_MARK_MASK = 6 +TCA_CT_NAT_IPV4_MAX = 10 +TCA_CT_NAT_IPV4_MIN = 9 +TCA_CT_NAT_IPV6_MAX = 12 +TCA_CT_NAT_IPV6_MIN = 11 +TCA_CT_NAT_PORT_MAX = 14 +TCA_CT_NAT_PORT_MIN = 13 +TCA_CT_PARMS = 1 +TCA_CT_ZONE = 4 TCA_DEF_DATA = 3 TCA_DEF_PARMS = 2 TCA_DRR_QUANTUM = 1 @@ -328,11 +351,22 @@ TCA_INGRESS_REDIR = 3 TCA_IPT_HOOK = 2 TCA_IPT_INDEX = 3 TCA_IPT_TABLE = 1 +TCA_IPT_TARG = 6 TCA_KIND = 1 TCA_MATCHALL_ACT = 2 TCA_MATCHALL_CLASSID = 1 TCA_MATCHALL_FLAGS = 3 TCA_MIRRED_PARMS = 2 +TCA_MPLS_ACT_DEC_TTL = 4 +TCA_MPLS_ACT_MODIFY = 3 +TCA_MPLS_ACT_POP = 1 +TCA_MPLS_ACT_PUSH = 2 +TCA_MPLS_BOS = 8 +TCA_MPLS_LABEL = 5 +TCA_MPLS_PARMS = 2 +TCA_MPLS_PROTO = 4 +TCA_MPLS_TC = 6 +TCA_MPLS_TTL = 7 TCA_MQPRIO_MAX_RATE64 = 4 TCA_MQPRIO_MIN_RATE64 = 3 TCA_MQPRIO_MODE = 1 @@ -508,4 +542,5 @@ TC_MQPRIO_SHAPER_BW_RATE = 1 TC_MQPRIO_SHAPER_DCB = 0 TC_PRIO_MAX = 15 TC_QOPT_MAX_QUEUE = 16 +XT_TABLE_MAXNAMELEN = 32 __NR_sendmsg = 211 diff --git a/sys/linux/socket_netlink_route_sched_ppc64le.const b/sys/linux/socket_netlink_route_sched_ppc64le.const index 2a2dbc726..54ec9ee18 100644 --- a/sys/linux/socket_netlink_route_sched_ppc64le.const +++ b/sys/linux/socket_netlink_route_sched_ppc64le.const @@ -30,7 +30,6 @@ FLOW_MODE_MAP = 0 IFE_META_PRIO = 3 IFE_META_SKBMARK = 1 IFE_META_TCINDEX = 5 -IFNAMSIZ = 16 NETEM_LOSS_GE = 2 NETEM_LOSS_GI = 1 NF_INET_FORWARD = 2 @@ -133,6 +132,30 @@ TCA_CODEL_LIMIT = 2 TCA_CODEL_TARGET = 1 TCA_CONNMARK_PARMS = 1 TCA_CSUM_PARMS = 1 +TCA_CTINFO_ACT = 3 +TCA_CTINFO_PARMS_CPMARK_MASK = 7 +TCA_CTINFO_PARMS_DSCP_MASK = 5 +TCA_CTINFO_PARMS_DSCP_STATEMASK = 6 +TCA_CTINFO_ZONE = 4 +TCA_CT_ACTION = 3 +TCA_CT_ACT_CLEAR = 4 +TCA_CT_ACT_COMMIT = 1 +TCA_CT_ACT_FORCE = 2 +TCA_CT_ACT_NAT = 8 +TCA_CT_ACT_NAT_DST = 32 +TCA_CT_ACT_NAT_SRC = 16 +TCA_CT_LABELS = 7 +TCA_CT_LABELS_MASK = 8 +TCA_CT_MARK = 5 +TCA_CT_MARK_MASK = 6 +TCA_CT_NAT_IPV4_MAX = 10 +TCA_CT_NAT_IPV4_MIN = 9 +TCA_CT_NAT_IPV6_MAX = 12 +TCA_CT_NAT_IPV6_MIN = 11 +TCA_CT_NAT_PORT_MAX = 14 +TCA_CT_NAT_PORT_MIN = 13 +TCA_CT_PARMS = 1 +TCA_CT_ZONE = 4 TCA_DEF_DATA = 3 TCA_DEF_PARMS = 2 TCA_DRR_QUANTUM = 1 @@ -328,11 +351,22 @@ TCA_INGRESS_REDIR = 3 TCA_IPT_HOOK = 2 TCA_IPT_INDEX = 3 TCA_IPT_TABLE = 1 +TCA_IPT_TARG = 6 TCA_KIND = 1 TCA_MATCHALL_ACT = 2 TCA_MATCHALL_CLASSID = 1 TCA_MATCHALL_FLAGS = 3 TCA_MIRRED_PARMS = 2 +TCA_MPLS_ACT_DEC_TTL = 4 +TCA_MPLS_ACT_MODIFY = 3 +TCA_MPLS_ACT_POP = 1 +TCA_MPLS_ACT_PUSH = 2 +TCA_MPLS_BOS = 8 +TCA_MPLS_LABEL = 5 +TCA_MPLS_PARMS = 2 +TCA_MPLS_PROTO = 4 +TCA_MPLS_TC = 6 +TCA_MPLS_TTL = 7 TCA_MQPRIO_MAX_RATE64 = 4 TCA_MQPRIO_MIN_RATE64 = 3 TCA_MQPRIO_MODE = 1 @@ -508,4 +542,5 @@ TC_MQPRIO_SHAPER_BW_RATE = 1 TC_MQPRIO_SHAPER_DCB = 0 TC_PRIO_MAX = 15 TC_QOPT_MAX_QUEUE = 16 +XT_TABLE_MAXNAMELEN = 32 __NR_sendmsg = 341 -- cgit mrf-deployment