diff options
Diffstat (limited to 'sys/linux/gen')
| -rw-r--r-- | sys/linux/gen/386.go | 143 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 143 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 143 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 143 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 143 |
5 files changed, 710 insertions, 5 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index aaa238fa5..ce96f01bc 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -1573,6 +1573,39 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "cgroup_subtree"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgroup_subtree", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "controls", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cgroup_control"}}}, }}}, + {Key: StructKey{Name: "cgw_csum_crc8"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8", TypeSize: 282}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_crc_val", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "final_xor_val", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "crctab", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8_profile", FldName: "profile", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "profile_data", TypeSize: 20}, Kind: 1, RangeBegin: 20, RangeEnd: 20}, + }}}, + {Key: StructKey{Name: "cgw_csum_xor"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_xor", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_xor_val", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cgw_frame_mod"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_frame_mod", TypeSize: 17}, Fields: []Type{ + &StructType{Key: StructKey{Name: "can_frame_t[CAN_MAX_DLEN]"}, FldName: "cf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_frame_modtype", FldName: "modtype", TypeSize: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "cgw_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_AND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_OR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_SET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, FldName: "CGW_CS_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, FldName: "CGW_CS_CRC8"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, FldName: "CGW_SRC_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, FldName: "CGW_DST_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, FldName: "CGW_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, FldName: "CGW_LIM_HOPS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, FldName: "CGW_MOD_UID"}, + }}}, {Key: StructKey{Name: "cisco_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cisco_proto", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, @@ -10563,6 +10596,8 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_newroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_delroute"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10695,6 +10730,15 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, @@ -11090,6 +11134,15 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, @@ -12145,6 +12198,67 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "value", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "selector", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, }}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]", TypeSize: 288}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "cgw_csum_crc8"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &StructType{Key: StructKey{Name: "cgw_csum_xor"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_FILTER, int16], can_filter]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &StructType{Key: StructKey{Name: "can_filter"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &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[CGW_MOD_AND, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17845,6 +17959,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"}, }}}, + {Key: StructKey{Name: "rtcanmsg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtcanmsg", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 1}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "gwtype", TypeSize: 1}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtcanmsg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, {Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 112}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rt_pad1", TypeSize: 8}}}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"}, @@ -39345,6 +39464,28 @@ var consts_386 = []ConstValue{ {Name: "CGC_DATA_UNKNOWN"}, {Name: "CGC_DATA_WRITE", Value: 1}, {Name: "CGROUP_OPEN_FLAGS", Value: 2097154}, + {Name: "CGW_CRC8PRF_16U8", Value: 2}, + {Name: "CGW_CRC8PRF_1U8", Value: 1}, + {Name: "CGW_CRC8PRF_SFFID_XOR", Value: 3}, + {Name: "CGW_CRC8PRF_UNSPEC"}, + {Name: "CGW_CS_CRC8", Value: 6}, + {Name: "CGW_CS_XOR", Value: 5}, + {Name: "CGW_DST_IF", Value: 10}, + {Name: "CGW_FILTER", Value: 11}, + {Name: "CGW_FLAGS_CAN_ECHO", Value: 1}, + {Name: "CGW_FLAGS_CAN_IIF_TX_OK", Value: 4}, + {Name: "CGW_FLAGS_CAN_SRC_TSTAMP", Value: 2}, + {Name: "CGW_LIM_HOPS", Value: 13}, + {Name: "CGW_MOD_AND", Value: 1}, + {Name: "CGW_MOD_DATA", Value: 4}, + {Name: "CGW_MOD_DLC", Value: 2}, + {Name: "CGW_MOD_ID", Value: 1}, + {Name: "CGW_MOD_OR", Value: 2}, + {Name: "CGW_MOD_SET", Value: 4}, + {Name: "CGW_MOD_UID", Value: 14}, + {Name: "CGW_MOD_XOR", Value: 3}, + {Name: "CGW_SRC_IF", Value: 9}, + {Name: "CGW_TYPE_CAN_CAN", Value: 1}, {Name: "CIPSO_V4_TAG_ENUM", Value: 2}, {Name: "CIPSO_V4_TAG_FREEFORM", Value: 7}, {Name: "CIPSO_V4_TAG_INVALID"}, @@ -45821,4 +45962,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "55bd9aba1ecdb2cb20b8f03d2f730a9289d356a1" +const revision_386 = "cad6f0c31499a04dde8618426d5eac7fcf75229e" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index d5899567b..b04f30393 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -1584,6 +1584,39 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "cgroup_subtree"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgroup_subtree", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "controls", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cgroup_control"}}}, }}}, + {Key: StructKey{Name: "cgw_csum_crc8"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8", TypeSize: 282}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_crc_val", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "final_xor_val", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "crctab", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8_profile", FldName: "profile", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "profile_data", TypeSize: 20}, Kind: 1, RangeBegin: 20, RangeEnd: 20}, + }}}, + {Key: StructKey{Name: "cgw_csum_xor"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_xor", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_xor_val", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cgw_frame_mod"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_frame_mod", TypeSize: 17}, Fields: []Type{ + &StructType{Key: StructKey{Name: "can_frame_t[CAN_MAX_DLEN]"}, FldName: "cf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_frame_modtype", FldName: "modtype", TypeSize: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "cgw_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_AND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_OR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_SET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, FldName: "CGW_CS_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, FldName: "CGW_CS_CRC8"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, FldName: "CGW_SRC_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, FldName: "CGW_DST_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, FldName: "CGW_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, FldName: "CGW_LIM_HOPS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, FldName: "CGW_MOD_UID"}, + }}}, {Key: StructKey{Name: "cisco_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cisco_proto", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, @@ -10880,6 +10913,8 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_newroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_delroute"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -11012,6 +11047,15 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, @@ -11407,6 +11451,15 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, @@ -12464,6 +12517,67 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "value", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "selector", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, }}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]", TypeSize: 288}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "cgw_csum_crc8"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &StructType{Key: StructKey{Name: "cgw_csum_xor"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_FILTER, int16], can_filter]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &StructType{Key: StructKey{Name: "can_filter"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &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[CGW_MOD_AND, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -18166,6 +18280,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"}, }}}, + {Key: StructKey{Name: "rtcanmsg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtcanmsg", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 1}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "gwtype", TypeSize: 1}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtcanmsg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, {Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 120}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rt_pad1", TypeSize: 8}}}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"}, @@ -40110,6 +40229,28 @@ var consts_amd64 = []ConstValue{ {Name: "CGC_DATA_UNKNOWN"}, {Name: "CGC_DATA_WRITE", Value: 1}, {Name: "CGROUP_OPEN_FLAGS", Value: 2097154}, + {Name: "CGW_CRC8PRF_16U8", Value: 2}, + {Name: "CGW_CRC8PRF_1U8", Value: 1}, + {Name: "CGW_CRC8PRF_SFFID_XOR", Value: 3}, + {Name: "CGW_CRC8PRF_UNSPEC"}, + {Name: "CGW_CS_CRC8", Value: 6}, + {Name: "CGW_CS_XOR", Value: 5}, + {Name: "CGW_DST_IF", Value: 10}, + {Name: "CGW_FILTER", Value: 11}, + {Name: "CGW_FLAGS_CAN_ECHO", Value: 1}, + {Name: "CGW_FLAGS_CAN_IIF_TX_OK", Value: 4}, + {Name: "CGW_FLAGS_CAN_SRC_TSTAMP", Value: 2}, + {Name: "CGW_LIM_HOPS", Value: 13}, + {Name: "CGW_MOD_AND", Value: 1}, + {Name: "CGW_MOD_DATA", Value: 4}, + {Name: "CGW_MOD_DLC", Value: 2}, + {Name: "CGW_MOD_ID", Value: 1}, + {Name: "CGW_MOD_OR", Value: 2}, + {Name: "CGW_MOD_SET", Value: 4}, + {Name: "CGW_MOD_UID", Value: 14}, + {Name: "CGW_MOD_XOR", Value: 3}, + {Name: "CGW_SRC_IF", Value: 9}, + {Name: "CGW_TYPE_CAN_CAN", Value: 1}, {Name: "CIPSO_V4_TAG_ENUM", Value: 2}, {Name: "CIPSO_V4_TAG_FREEFORM", Value: 7}, {Name: "CIPSO_V4_TAG_INVALID"}, @@ -46611,4 +46752,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "b1188eeeecbb0ace93ad6569604304d6e0459ca2" +const revision_amd64 = "b400283a2f6ddcb1972ebd5dc803010598363005" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index c894313bf..3e2e7c64f 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -1578,6 +1578,39 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "cgroup_subtree"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgroup_subtree", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "controls", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cgroup_control"}}}, }}}, + {Key: StructKey{Name: "cgw_csum_crc8"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8", TypeSize: 282}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_crc_val", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "final_xor_val", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "crctab", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8_profile", FldName: "profile", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "profile_data", TypeSize: 20}, Kind: 1, RangeBegin: 20, RangeEnd: 20}, + }}}, + {Key: StructKey{Name: "cgw_csum_xor"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_xor", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_xor_val", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cgw_frame_mod"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_frame_mod", TypeSize: 17}, Fields: []Type{ + &StructType{Key: StructKey{Name: "can_frame_t[CAN_MAX_DLEN]"}, FldName: "cf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_frame_modtype", FldName: "modtype", TypeSize: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "cgw_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_AND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_OR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_SET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, FldName: "CGW_CS_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, FldName: "CGW_CS_CRC8"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, FldName: "CGW_SRC_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, FldName: "CGW_DST_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, FldName: "CGW_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, FldName: "CGW_LIM_HOPS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, FldName: "CGW_MOD_UID"}, + }}}, {Key: StructKey{Name: "cisco_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cisco_proto", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, @@ -10418,6 +10451,8 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_newroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_delroute"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10550,6 +10585,15 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, @@ -10945,6 +10989,15 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, @@ -12000,6 +12053,67 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "value", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "selector", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, }}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]", TypeSize: 288}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "cgw_csum_crc8"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &StructType{Key: StructKey{Name: "cgw_csum_xor"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_FILTER, int16], can_filter]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &StructType{Key: StructKey{Name: "can_filter"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &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[CGW_MOD_AND, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17700,6 +17814,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"}, }}}, + {Key: StructKey{Name: "rtcanmsg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtcanmsg", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 1}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "gwtype", TypeSize: 1}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtcanmsg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, {Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 112}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rt_pad1", TypeSize: 8}}}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"}, @@ -39237,6 +39356,28 @@ var consts_arm = []ConstValue{ {Name: "CGC_DATA_UNKNOWN"}, {Name: "CGC_DATA_WRITE", Value: 1}, {Name: "CGROUP_OPEN_FLAGS", Value: 2097154}, + {Name: "CGW_CRC8PRF_16U8", Value: 2}, + {Name: "CGW_CRC8PRF_1U8", Value: 1}, + {Name: "CGW_CRC8PRF_SFFID_XOR", Value: 3}, + {Name: "CGW_CRC8PRF_UNSPEC"}, + {Name: "CGW_CS_CRC8", Value: 6}, + {Name: "CGW_CS_XOR", Value: 5}, + {Name: "CGW_DST_IF", Value: 10}, + {Name: "CGW_FILTER", Value: 11}, + {Name: "CGW_FLAGS_CAN_ECHO", Value: 1}, + {Name: "CGW_FLAGS_CAN_IIF_TX_OK", Value: 4}, + {Name: "CGW_FLAGS_CAN_SRC_TSTAMP", Value: 2}, + {Name: "CGW_LIM_HOPS", Value: 13}, + {Name: "CGW_MOD_AND", Value: 1}, + {Name: "CGW_MOD_DATA", Value: 4}, + {Name: "CGW_MOD_DLC", Value: 2}, + {Name: "CGW_MOD_ID", Value: 1}, + {Name: "CGW_MOD_OR", Value: 2}, + {Name: "CGW_MOD_SET", Value: 4}, + {Name: "CGW_MOD_UID", Value: 14}, + {Name: "CGW_MOD_XOR", Value: 3}, + {Name: "CGW_SRC_IF", Value: 9}, + {Name: "CGW_TYPE_CAN_CAN", Value: 1}, {Name: "CIPSO_V4_TAG_ENUM", Value: 2}, {Name: "CIPSO_V4_TAG_FREEFORM", Value: 7}, {Name: "CIPSO_V4_TAG_INVALID"}, @@ -45660,4 +45801,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "59c2d75c2e04453099a8da9a80b796b8827a6231" +const revision_arm = "fd2173579c7700b77e302e544be08ca549a4a03b" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 552ab5236..e74f7d115 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -1584,6 +1584,39 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "cgroup_subtree"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgroup_subtree", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "controls", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cgroup_control"}}}, }}}, + {Key: StructKey{Name: "cgw_csum_crc8"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8", TypeSize: 282}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_crc_val", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "final_xor_val", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "crctab", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8_profile", FldName: "profile", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "profile_data", TypeSize: 20}, Kind: 1, RangeBegin: 20, RangeEnd: 20}, + }}}, + {Key: StructKey{Name: "cgw_csum_xor"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_xor", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_xor_val", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cgw_frame_mod"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_frame_mod", TypeSize: 17}, Fields: []Type{ + &StructType{Key: StructKey{Name: "can_frame_t[CAN_MAX_DLEN]"}, FldName: "cf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_frame_modtype", FldName: "modtype", TypeSize: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "cgw_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_AND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_OR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_SET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, FldName: "CGW_CS_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, FldName: "CGW_CS_CRC8"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, FldName: "CGW_SRC_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, FldName: "CGW_DST_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, FldName: "CGW_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, FldName: "CGW_LIM_HOPS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, FldName: "CGW_MOD_UID"}, + }}}, {Key: StructKey{Name: "cisco_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cisco_proto", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, @@ -10697,6 +10730,8 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_newroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_delroute"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10829,6 +10864,15 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, @@ -11224,6 +11268,15 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, @@ -12281,6 +12334,67 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "value", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "selector", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, }}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]", TypeSize: 288}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "cgw_csum_crc8"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &StructType{Key: StructKey{Name: "cgw_csum_xor"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_FILTER, int16], can_filter]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &StructType{Key: StructKey{Name: "can_filter"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &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[CGW_MOD_AND, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17983,6 +18097,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"}, }}}, + {Key: StructKey{Name: "rtcanmsg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtcanmsg", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 1}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "gwtype", TypeSize: 1}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtcanmsg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, {Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 120}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rt_pad1", TypeSize: 8}}}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"}, @@ -39556,6 +39675,28 @@ var consts_arm64 = []ConstValue{ {Name: "CGC_DATA_UNKNOWN"}, {Name: "CGC_DATA_WRITE", Value: 1}, {Name: "CGROUP_OPEN_FLAGS", Value: 2097154}, + {Name: "CGW_CRC8PRF_16U8", Value: 2}, + {Name: "CGW_CRC8PRF_1U8", Value: 1}, + {Name: "CGW_CRC8PRF_SFFID_XOR", Value: 3}, + {Name: "CGW_CRC8PRF_UNSPEC"}, + {Name: "CGW_CS_CRC8", Value: 6}, + {Name: "CGW_CS_XOR", Value: 5}, + {Name: "CGW_DST_IF", Value: 10}, + {Name: "CGW_FILTER", Value: 11}, + {Name: "CGW_FLAGS_CAN_ECHO", Value: 1}, + {Name: "CGW_FLAGS_CAN_IIF_TX_OK", Value: 4}, + {Name: "CGW_FLAGS_CAN_SRC_TSTAMP", Value: 2}, + {Name: "CGW_LIM_HOPS", Value: 13}, + {Name: "CGW_MOD_AND", Value: 1}, + {Name: "CGW_MOD_DATA", Value: 4}, + {Name: "CGW_MOD_DLC", Value: 2}, + {Name: "CGW_MOD_ID", Value: 1}, + {Name: "CGW_MOD_OR", Value: 2}, + {Name: "CGW_MOD_SET", Value: 4}, + {Name: "CGW_MOD_UID", Value: 14}, + {Name: "CGW_MOD_XOR", Value: 3}, + {Name: "CGW_SRC_IF", Value: 9}, + {Name: "CGW_TYPE_CAN_CAN", Value: 1}, {Name: "CIPSO_V4_TAG_ENUM", Value: 2}, {Name: "CIPSO_V4_TAG_FREEFORM", Value: 7}, {Name: "CIPSO_V4_TAG_INVALID"}, @@ -45969,4 +46110,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "8fd466372ca36abc5a0ea5fbaaf1299c4dfa3891" +const revision_arm64 = "cb2e1c43fa806c561dabc8e7885a6636bc4bbe0d" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 11efedfb3..5c6394794 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -1575,6 +1575,39 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "cgroup_subtree"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgroup_subtree", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "controls", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cgroup_control"}}}, }}}, + {Key: StructKey{Name: "cgw_csum_crc8"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8", TypeSize: 282}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeEnd: 127}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_crc_val", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "final_xor_val", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "crctab", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_csum_crc8_profile", FldName: "profile", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "profile_data", TypeSize: 20}, Kind: 1, RangeBegin: 20, RangeEnd: 20}, + }}}, + {Key: StructKey{Name: "cgw_csum_xor"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_csum_xor", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "from_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "to_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "result_idx", TypeSize: 1}}, Kind: 2, RangeBegin: 18446744073709551607, RangeEnd: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "init_xor_val", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cgw_frame_mod"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_frame_mod", TypeSize: 17}, Fields: []Type{ + &StructType{Key: StructKey{Name: "can_frame_t[CAN_MAX_DLEN]"}, FldName: "cf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cgw_frame_modtype", FldName: "modtype", TypeSize: 1}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "cgw_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cgw_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_AND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_OR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, FldName: "CGW_MOD_SET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, FldName: "CGW_CS_XOR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, FldName: "CGW_CS_CRC8"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, FldName: "CGW_SRC_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, FldName: "CGW_DST_IF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, FldName: "CGW_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, FldName: "CGW_LIM_HOPS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, FldName: "CGW_MOD_UID"}, + }}}, {Key: StructKey{Name: "cisco_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cisco_proto", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, @@ -10607,6 +10640,8 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, FldName: "bridge_dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_NEWNSID"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNSID, int16], rtgenmsg[AF_UNSPEC], rtnl_net_policy]"}, FldName: "RTM_GETNSID"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_newroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, FldName: "can_delroute"}, }}}, {Key: StructKey{Name: "netlink_msg_route_sched"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route_sched", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWQDISC, int16], tcmsg[AF_UNSPEC], qdisc_policy]"}, FldName: "newqdisc"}, @@ -10739,6 +10774,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, @@ -11134,6 +11178,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "qdisc_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtcanmsg, cgw_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "rtcanmsg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cgw_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET6], rtm_ipv6_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, @@ -12191,6 +12244,67 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "value", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "selector", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, }}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_CRC8, int16], cgw_csum_crc8]", TypeSize: 288}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &StructType{Key: StructKey{Name: "cgw_csum_crc8"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_CS_XOR, int16], cgw_csum_xor]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &StructType{Key: StructKey{Name: "cgw_csum_xor"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_DST_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_FILTER, int16], can_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_FILTER, int16], can_filter]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &StructType{Key: StructKey{Name: "can_filter"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_LIM_HOPS, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &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[CGW_MOD_AND, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_AND, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_OR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_SET, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_MOD_XOR, int16], cgw_frame_mod]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &StructType{Key: StructKey{Name: "cgw_frame_mod"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CGW_SRC_IF, int16], ifindex_vcan]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex_vcan", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -17893,6 +18007,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &StructType{Key: StructKey{Name: "rtc_time", Dir: 1}, FldName: "time"}, }}}, + {Key: StructKey{Name: "rtcanmsg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtcanmsg", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 1}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "gwtype", TypeSize: 1}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtcanmsg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + }}}, {Key: StructKey{Name: "rtentry_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtentry_in", TypeSize: 120}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rt_pad1", TypeSize: 8}}}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "rt_dst"}, @@ -37951,6 +38070,28 @@ var consts_ppc64le = []ConstValue{ {Name: "CGC_DATA_UNKNOWN"}, {Name: "CGC_DATA_WRITE", Value: 1}, {Name: "CGROUP_OPEN_FLAGS", Value: 2097154}, + {Name: "CGW_CRC8PRF_16U8", Value: 2}, + {Name: "CGW_CRC8PRF_1U8", Value: 1}, + {Name: "CGW_CRC8PRF_SFFID_XOR", Value: 3}, + {Name: "CGW_CRC8PRF_UNSPEC"}, + {Name: "CGW_CS_CRC8", Value: 6}, + {Name: "CGW_CS_XOR", Value: 5}, + {Name: "CGW_DST_IF", Value: 10}, + {Name: "CGW_FILTER", Value: 11}, + {Name: "CGW_FLAGS_CAN_ECHO", Value: 1}, + {Name: "CGW_FLAGS_CAN_IIF_TX_OK", Value: 4}, + {Name: "CGW_FLAGS_CAN_SRC_TSTAMP", Value: 2}, + {Name: "CGW_LIM_HOPS", Value: 13}, + {Name: "CGW_MOD_AND", Value: 1}, + {Name: "CGW_MOD_DATA", Value: 4}, + {Name: "CGW_MOD_DLC", Value: 2}, + {Name: "CGW_MOD_ID", Value: 1}, + {Name: "CGW_MOD_OR", Value: 2}, + {Name: "CGW_MOD_SET", Value: 4}, + {Name: "CGW_MOD_UID", Value: 14}, + {Name: "CGW_MOD_XOR", Value: 3}, + {Name: "CGW_SRC_IF", Value: 9}, + {Name: "CGW_TYPE_CAN_CAN", Value: 1}, {Name: "CIPSO_V4_TAG_ENUM", Value: 2}, {Name: "CIPSO_V4_TAG_FREEFORM", Value: 7}, {Name: "CIPSO_V4_TAG_INVALID"}, @@ -43327,4 +43468,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "27b47e943e19cd2dacbb57c93b9cde0f9539f69f" +const revision_ppc64le = "7614bd98ea9f0e4ecfcaf79aed0e0f617d39155e" |
