aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen/amd64.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-30 16:24:31 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-30 16:24:31 +0100
commitf7d5ee2d34e7d11db1f66f7a5ded291bd7a6f511 (patch)
tree11c0221fa39f5fe90f430198c0c143d397bb8cdc /sys/linux/gen/amd64.go
parent5b565c8bdb062fe567a04af40cdba0e929441fe7 (diff)
sys/linux: add can routes
Diffstat (limited to 'sys/linux/gen/amd64.go')
-rw-r--r--sys/linux/gen/amd64.go143
1 files changed, 142 insertions, 1 deletions
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"