From 09ca59bff75c57b48bfe11a42bddd147f5c52ef8 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 8 Jun 2018 20:29:37 +0200 Subject: sys/linux: add ip6t_srh1 description --- sys/linux/gen/386.go | 32 +++++++++++++++++++++++++++++--- sys/linux/gen/amd64.go | 33 ++++++++++++++++++++++++++++++--- sys/linux/gen/arm.go | 32 +++++++++++++++++++++++++++++--- sys/linux/gen/arm64.go | 33 ++++++++++++++++++++++++++++++--- sys/linux/gen/ppc64le.go | 33 ++++++++++++++++++++++++++++++--- 5 files changed, 148 insertions(+), 15 deletions(-) (limited to 'sys/linux/gen') diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 2ca18e422..843b638a5 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -5525,8 +5525,24 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "ip6t_srh1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_srh1", TypeSize: 108}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "next_hdr", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdr_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "psid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "nsid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "lsid_addr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "psid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "nsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "lsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, }}}, {Key: StructKey{Name: "ip6t_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "xt_unspec_targets"}, FldName: "unspec"}, @@ -5672,6 +5688,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_entry_match[\"ipv6header\", ip6t_ipv6header_info, 0]"}, FldName: "ipv6header"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"hl\", ipt_ttl_info, 0]"}, FldName: "hl"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh, 0]"}, FldName: "srh"}, + &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, FldName: "srh1"}, }}}, {Key: StructKey{Name: "ipt_ECN_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipt_ECN_info", TypeSize: 3}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipt_ECN_op", FldName: "operation", TypeSize: 1}}, Vals: []uint64{1, 16, 32}}, @@ -18621,6 +18638,12 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ip6t_srh"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"srh\", ip6t_srh1, 1]", TypeSize: 140}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"srh\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"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "revision", TypeSize: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "ip6t_srh1"}, FldName: "data"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "xt_entry_match[\"state\", xt_state_info, 0]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"state\", xt_state_info, 0]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"state\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -32078,7 +32101,10 @@ var consts_386 = []ConstValue{ {Name: "IP6T_SRH_LEN_EQ", Value: 2}, {Name: "IP6T_SRH_LEN_GT", Value: 4}, {Name: "IP6T_SRH_LEN_LT", Value: 8}, + {Name: "IP6T_SRH_LSID", Value: 8192}, {Name: "IP6T_SRH_NEXTHDR", Value: 1}, + {Name: "IP6T_SRH_NSID", Value: 4096}, + {Name: "IP6T_SRH_PSID", Value: 2048}, {Name: "IP6T_SRH_SEGS_EQ", Value: 16}, {Name: "IP6T_SRH_SEGS_GT", Value: 32}, {Name: "IP6T_SRH_SEGS_LT", Value: 64}, @@ -36598,4 +36624,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "020dc2b867a4cc5746da644d59b17c2cc8358bee" +const revision_386 = "d46aca292f246c1637fff96c494fefa3a5e37013" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index fa7e3fade..1f3c98f24 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -5624,8 +5624,24 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "ip6t_srh1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_srh1", TypeSize: 108}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "next_hdr", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdr_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "psid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "nsid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "lsid_addr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "psid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "nsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "lsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, }}}, {Key: StructKey{Name: "ip6t_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "xt_unspec_targets"}, FldName: "unspec"}, @@ -5784,6 +5800,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_entry_match[\"ipv6header\", ip6t_ipv6header_info, 0]"}, FldName: "ipv6header"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"hl\", ipt_ttl_info, 0]"}, FldName: "hl"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh, 0]"}, FldName: "srh"}, + &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, FldName: "srh1"}, }}}, {Key: StructKey{Name: "ipt_ECN_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipt_ECN_info", TypeSize: 3}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipt_ECN_op", FldName: "operation", TypeSize: 1}}, Vals: []uint64{1, 16, 32}}, @@ -18975,6 +18992,13 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ip6t_srh"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"srh\", ip6t_srh1, 1]", TypeSize: 144}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"srh\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"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "revision", TypeSize: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "ip6t_srh1"}, FldName: "data"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "xt_entry_match[\"state\", xt_state_info, 0]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"state\", xt_state_info, 0]", TypeSize: 40}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"state\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -32738,7 +32762,10 @@ var consts_amd64 = []ConstValue{ {Name: "IP6T_SRH_LEN_EQ", Value: 2}, {Name: "IP6T_SRH_LEN_GT", Value: 4}, {Name: "IP6T_SRH_LEN_LT", Value: 8}, + {Name: "IP6T_SRH_LSID", Value: 8192}, {Name: "IP6T_SRH_NEXTHDR", Value: 1}, + {Name: "IP6T_SRH_NSID", Value: 4096}, + {Name: "IP6T_SRH_PSID", Value: 2048}, {Name: "IP6T_SRH_SEGS_EQ", Value: 16}, {Name: "IP6T_SRH_SEGS_GT", Value: 32}, {Name: "IP6T_SRH_SEGS_LT", Value: 64}, @@ -37283,4 +37310,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "7d7779033df7d7e38b24995d04506aa8e09ceab1" +const revision_amd64 = "f037383b0a19c25306abdb73461ae4854a0b4964" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index d3fe8e05e..b80343c66 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -5530,8 +5530,24 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "ip6t_srh1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_srh1", TypeSize: 108}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "next_hdr", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdr_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "psid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "nsid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "lsid_addr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "psid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "nsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "lsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, }}}, {Key: StructKey{Name: "ip6t_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "xt_unspec_targets"}, FldName: "unspec"}, @@ -5689,6 +5705,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_entry_match[\"ipv6header\", ip6t_ipv6header_info, 0]"}, FldName: "ipv6header"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"hl\", ipt_ttl_info, 0]"}, FldName: "hl"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh, 0]"}, FldName: "srh"}, + &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, FldName: "srh1"}, }}}, {Key: StructKey{Name: "ipt_ECN_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipt_ECN_info", TypeSize: 3}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipt_ECN_op", FldName: "operation", TypeSize: 1}}, Vals: []uint64{1, 16, 32}}, @@ -18474,6 +18491,12 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ip6t_srh"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"srh\", ip6t_srh1, 1]", TypeSize: 140}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"srh\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"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "revision", TypeSize: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "ip6t_srh1"}, FldName: "data"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "xt_entry_match[\"state\", xt_state_info, 0]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"state\", xt_state_info, 0]", TypeSize: 36}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"state\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -31986,7 +32009,10 @@ var consts_arm = []ConstValue{ {Name: "IP6T_SRH_LEN_EQ", Value: 2}, {Name: "IP6T_SRH_LEN_GT", Value: 4}, {Name: "IP6T_SRH_LEN_LT", Value: 8}, + {Name: "IP6T_SRH_LSID", Value: 8192}, {Name: "IP6T_SRH_NEXTHDR", Value: 1}, + {Name: "IP6T_SRH_NSID", Value: 4096}, + {Name: "IP6T_SRH_PSID", Value: 2048}, {Name: "IP6T_SRH_SEGS_EQ", Value: 16}, {Name: "IP6T_SRH_SEGS_GT", Value: 32}, {Name: "IP6T_SRH_SEGS_LT", Value: 64}, @@ -36456,4 +36482,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "02404d4b022e4b9468be627d6b5ce09cf3ecedcf" +const revision_arm = "e9f3fb0ca9c9c5fb1ee8a8cdd20492a1128e200a" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 95120b904..e5d8d0fc7 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -5624,8 +5624,24 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "ip6t_srh1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_srh1", TypeSize: 108}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "next_hdr", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdr_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "psid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "nsid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "lsid_addr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "psid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "nsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "lsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, }}}, {Key: StructKey{Name: "ip6t_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "xt_unspec_targets"}, FldName: "unspec"}, @@ -5784,6 +5800,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_entry_match[\"ipv6header\", ip6t_ipv6header_info, 0]"}, FldName: "ipv6header"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"hl\", ipt_ttl_info, 0]"}, FldName: "hl"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh, 0]"}, FldName: "srh"}, + &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, FldName: "srh1"}, }}}, {Key: StructKey{Name: "ipt_ECN_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipt_ECN_info", TypeSize: 3}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipt_ECN_op", FldName: "operation", TypeSize: 1}}, Vals: []uint64{1, 16, 32}}, @@ -18755,6 +18772,13 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ip6t_srh"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"srh\", ip6t_srh1, 1]", TypeSize: 144}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"srh\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"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "revision", TypeSize: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "ip6t_srh1"}, FldName: "data"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "xt_entry_match[\"state\", xt_state_info, 0]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"state\", xt_state_info, 0]", TypeSize: 40}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"state\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -32208,7 +32232,10 @@ var consts_arm64 = []ConstValue{ {Name: "IP6T_SRH_LEN_EQ", Value: 2}, {Name: "IP6T_SRH_LEN_GT", Value: 4}, {Name: "IP6T_SRH_LEN_LT", Value: 8}, + {Name: "IP6T_SRH_LSID", Value: 8192}, {Name: "IP6T_SRH_NEXTHDR", Value: 1}, + {Name: "IP6T_SRH_NSID", Value: 4096}, + {Name: "IP6T_SRH_PSID", Value: 2048}, {Name: "IP6T_SRH_SEGS_EQ", Value: 16}, {Name: "IP6T_SRH_SEGS_GT", Value: 32}, {Name: "IP6T_SRH_SEGS_LT", Value: 64}, @@ -36669,4 +36696,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "d87e07e3aa11539e86a2c274e8ed54bc7ef66653" +const revision_arm64 = "3998017f34c65afc1232a273299d7e769cc740b4" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 99af759c7..7a887cfe3 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -5615,8 +5615,24 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "ip6t_srh1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_srh1", TypeSize: 108}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "next_hdr", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hdr_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segs_left", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "last_entry", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "tag", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "psid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "nsid_addr"}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "lsid_addr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "psid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "nsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "lsid_msk", TypeSize: 16}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv4_addr_mask_vals", TypeSize: 4}, BigEndian: true}, Vals: []uint64{0, 4278190080, 4294967040, 4294967295, 255}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ip6t_srh_flags", FldName: "mt_invflags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}}, }}}, {Key: StructKey{Name: "ip6t_targets"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ip6t_targets", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "xt_unspec_targets"}, FldName: "unspec"}, @@ -5762,6 +5778,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xt_entry_match[\"ipv6header\", ip6t_ipv6header_info, 0]"}, FldName: "ipv6header"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"hl\", ipt_ttl_info, 0]"}, FldName: "hl"}, &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh, 0]"}, FldName: "srh"}, + &StructType{Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, FldName: "srh1"}, }}}, {Key: StructKey{Name: "ipt_ECN_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipt_ECN_info", TypeSize: 3}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipt_ECN_op", FldName: "operation", TypeSize: 1}}, Vals: []uint64{1, 16, 32}}, @@ -17808,6 +17825,13 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ip6t_srh"}, FldName: "data"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "xt_entry_match[\"srh\", ip6t_srh1, 1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"srh\", ip6t_srh1, 1]", TypeSize: 144}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"srh\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"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "revision", TypeSize: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "ip6t_srh1"}, FldName: "data"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "xt_entry_match[\"state\", xt_state_info, 0]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_entry_match[\"state\", xt_state_info, 0]", TypeSize: 40}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "match_size", TypeSize: 2}}, Buf: "parent"}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 29}, Kind: 2, Values: []string{"state\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, @@ -30647,7 +30671,10 @@ var consts_ppc64le = []ConstValue{ {Name: "IP6T_SRH_LEN_EQ", Value: 2}, {Name: "IP6T_SRH_LEN_GT", Value: 4}, {Name: "IP6T_SRH_LEN_LT", Value: 8}, + {Name: "IP6T_SRH_LSID", Value: 8192}, {Name: "IP6T_SRH_NEXTHDR", Value: 1}, + {Name: "IP6T_SRH_NSID", Value: 4096}, + {Name: "IP6T_SRH_PSID", Value: 2048}, {Name: "IP6T_SRH_SEGS_EQ", Value: 16}, {Name: "IP6T_SRH_SEGS_GT", Value: 32}, {Name: "IP6T_SRH_SEGS_LT", Value: 64}, @@ -34070,4 +34097,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "bfeabb36851c5973bd345bcf994d13b5791bbcc4" +const revision_ppc64le = "6c0b72a4509a302ee8c10faaff410c64128c3410" -- cgit mrf-deployment