From 73417389cebae4a6ddceb2e8684101f347cc3695 Mon Sep 17 00:00:00 2001 From: Hangbin Liu Date: Wed, 25 Apr 2018 10:23:47 +0800 Subject: sys/linux/socket_netlink_route: add routing rules Also fix RTA_MULTIPATH data type. We only need struct rtnexthop, no need to use array type. v1 -> v2: Use uid and sock_port instead of int32/16. Use flags for FRA_PROTOCOL and FRA_IP_PROTO. Add type fib_rule_hdr because even though the structure is same with rtmsg. The table, action and flags values are not same. Signed-off-by: Hangbin Liu --- sys/linux/386.go | 268 ++++++++++++++++++++++++++- sys/linux/amd64.go | 268 ++++++++++++++++++++++++++- sys/linux/arm.go | 268 ++++++++++++++++++++++++++- sys/linux/arm64.go | 268 ++++++++++++++++++++++++++- sys/linux/ppc64le.go | 268 ++++++++++++++++++++++++++- sys/linux/socket_netlink_route.txt | 69 ++++++- sys/linux/socket_netlink_route_386.const | 34 ++++ sys/linux/socket_netlink_route_amd64.const | 34 ++++ sys/linux/socket_netlink_route_arm.const | 34 ++++ sys/linux/socket_netlink_route_arm64.const | 34 ++++ sys/linux/socket_netlink_route_ppc64le.const | 34 ++++ 11 files changed, 1552 insertions(+), 27 deletions(-) (limited to 'sys/linux') diff --git a/sys/linux/386.go b/sys/linux/386.go index 66c10b8da..3bdd1b795 100644 --- a/sys/linux/386.go +++ b/sys/linux/386.go @@ -2752,6 +2752,49 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "button", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "interv", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "fib4_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib4_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FRA_GENERIC_POLICY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, FldName: "FRA_FLOW"}, + }}}, + {Key: StructKey{Name: "fib6_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib6_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FIB_RULE_POLICY"}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET6]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_port_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_port_range", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "start", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "end", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + }}}, + {Key: StructKey{Name: "fib_rule_uid_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_uid_range", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "start", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "end", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "fiemap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fiemap", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, @@ -2813,6 +2856,23 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dlci", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "master", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "fra_generic_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fra_generic_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, FldName: "FRA_IIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_OIFNAME, int16], devname]"}, FldName: "FRA_OIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, FldName: "FRA_PRIORITY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, FldName: "FRA_FWMARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, FldName: "FRA_FWMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, FldName: "FRA_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, FldName: "FRA_SUPPRESS_PREFIXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, FldName: "FRA_SUPPRESS_IFGROUP"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, FldName: "FRA_GOTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, FldName: "FRA_L3MDEV"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, FldName: "FRA_UID_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, FldName: "FRA_PROTOCOL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FRA_IP_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_SPORT_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_DPORT_RANGE"}, + }}}, {Key: StructKey{Name: "fs_image_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_image_segment", TypeSize: 12}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "data"}, @@ -7352,6 +7412,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getnetconf"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, FldName: "getstats"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNEIGH, int16], ndmsg, nd_policy]"}, FldName: "newneigh"}, @@ -7366,6 +7427,9 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, FldName: "ipv4_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, FldName: "ipv4_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_newaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_deladdr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_getaddr"}, @@ -7375,6 +7439,9 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getmulticast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getanyicast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, FldName: "ipv6_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, FldName: "ipv6_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_newroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, @@ -7515,6 +7582,24 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_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: 22}, @@ -7696,6 +7781,34 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]", TypeSize: 20}, 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: 34}, + &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: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]", TypeSize: 28}, 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: 94}, @@ -7777,6 +7890,24 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 19}, @@ -8377,6 +8508,89 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]", 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: 24}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FLOW, 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: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMARK, 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: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMASK, 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: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_GOTO, 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: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IIFNAME, int16], devname]", TypeSize: 20}, 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}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, 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: 22}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_L3MDEV, 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: 19}, + &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[FRA_OIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_OIFNAME, int16], devname]", TypeSize: 20}, 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: 17}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PRIORITY, 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: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, 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: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]", 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: 23}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, 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: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, 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: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_TABLE, 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: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]", 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: 20}, + &StructType{Key: StructKey{Name: "fib_rule_uid_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]", 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}, @@ -9011,6 +9225,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]", IsVarlen: true}, 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: 22}, @@ -9047,10 +9266,10 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]", 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: 9}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "rtnexthop"}}}, + &StructType{Key: StructKey{Name: "rtnexthop"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_OIF, int16], ifindex]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -9078,6 +9297,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_TTL_PROPAGATE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_TTL_PROPAGATE, 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: 26}, @@ -10127,7 +10351,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, FldName: "RTA_PREFSRC"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, FldName: "RTA_FLOW"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -10140,7 +10364,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -25173,6 +25397,12 @@ var consts_386 = []ConstValue{ {Name: "FF_SPRING", Value: 83}, {Name: "FF_SQUARE", Value: 88}, {Name: "FF_TRIANGLE", Value: 89}, + {Name: "FIB_RULE_FIND_SADDR", Value: 65536}, + {Name: "FIB_RULE_IIF_DETACHED", Value: 8}, + {Name: "FIB_RULE_INVERT", Value: 2}, + {Name: "FIB_RULE_OIF_DETACHED", Value: 16}, + {Name: "FIB_RULE_PERMANENT", Value: 1}, + {Name: "FIB_RULE_UNRESOLVED", Value: 4}, {Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128}, {Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512}, {Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024}, @@ -25209,6 +25439,31 @@ var consts_386 = []ConstValue{ {Name: "FOU_CMD_GET", Value: 3}, {Name: "FOU_ENCAP_DIRECT", Value: 1}, {Name: "FOU_ENCAP_GUE", Value: 2}, + {Name: "FRA_DPORT_RANGE", Value: 24}, + {Name: "FRA_FLOW", Value: 11}, + {Name: "FRA_FWMARK", Value: 10}, + {Name: "FRA_FWMASK", Value: 16}, + {Name: "FRA_GOTO", Value: 4}, + {Name: "FRA_IIFNAME", Value: 3}, + {Name: "FRA_IP_PROTO", Value: 22}, + {Name: "FRA_L3MDEV", Value: 19}, + {Name: "FRA_OIFNAME", Value: 17}, + {Name: "FRA_PRIORITY", Value: 6}, + {Name: "FRA_PROTOCOL", Value: 21}, + {Name: "FRA_SPORT_RANGE", Value: 23}, + {Name: "FRA_SUPPRESS_IFGROUP", Value: 13}, + {Name: "FRA_SUPPRESS_PREFIXLEN", Value: 14}, + {Name: "FRA_TABLE", Value: 15}, + {Name: "FRA_UID_RANGE", Value: 20}, + {Name: "FR_ACT_BLACKHOLE", Value: 6}, + {Name: "FR_ACT_GOTO", Value: 2}, + {Name: "FR_ACT_NOP", Value: 3}, + {Name: "FR_ACT_PROHIBIT", Value: 8}, + {Name: "FR_ACT_RES3", Value: 4}, + {Name: "FR_ACT_RES4", Value: 5}, + {Name: "FR_ACT_TO_TBL", Value: 1}, + {Name: "FR_ACT_UNREACHABLE", Value: 7}, + {Name: "FR_ACT_UNSPEC"}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416}, {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 26}, @@ -27126,6 +27381,7 @@ var consts_386 = []ConstValue{ {Name: "RTM_DELLINK", Value: 17}, {Name: "RTM_DELNEIGH", Value: 29}, {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_DELRULE", Value: 33}, {Name: "RTM_F_CLONED", Value: 512}, {Name: "RTM_F_EQUALIZE", Value: 1024}, {Name: "RTM_F_FIB_MATCH", Value: 8192}, @@ -27140,11 +27396,13 @@ var consts_386 = []ConstValue{ {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_GETRULE", Value: 34}, {Name: "RTM_GETSTATS", Value: 94}, {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, {Name: "RTM_NEWROUTE", Value: 24}, + {Name: "RTM_NEWRULE", Value: 32}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, @@ -28680,4 +28938,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "9c95269da86216a24368bbacfbd1dbb01e7c6dc6" +const revision_386 = "84c53d32853cc775f2dfd37019d57297db7f2b3b" diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index 5b280878e..a47e0c54b 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -2828,6 +2828,49 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "button", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "interv", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "fib4_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib4_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FRA_GENERIC_POLICY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, FldName: "FRA_FLOW"}, + }}}, + {Key: StructKey{Name: "fib6_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib6_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FIB_RULE_POLICY"}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET6]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_port_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_port_range", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "start", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "end", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + }}}, + {Key: StructKey{Name: "fib_rule_uid_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_uid_range", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "start", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "end", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "fiemap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fiemap", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, @@ -2891,6 +2934,23 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dlci", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "master", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "fra_generic_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fra_generic_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, FldName: "FRA_IIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_OIFNAME, int16], devname]"}, FldName: "FRA_OIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, FldName: "FRA_PRIORITY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, FldName: "FRA_FWMARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, FldName: "FRA_FWMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, FldName: "FRA_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, FldName: "FRA_SUPPRESS_PREFIXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, FldName: "FRA_SUPPRESS_IFGROUP"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, FldName: "FRA_GOTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, FldName: "FRA_L3MDEV"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, FldName: "FRA_UID_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, FldName: "FRA_PROTOCOL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FRA_IP_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_SPORT_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_DPORT_RANGE"}, + }}}, {Key: StructKey{Name: "fs_image_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_image_segment", TypeSize: 24}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "data"}, @@ -7554,6 +7614,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getnetconf"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, FldName: "getstats"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNEIGH, int16], ndmsg, nd_policy]"}, FldName: "newneigh"}, @@ -7568,6 +7629,9 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, FldName: "ipv4_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, FldName: "ipv4_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_newaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_deladdr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_getaddr"}, @@ -7577,6 +7641,9 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getmulticast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getanyicast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, FldName: "ipv6_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, FldName: "ipv6_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_newroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, @@ -7717,6 +7784,24 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_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: 22}, @@ -7898,6 +7983,34 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]", TypeSize: 20}, 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: 34}, + &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: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]", TypeSize: 28}, 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: 94}, @@ -7979,6 +8092,24 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 19}, @@ -8581,6 +8712,89 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]", 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: 24}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FLOW, 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: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMARK, 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: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMASK, 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: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_GOTO, 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: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IIFNAME, int16], devname]", TypeSize: 20}, 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}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, 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: 22}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_L3MDEV, 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: 19}, + &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[FRA_OIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_OIFNAME, int16], devname]", TypeSize: 20}, 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: 17}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PRIORITY, 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: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, 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: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]", 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: 23}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, 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: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, 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: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_TABLE, 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: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]", 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: 20}, + &StructType{Key: StructKey{Name: "fib_rule_uid_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]", 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}, @@ -9215,6 +9429,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]", IsVarlen: true}, 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: 22}, @@ -9251,10 +9470,10 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]", 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: 9}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "rtnexthop"}}}, + &StructType{Key: StructKey{Name: "rtnexthop"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_OIF, int16], ifindex]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -9282,6 +9501,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_TTL_PROPAGATE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_TTL_PROPAGATE, 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: 26}, @@ -10332,7 +10556,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, FldName: "RTA_PREFSRC"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, FldName: "RTA_FLOW"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -10345,7 +10569,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -25813,6 +26037,12 @@ var consts_amd64 = []ConstValue{ {Name: "FF_SPRING", Value: 83}, {Name: "FF_SQUARE", Value: 88}, {Name: "FF_TRIANGLE", Value: 89}, + {Name: "FIB_RULE_FIND_SADDR", Value: 65536}, + {Name: "FIB_RULE_IIF_DETACHED", Value: 8}, + {Name: "FIB_RULE_INVERT", Value: 2}, + {Name: "FIB_RULE_OIF_DETACHED", Value: 16}, + {Name: "FIB_RULE_PERMANENT", Value: 1}, + {Name: "FIB_RULE_UNRESOLVED", Value: 4}, {Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128}, {Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512}, {Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024}, @@ -25849,6 +26079,31 @@ var consts_amd64 = []ConstValue{ {Name: "FOU_CMD_GET", Value: 3}, {Name: "FOU_ENCAP_DIRECT", Value: 1}, {Name: "FOU_ENCAP_GUE", Value: 2}, + {Name: "FRA_DPORT_RANGE", Value: 24}, + {Name: "FRA_FLOW", Value: 11}, + {Name: "FRA_FWMARK", Value: 10}, + {Name: "FRA_FWMASK", Value: 16}, + {Name: "FRA_GOTO", Value: 4}, + {Name: "FRA_IIFNAME", Value: 3}, + {Name: "FRA_IP_PROTO", Value: 22}, + {Name: "FRA_L3MDEV", Value: 19}, + {Name: "FRA_OIFNAME", Value: 17}, + {Name: "FRA_PRIORITY", Value: 6}, + {Name: "FRA_PROTOCOL", Value: 21}, + {Name: "FRA_SPORT_RANGE", Value: 23}, + {Name: "FRA_SUPPRESS_IFGROUP", Value: 13}, + {Name: "FRA_SUPPRESS_PREFIXLEN", Value: 14}, + {Name: "FRA_TABLE", Value: 15}, + {Name: "FRA_UID_RANGE", Value: 20}, + {Name: "FR_ACT_BLACKHOLE", Value: 6}, + {Name: "FR_ACT_GOTO", Value: 2}, + {Name: "FR_ACT_NOP", Value: 3}, + {Name: "FR_ACT_PROHIBIT", Value: 8}, + {Name: "FR_ACT_RES3", Value: 4}, + {Name: "FR_ACT_RES4", Value: 5}, + {Name: "FR_ACT_TO_TBL", Value: 1}, + {Name: "FR_ACT_UNREACHABLE", Value: 7}, + {Name: "FR_ACT_UNSPEC"}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416}, {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 26}, @@ -27766,6 +28021,7 @@ var consts_amd64 = []ConstValue{ {Name: "RTM_DELLINK", Value: 17}, {Name: "RTM_DELNEIGH", Value: 29}, {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_DELRULE", Value: 33}, {Name: "RTM_F_CLONED", Value: 512}, {Name: "RTM_F_EQUALIZE", Value: 1024}, {Name: "RTM_F_FIB_MATCH", Value: 8192}, @@ -27780,11 +28036,13 @@ var consts_amd64 = []ConstValue{ {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_GETRULE", Value: 34}, {Name: "RTM_GETSTATS", Value: 94}, {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, {Name: "RTM_NEWROUTE", Value: 24}, + {Name: "RTM_NEWRULE", Value: 32}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, @@ -29345,4 +29603,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "6cf4596dfa0047e10116ea038f0e08fd0a03bf6b" +const revision_amd64 = "5e7ba513507e7d4f521debef48179bff8c5a38a5" diff --git a/sys/linux/arm.go b/sys/linux/arm.go index e5b579e7c..33cf6ff73 100644 --- a/sys/linux/arm.go +++ b/sys/linux/arm.go @@ -2757,6 +2757,49 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "button", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "interv", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "fib4_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib4_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FRA_GENERIC_POLICY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, FldName: "FRA_FLOW"}, + }}}, + {Key: StructKey{Name: "fib6_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib6_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FIB_RULE_POLICY"}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET6]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_port_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_port_range", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "start", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "end", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + }}}, + {Key: StructKey{Name: "fib_rule_uid_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_uid_range", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "start", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "end", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "fiemap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fiemap", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, @@ -2818,6 +2861,23 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dlci", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "master", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "fra_generic_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fra_generic_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, FldName: "FRA_IIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_OIFNAME, int16], devname]"}, FldName: "FRA_OIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, FldName: "FRA_PRIORITY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, FldName: "FRA_FWMARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, FldName: "FRA_FWMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, FldName: "FRA_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, FldName: "FRA_SUPPRESS_PREFIXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, FldName: "FRA_SUPPRESS_IFGROUP"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, FldName: "FRA_GOTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, FldName: "FRA_L3MDEV"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, FldName: "FRA_UID_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, FldName: "FRA_PROTOCOL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FRA_IP_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_SPORT_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_DPORT_RANGE"}, + }}}, {Key: StructKey{Name: "fs_image_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_image_segment", TypeSize: 12}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "data"}, @@ -7195,6 +7255,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getnetconf"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, FldName: "getstats"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNEIGH, int16], ndmsg, nd_policy]"}, FldName: "newneigh"}, @@ -7209,6 +7270,9 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, FldName: "ipv4_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, FldName: "ipv4_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_newaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_deladdr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_getaddr"}, @@ -7218,6 +7282,9 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getmulticast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getanyicast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, FldName: "ipv6_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, FldName: "ipv6_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_newroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, @@ -7358,6 +7425,24 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_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: 22}, @@ -7539,6 +7624,34 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]", TypeSize: 20}, 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: 34}, + &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: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]", TypeSize: 28}, 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: 94}, @@ -7620,6 +7733,24 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 19}, @@ -8220,6 +8351,89 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]", 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: 24}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FLOW, 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: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMARK, 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: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMASK, 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: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_GOTO, 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: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IIFNAME, int16], devname]", TypeSize: 20}, 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}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, 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: 22}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_L3MDEV, 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: 19}, + &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[FRA_OIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_OIFNAME, int16], devname]", TypeSize: 20}, 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: 17}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PRIORITY, 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: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, 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: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]", 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: 23}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, 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: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, 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: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_TABLE, 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: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]", 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: 20}, + &StructType{Key: StructKey{Name: "fib_rule_uid_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]", 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}, @@ -8854,6 +9068,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]", IsVarlen: true}, 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: 22}, @@ -8890,10 +9109,10 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]", 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: 9}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "rtnexthop"}}}, + &StructType{Key: StructKey{Name: "rtnexthop"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_OIF, int16], ifindex]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -8921,6 +9140,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_TTL_PROPAGATE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_TTL_PROPAGATE, 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: 26}, @@ -9970,7 +10194,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, FldName: "RTA_PREFSRC"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, FldName: "RTA_FLOW"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -9983,7 +10207,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -25085,6 +25309,12 @@ var consts_arm = []ConstValue{ {Name: "FF_SPRING", Value: 83}, {Name: "FF_SQUARE", Value: 88}, {Name: "FF_TRIANGLE", Value: 89}, + {Name: "FIB_RULE_FIND_SADDR", Value: 65536}, + {Name: "FIB_RULE_IIF_DETACHED", Value: 8}, + {Name: "FIB_RULE_INVERT", Value: 2}, + {Name: "FIB_RULE_OIF_DETACHED", Value: 16}, + {Name: "FIB_RULE_PERMANENT", Value: 1}, + {Name: "FIB_RULE_UNRESOLVED", Value: 4}, {Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128}, {Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512}, {Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024}, @@ -25121,6 +25351,31 @@ var consts_arm = []ConstValue{ {Name: "FOU_CMD_GET", Value: 3}, {Name: "FOU_ENCAP_DIRECT", Value: 1}, {Name: "FOU_ENCAP_GUE", Value: 2}, + {Name: "FRA_DPORT_RANGE", Value: 24}, + {Name: "FRA_FLOW", Value: 11}, + {Name: "FRA_FWMARK", Value: 10}, + {Name: "FRA_FWMASK", Value: 16}, + {Name: "FRA_GOTO", Value: 4}, + {Name: "FRA_IIFNAME", Value: 3}, + {Name: "FRA_IP_PROTO", Value: 22}, + {Name: "FRA_L3MDEV", Value: 19}, + {Name: "FRA_OIFNAME", Value: 17}, + {Name: "FRA_PRIORITY", Value: 6}, + {Name: "FRA_PROTOCOL", Value: 21}, + {Name: "FRA_SPORT_RANGE", Value: 23}, + {Name: "FRA_SUPPRESS_IFGROUP", Value: 13}, + {Name: "FRA_SUPPRESS_PREFIXLEN", Value: 14}, + {Name: "FRA_TABLE", Value: 15}, + {Name: "FRA_UID_RANGE", Value: 20}, + {Name: "FR_ACT_BLACKHOLE", Value: 6}, + {Name: "FR_ACT_GOTO", Value: 2}, + {Name: "FR_ACT_NOP", Value: 3}, + {Name: "FR_ACT_PROHIBIT", Value: 8}, + {Name: "FR_ACT_RES3", Value: 4}, + {Name: "FR_ACT_RES4", Value: 5}, + {Name: "FR_ACT_TO_TBL", Value: 1}, + {Name: "FR_ACT_UNREACHABLE", Value: 7}, + {Name: "FR_ACT_UNSPEC"}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416}, {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 26}, @@ -26990,6 +27245,7 @@ var consts_arm = []ConstValue{ {Name: "RTM_DELLINK", Value: 17}, {Name: "RTM_DELNEIGH", Value: 29}, {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_DELRULE", Value: 33}, {Name: "RTM_F_CLONED", Value: 512}, {Name: "RTM_F_EQUALIZE", Value: 1024}, {Name: "RTM_F_FIB_MATCH", Value: 8192}, @@ -27004,11 +27260,13 @@ var consts_arm = []ConstValue{ {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_GETRULE", Value: 34}, {Name: "RTM_GETSTATS", Value: 94}, {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, {Name: "RTM_NEWROUTE", Value: 24}, + {Name: "RTM_NEWRULE", Value: 32}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, @@ -28543,4 +28801,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "7481c783d7a05ef3e22a39eb8aecc1ce08bcaada" +const revision_arm = "2dbd32257faac18a8dba1d81c18741ca6b74d3a1" diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go index 387e834cb..e7bb6ce52 100644 --- a/sys/linux/arm64.go +++ b/sys/linux/arm64.go @@ -2828,6 +2828,49 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "button", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "interv", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "fib4_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib4_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FRA_GENERIC_POLICY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, FldName: "FRA_FLOW"}, + }}}, + {Key: StructKey{Name: "fib6_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib6_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FIB_RULE_POLICY"}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET6]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_port_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_port_range", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "start", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "end", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + }}}, + {Key: StructKey{Name: "fib_rule_uid_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_uid_range", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "start", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "end", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "fiemap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fiemap", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, @@ -2891,6 +2934,23 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dlci", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "master", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "fra_generic_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fra_generic_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, FldName: "FRA_IIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_OIFNAME, int16], devname]"}, FldName: "FRA_OIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, FldName: "FRA_PRIORITY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, FldName: "FRA_FWMARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, FldName: "FRA_FWMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, FldName: "FRA_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, FldName: "FRA_SUPPRESS_PREFIXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, FldName: "FRA_SUPPRESS_IFGROUP"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, FldName: "FRA_GOTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, FldName: "FRA_L3MDEV"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, FldName: "FRA_UID_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, FldName: "FRA_PROTOCOL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FRA_IP_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_SPORT_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_DPORT_RANGE"}, + }}}, {Key: StructKey{Name: "fs_image_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_image_segment", TypeSize: 24}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "data"}, @@ -7359,6 +7419,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getnetconf"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, FldName: "getstats"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNEIGH, int16], ndmsg, nd_policy]"}, FldName: "newneigh"}, @@ -7373,6 +7434,9 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, FldName: "ipv4_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, FldName: "ipv4_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_newaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_deladdr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_getaddr"}, @@ -7382,6 +7446,9 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getmulticast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getanyicast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, FldName: "ipv6_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, FldName: "ipv6_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_newroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, @@ -7522,6 +7589,24 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_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: 22}, @@ -7703,6 +7788,34 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]", TypeSize: 20}, 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: 34}, + &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: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]", TypeSize: 28}, 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: 94}, @@ -7784,6 +7897,24 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 19}, @@ -8386,6 +8517,89 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]", 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: 24}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FLOW, 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: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMARK, 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: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMASK, 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: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_GOTO, 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: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IIFNAME, int16], devname]", TypeSize: 20}, 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}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, 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: 22}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_L3MDEV, 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: 19}, + &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[FRA_OIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_OIFNAME, int16], devname]", TypeSize: 20}, 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: 17}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PRIORITY, 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: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, 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: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]", 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: 23}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, 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: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, 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: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_TABLE, 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: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]", 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: 20}, + &StructType{Key: StructKey{Name: "fib_rule_uid_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]", 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}, @@ -9020,6 +9234,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]", IsVarlen: true}, 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: 22}, @@ -9056,10 +9275,10 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]", 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: 9}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "rtnexthop"}}}, + &StructType{Key: StructKey{Name: "rtnexthop"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_OIF, int16], ifindex]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -9087,6 +9306,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_TTL_PROPAGATE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_TTL_PROPAGATE, 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: 26}, @@ -10137,7 +10361,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, FldName: "RTA_PREFSRC"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, FldName: "RTA_FLOW"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -10150,7 +10374,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -25279,6 +25503,12 @@ var consts_arm64 = []ConstValue{ {Name: "FF_SPRING", Value: 83}, {Name: "FF_SQUARE", Value: 88}, {Name: "FF_TRIANGLE", Value: 89}, + {Name: "FIB_RULE_FIND_SADDR", Value: 65536}, + {Name: "FIB_RULE_IIF_DETACHED", Value: 8}, + {Name: "FIB_RULE_INVERT", Value: 2}, + {Name: "FIB_RULE_OIF_DETACHED", Value: 16}, + {Name: "FIB_RULE_PERMANENT", Value: 1}, + {Name: "FIB_RULE_UNRESOLVED", Value: 4}, {Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128}, {Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512}, {Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024}, @@ -25315,6 +25545,31 @@ var consts_arm64 = []ConstValue{ {Name: "FOU_CMD_GET", Value: 3}, {Name: "FOU_ENCAP_DIRECT", Value: 1}, {Name: "FOU_ENCAP_GUE", Value: 2}, + {Name: "FRA_DPORT_RANGE", Value: 24}, + {Name: "FRA_FLOW", Value: 11}, + {Name: "FRA_FWMARK", Value: 10}, + {Name: "FRA_FWMASK", Value: 16}, + {Name: "FRA_GOTO", Value: 4}, + {Name: "FRA_IIFNAME", Value: 3}, + {Name: "FRA_IP_PROTO", Value: 22}, + {Name: "FRA_L3MDEV", Value: 19}, + {Name: "FRA_OIFNAME", Value: 17}, + {Name: "FRA_PRIORITY", Value: 6}, + {Name: "FRA_PROTOCOL", Value: 21}, + {Name: "FRA_SPORT_RANGE", Value: 23}, + {Name: "FRA_SUPPRESS_IFGROUP", Value: 13}, + {Name: "FRA_SUPPRESS_PREFIXLEN", Value: 14}, + {Name: "FRA_TABLE", Value: 15}, + {Name: "FRA_UID_RANGE", Value: 20}, + {Name: "FR_ACT_BLACKHOLE", Value: 6}, + {Name: "FR_ACT_GOTO", Value: 2}, + {Name: "FR_ACT_NOP", Value: 3}, + {Name: "FR_ACT_PROHIBIT", Value: 8}, + {Name: "FR_ACT_RES3", Value: 4}, + {Name: "FR_ACT_RES4", Value: 5}, + {Name: "FR_ACT_TO_TBL", Value: 1}, + {Name: "FR_ACT_UNREACHABLE", Value: 7}, + {Name: "FR_ACT_UNSPEC"}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FUSE_DEV_IOC_CLONE", Value: 2147804416}, {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 26}, @@ -27189,6 +27444,7 @@ var consts_arm64 = []ConstValue{ {Name: "RTM_DELLINK", Value: 17}, {Name: "RTM_DELNEIGH", Value: 29}, {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_DELRULE", Value: 33}, {Name: "RTM_F_CLONED", Value: 512}, {Name: "RTM_F_EQUALIZE", Value: 1024}, {Name: "RTM_F_FIB_MATCH", Value: 8192}, @@ -27203,11 +27459,13 @@ var consts_arm64 = []ConstValue{ {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_GETRULE", Value: 34}, {Name: "RTM_GETSTATS", Value: 94}, {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, {Name: "RTM_NEWROUTE", Value: 24}, + {Name: "RTM_NEWRULE", Value: 32}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, @@ -28727,4 +28985,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "067e79d32cdb305f6ecae6b6d2da2bfc1d8a2b7e" +const revision_arm64 = "bdb5ff7dcca0446c041419cf514f1776d90e641e" diff --git a/sys/linux/ppc64le.go b/sys/linux/ppc64le.go index 443e7641a..810158e51 100644 --- a/sys/linux/ppc64le.go +++ b/sys/linux/ppc64le.go @@ -2822,6 +2822,49 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "button", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "interv", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "fib4_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib4_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FRA_GENERIC_POLICY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, FldName: "FRA_FLOW"}, + }}}, + {Key: StructKey{Name: "fib6_rule_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib6_rule_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, FldName: "FRA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, FldName: "FRA_SRC"}, + &UnionType{Key: StructKey{Name: "fra_generic_policy"}, FldName: "FIB_RULE_POLICY"}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET6]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_hdr[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_hdr[AF_INET]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "table", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res1", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "res2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_actions", FldName: "action", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 65536}}, + }}}, + {Key: StructKey{Name: "fib_rule_port_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_port_range", TypeSize: 4}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "start", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "end", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + }}}, + {Key: StructKey{Name: "fib_rule_uid_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fib_rule_uid_range", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "start", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "end", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "fiemap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fiemap", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", TypeSize: 8}}}, @@ -2885,6 +2928,23 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dlci", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "master", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "fra_generic_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fra_generic_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, FldName: "FRA_IIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_OIFNAME, int16], devname]"}, FldName: "FRA_OIFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, FldName: "FRA_PRIORITY"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, FldName: "FRA_FWMARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, FldName: "FRA_FWMASK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, FldName: "FRA_TABLE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, FldName: "FRA_SUPPRESS_PREFIXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, FldName: "FRA_SUPPRESS_IFGROUP"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, FldName: "FRA_GOTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, FldName: "FRA_L3MDEV"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, FldName: "FRA_UID_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, FldName: "FRA_PROTOCOL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FRA_IP_PROTO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_SPORT_RANGE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, FldName: "FRA_DPORT_RANGE"}, + }}}, {Key: StructKey{Name: "fs_image_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_image_segment", TypeSize: 24}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "data"}, @@ -7314,6 +7374,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "dellink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getroute"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], rtgenmsg[AF_UNSPEC], void]"}, FldName: "getnetconf"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, FldName: "getstats"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWNEIGH, int16], ndmsg, nd_policy]"}, FldName: "newneigh"}, @@ -7328,6 +7389,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, FldName: "ipv4_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, FldName: "ipv4_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, FldName: "ipv4_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_newaddr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_deladdr"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, FldName: "ipv6_getaddr"}, @@ -7337,6 +7401,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getmulticast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, FldName: "ipv6_getanyicast"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, FldName: "ipv6_getnetconf"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_newrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, FldName: "ipv6_delrule"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, FldName: "ipv6_getrule"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_newroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, FldName: "ipmr_delroute"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, @@ -7477,6 +7544,24 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 33}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET6], ifa_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: 22}, @@ -7658,6 +7743,34 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET6], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], fib_rule_hdr[AF_INET], void]", TypeSize: 32}, 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: 34}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETRULE, int16], rtgenmsg[AF_UNSPEC], void]", TypeSize: 20}, 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: 34}, + &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: "rtgenmsg[AF_UNSPEC]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETSTATS, int16], if_stats_msg[AF_UNSPEC], void]", TypeSize: 28}, 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: 94}, @@ -7739,6 +7852,24 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "rtm_ipv4_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET6], fib6_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib6_rule_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWRULE, int16], fib_rule_hdr[AF_INET], fib4_rule_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: 32}, + &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: "fib_rule_hdr[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "fib4_rule_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 19}, @@ -8341,6 +8472,89 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_DPORT_RANGE, int16], fib_rule_port_range]", 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: 24}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FLOW, 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: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMARK, 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: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_FWMASK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_FWMASK, 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: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_GOTO, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_GOTO, 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: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IIFNAME, int16], devname]", TypeSize: 20}, 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}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_IP_PROTO, int16], flags[ipv6_types, 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: 22}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_L3MDEV, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_L3MDEV, 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: 19}, + &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[FRA_OIFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_OIFNAME, int16], devname]", TypeSize: 20}, 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: 17}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PRIORITY, 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: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_PROTOCOL, int16], flags[rtm_protocol, 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: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SPORT_RANGE, int16], fib_rule_port_range]", 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: 23}, + &StructType{Key: StructKey{Name: "fib_rule_port_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_IFGROUP, 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: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_SUPPRESS_PREFIXLEN, 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: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_TABLE, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_TABLE, 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: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FRA_UID_RANGE, int16], fib_rule_uid_range]", 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: 20}, + &StructType{Key: StructKey{Name: "fib_rule_uid_range"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]", 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}, @@ -8975,6 +9189,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]", IsVarlen: true}, 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: 22}, @@ -9011,10 +9230,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }, AlignAttr: 4}}, - {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]", 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: 9}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "rtnexthop"}}}, + &StructType{Key: StructKey{Name: "rtnexthop"}, FldName: "payload"}, }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_OIF, int16], ifindex]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, @@ -9042,6 +9261,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, int16], ipv6_addr]", TypeSize: 20}, 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}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[RTA_TTL_PROPAGATE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_TTL_PROPAGATE, 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: 26}, @@ -10092,7 +10316,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, FldName: "RTA_PREFSRC"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, FldName: "RTA_FLOW"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -10105,7 +10329,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, FldName: "RTA_PRIORITY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_METRICS, int16], array[int8]]"}, FldName: "RTA_METRICS"}, - &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], array[rtnexthop]]"}, FldName: "RTA_MULTIPATH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MULTIPATH, int16], rtnexthop]"}, FldName: "RTA_MULTIPATH"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"}, @@ -25046,6 +25270,12 @@ var consts_ppc64le = []ConstValue{ {Name: "FF_SPRING", Value: 83}, {Name: "FF_SQUARE", Value: 88}, {Name: "FF_TRIANGLE", Value: 89}, + {Name: "FIB_RULE_FIND_SADDR", Value: 65536}, + {Name: "FIB_RULE_IIF_DETACHED", Value: 8}, + {Name: "FIB_RULE_INVERT", Value: 2}, + {Name: "FIB_RULE_OIF_DETACHED", Value: 16}, + {Name: "FIB_RULE_PERMANENT", Value: 1}, + {Name: "FIB_RULE_UNRESOLVED", Value: 4}, {Name: "FIEMAP_EXTENT_DATA_ENCRYPTED", Value: 128}, {Name: "FIEMAP_EXTENT_DATA_INLINE", Value: 512}, {Name: "FIEMAP_EXTENT_DATA_TAIL", Value: 1024}, @@ -25082,6 +25312,31 @@ var consts_ppc64le = []ConstValue{ {Name: "FOU_CMD_GET", Value: 3}, {Name: "FOU_ENCAP_DIRECT", Value: 1}, {Name: "FOU_ENCAP_GUE", Value: 2}, + {Name: "FRA_DPORT_RANGE", Value: 24}, + {Name: "FRA_FLOW", Value: 11}, + {Name: "FRA_FWMARK", Value: 10}, + {Name: "FRA_FWMASK", Value: 16}, + {Name: "FRA_GOTO", Value: 4}, + {Name: "FRA_IIFNAME", Value: 3}, + {Name: "FRA_IP_PROTO", Value: 22}, + {Name: "FRA_L3MDEV", Value: 19}, + {Name: "FRA_OIFNAME", Value: 17}, + {Name: "FRA_PRIORITY", Value: 6}, + {Name: "FRA_PROTOCOL", Value: 21}, + {Name: "FRA_SPORT_RANGE", Value: 23}, + {Name: "FRA_SUPPRESS_IFGROUP", Value: 13}, + {Name: "FRA_SUPPRESS_PREFIXLEN", Value: 14}, + {Name: "FRA_TABLE", Value: 15}, + {Name: "FRA_UID_RANGE", Value: 20}, + {Name: "FR_ACT_BLACKHOLE", Value: 6}, + {Name: "FR_ACT_GOTO", Value: 2}, + {Name: "FR_ACT_NOP", Value: 3}, + {Name: "FR_ACT_PROHIBIT", Value: 8}, + {Name: "FR_ACT_RES3", Value: 4}, + {Name: "FR_ACT_RES4", Value: 5}, + {Name: "FR_ACT_TO_TBL", Value: 1}, + {Name: "FR_ACT_UNREACHABLE", Value: 7}, + {Name: "FR_ACT_UNSPEC"}, {Name: "FS_IOC_FIEMAP", Value: 3223348747}, {Name: "FUSE_DEV_IOC_CLONE", Value: 1074062592}, {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 26}, @@ -26950,6 +27205,7 @@ var consts_ppc64le = []ConstValue{ {Name: "RTM_DELLINK", Value: 17}, {Name: "RTM_DELNEIGH", Value: 29}, {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_DELRULE", Value: 33}, {Name: "RTM_F_CLONED", Value: 512}, {Name: "RTM_F_EQUALIZE", Value: 1024}, {Name: "RTM_F_FIB_MATCH", Value: 8192}, @@ -26964,11 +27220,13 @@ var consts_ppc64le = []ConstValue{ {Name: "RTM_GETNEIGHTBL", Value: 66}, {Name: "RTM_GETNETCONF", Value: 82}, {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_GETRULE", Value: 34}, {Name: "RTM_GETSTATS", Value: 94}, {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, {Name: "RTM_NEWNEIGH", Value: 28}, {Name: "RTM_NEWROUTE", Value: 24}, + {Name: "RTM_NEWRULE", Value: 32}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTM_SETNEIGHTBL", Value: 67}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, @@ -28489,4 +28747,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "173082ff7b8211ebef59420f07bc501ad3de7a9e" +const revision_ppc64le = "6d59aca8cdd36f9b01a0a0b4406b2e88a5eb429d" diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt index e83cab916..99550659d 100644 --- a/sys/linux/socket_netlink_route.txt +++ b/sys/linux/socket_netlink_route.txt @@ -13,6 +13,7 @@ include include include include +include resource sock_nl_route[sock_netlink] @@ -27,6 +28,7 @@ netlink_msg_route [ dellink netlink_msg[RTM_DELLINK, ifinfomsg[AF_UNSPEC], ifla_policy] getaddr netlink_msg[RTM_GETADDR, rtgenmsg[AF_UNSPEC], void] getroute netlink_msg[RTM_GETROUTE, rtgenmsg[AF_UNSPEC], void] + getrule netlink_msg[RTM_GETRULE, rtgenmsg[AF_UNSPEC], void] getnetconf netlink_msg[RTM_GETNETCONF, rtgenmsg[AF_UNSPEC], void] getstats netlink_msg[RTM_GETSTATS, if_stats_msg[AF_UNSPEC], void] newneigh netlink_msg[RTM_NEWNEIGH, ndmsg, nd_policy] @@ -42,6 +44,9 @@ netlink_msg_route [ ipv4_delroute netlink_msg[RTM_DELROUTE, rtmsg[AF_INET], rtm_ipv4_policy] ipv4_getroute netlink_msg[RTM_GETROUTE, rtmsg[AF_INET], void] ipv4_getnetconf netlink_msg[RTM_GETNETCONF, netconfmsg[AF_INET], devconf_ip_policy] + ipv4_newrule netlink_msg[RTM_NEWRULE, fib_rule_hdr[AF_INET], fib4_rule_policy] + ipv4_delrule netlink_msg[RTM_DELRULE, fib_rule_hdr[AF_INET], fib4_rule_policy] + ipv4_getrule netlink_msg[RTM_GETRULE, fib_rule_hdr[AF_INET], void] ipv6_newaddr netlink_msg[RTM_NEWADDR, ifaddrmsg[AF_INET6], ifa_ipv6_policy] ipv6_deladdr netlink_msg[RTM_DELADDR, ifaddrmsg[AF_INET6], ifa_ipv6_policy] @@ -52,6 +57,9 @@ netlink_msg_route [ ipv6_getmulticast netlink_msg[RTM_GETMULTICAST, rtgenmsg[AF_INET6], void] ipv6_getanyicast netlink_msg[RTM_GETANYCAST, rtgenmsg[AF_INET6], void] ipv6_getnetconf netlink_msg[RTM_GETNETCONF, netconfmsg[AF_INET6], devconf_ip_policy] + ipv6_newrule netlink_msg[RTM_NEWRULE, fib_rule_hdr[AF_INET6], fib6_rule_policy] + ipv6_delrule netlink_msg[RTM_DELRULE, fib_rule_hdr[AF_INET6], fib6_rule_policy] + ipv6_getrule netlink_msg[RTM_GETRULE, fib_rule_hdr[AF_INET6], void] ipmr_newroute netlink_msg[RTM_NEWROUTE, rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy] ipmr_delroute netlink_msg[RTM_DELROUTE, rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy] @@ -205,7 +213,7 @@ rtm_ipv4_policy [ RTA_PREFSRC nlattr[RTA_PREFSRC, ipv4_addr] # TODO: what's this? is this interesting? RTA_METRICS nlattr[RTA_METRICS, array[int8]] - RTA_MULTIPATH nlattr[RTA_MULTIPATH, array[rtnexthop]] + RTA_MULTIPATH nlattr[RTA_MULTIPATH, rtnexthop] RTA_FLOW nlattr[RTA_FLOW, int32] RTA_ENCAP_TYPE nlattr[RTA_ENCAP_TYPE, flags[lwtunnel_encap_types, int16]] # TODO: describe RTA_ENCAP @@ -221,7 +229,7 @@ rtm_ipv6_policy [ RTA_PRIORITY nlattr[RTA_PRIORITY, int32] # TODO: what's this? is this interesting? RTA_METRICS nlattr[RTA_METRICS, array[int8]] - RTA_MULTIPATH nlattr[RTA_MULTIPATH, array[rtnexthop]] + RTA_MULTIPATH nlattr[RTA_MULTIPATH, rtnexthop] RTA_PREF nlattr[RTA_PREF, int8] RTA_ENCAP_TYPE nlattr[RTA_ENCAP_TYPE, flags[lwtunnel_encap_types, int16]] # TODO: describe RTA_ENCAP @@ -237,6 +245,61 @@ rtm_mpls_policy [ RTA_TTL_PROPAGATE nlattr[RTA_TTL_PROPAGATE, int8] ] [varlen] +type fib_rule_hdr[FAMILY] { + family const[FAMILY, int8] + dst_len flags[rtm_addr_len, int8] + rcdst_len flags[rtm_addr_len, int8] + tos int8 + table int8 + res1 const[0, int8] + res2 const[0, int8] + action flags[fr_actions, int32] + flags flags[fr_flags, int32] +} + +fib_rule_uid_range { + start uid + end uid +} + +fib_rule_port_range { + start sock_port + end sock_port +} + +fra_generic_policy [ + FRA_IIFNAME nlattr[FRA_IIFNAME, devname] + FRA_OIFNAME nlattr[FRA_OIFNAME, devname] + FRA_PRIORITY nlattr[FRA_PRIORITY, int32] + FRA_FWMARK nlattr[FRA_FWMARK, int32] + FRA_FWMASK nlattr[FRA_FWMASK, int32] + FRA_TABLE nlattr[FRA_TABLE, int32] + FRA_SUPPRESS_PREFIXLEN nlattr[FRA_SUPPRESS_PREFIXLEN, int32] + FRA_SUPPRESS_IFGROUP nlattr[FRA_SUPPRESS_IFGROUP, int32] + FRA_GOTO nlattr[FRA_GOTO, int32] + FRA_L3MDEV nlattr[FRA_L3MDEV, int8] + FRA_UID_RANGE nlattr[FRA_UID_RANGE, fib_rule_uid_range] + FRA_PROTOCOL nlattr[FRA_PROTOCOL, flags[rtm_protocol, int8]] + FRA_IP_PROTO nlattr[FRA_IP_PROTO, flags[ipv6_types, int8]] + FRA_SPORT_RANGE nlattr[FRA_SPORT_RANGE, fib_rule_port_range] + FRA_DPORT_RANGE nlattr[FRA_DPORT_RANGE, fib_rule_port_range] +] [varlen] + +# FRA_DST/SRC are not in fib4/6_rule_policy. But fib4/6 still need them. +# So I add them here. +fib4_rule_policy [ + FRA_DST nlattr[RTA_DST, ipv4_addr] + FRA_SRC nlattr[RTA_SRC, ipv4_addr] + FRA_GENERIC_POLICY fra_generic_policy + FRA_FLOW nlattr[FRA_FLOW, int32] +] [varlen] + +fib6_rule_policy [ + FRA_DST nlattr[RTA_DST, ipv6_addr] + FRA_SRC nlattr[RTA_SRC, ipv6_addr] + FIB_RULE_POLICY fra_generic_policy +] [varlen] + nl_neightbl_policy [ NDTA_NAME nlattr[NDTA_NAME, string] NDTA_THRESH1 nlattr[NDTA_THRESH1, int32] @@ -339,6 +402,8 @@ rt_scope_t = RT_SCOPE_UNIVERSE, RT_SCOPE_SITE, RT_SCOPE_LINK, RT_SCOPE_HOST, RT_ rtm_protocol = RTPROT_UNSPEC, RTPROT_REDIRECT, RTPROT_KERNEL, RTPROT_BOOT, RTPROT_STATIC rtm_type = RTN_UNSPEC, RTN_UNICAST, RTN_LOCAL, RTN_BROADCAST, RTN_ANYCAST, RTN_MULTICAST, RTN_BLACKHOLE, RTN_UNREACHABLE, RTN_PROHIBIT, RTN_THROW, RTN_NAT, RTN_XRESOLVE rtm_flags = RTM_F_NOTIFY, RTM_F_CLONED, RTM_F_EQUALIZE, RTM_F_PREFIX, RTM_F_LOOKUP_TABLE, RTM_F_FIB_MATCH +fr_actions = FR_ACT_UNSPEC, FR_ACT_TO_TBL, FR_ACT_GOTO, FR_ACT_NOP, FR_ACT_RES3, FR_ACT_RES4, FR_ACT_BLACKHOLE, FR_ACT_UNREACHABLE, FR_ACT_PROHIBIT +fr_flags = FIB_RULE_PERMANENT, FIB_RULE_INVERT, FIB_RULE_UNRESOLVED, FIB_RULE_IIF_DETACHED, FIB_RULE_OIF_DETACHED, FIB_RULE_FIND_SADDR lwtunnel_encap_types = LWTUNNEL_ENCAP_NONE, LWTUNNEL_ENCAP_MPLS, LWTUNNEL_ENCAP_IP, LWTUNNEL_ENCAP_ILA, LWTUNNEL_ENCAP_IP6, LWTUNNEL_ENCAP_SEG6, LWTUNNEL_ENCAP_BPF, LWTUNNEL_ENCAP_SEG6_LOCAL rt_table_types = RT_TABLE_UNSPEC, RT_TABLE_COMPAT, RT_TABLE_DEFAULT, RT_TABLE_MAIN, RT_TABLE_LOCAL ndm_state = NUD_INCOMPLETE, NUD_REACHABLE, NUD_STALE, NUD_DELAY, NUD_PROBE, NUD_FAILED, NUD_NOARP, NUD_PERMANENT, NUD_NONE diff --git a/sys/linux/socket_netlink_route_386.const b/sys/linux/socket_netlink_route_386.const index fe7677f0a..b07e1ada5 100644 --- a/sys/linux/socket_netlink_route_386.const +++ b/sys/linux/socket_netlink_route_386.const @@ -5,6 +5,37 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +FIB_RULE_FIND_SADDR = 65536 +FIB_RULE_IIF_DETACHED = 8 +FIB_RULE_INVERT = 2 +FIB_RULE_OIF_DETACHED = 16 +FIB_RULE_PERMANENT = 1 +FIB_RULE_UNRESOLVED = 4 +FRA_DPORT_RANGE = 24 +FRA_FLOW = 11 +FRA_FWMARK = 10 +FRA_FWMASK = 16 +FRA_GOTO = 4 +FRA_IIFNAME = 3 +FRA_IP_PROTO = 22 +FRA_L3MDEV = 19 +FRA_OIFNAME = 17 +FRA_PRIORITY = 6 +FRA_PROTOCOL = 21 +FRA_SPORT_RANGE = 23 +FRA_SUPPRESS_IFGROUP = 13 +FRA_SUPPRESS_PREFIXLEN = 14 +FRA_TABLE = 15 +FRA_UID_RANGE = 20 +FR_ACT_BLACKHOLE = 6 +FR_ACT_GOTO = 2 +FR_ACT_NOP = 3 +FR_ACT_PROHIBIT = 8 +FR_ACT_RES3 = 4 +FR_ACT_RES4 = 5 +FR_ACT_TO_TBL = 1 +FR_ACT_UNREACHABLE = 7 +FR_ACT_UNSPEC = 0 IFA_ADDRESS = 1 IFA_BROADCAST = 4 IFA_CACHEINFO = 6 @@ -167,6 +198,7 @@ RTM_DELADDR = 21 RTM_DELLINK = 17 RTM_DELNEIGH = 29 RTM_DELROUTE = 25 +RTM_DELRULE = 33 RTM_F_CLONED = 512 RTM_F_EQUALIZE = 1024 RTM_F_FIB_MATCH = 8192 @@ -181,11 +213,13 @@ RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 RTM_GETROUTE = 26 +RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 RTM_NEWROUTE = 24 +RTM_NEWRULE = 32 RTM_SETLINK = 19 RTM_SETNEIGHTBL = 67 RTNL_FAMILY_IPMR = 128 diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const index 230a71350..137f99bce 100644 --- a/sys/linux/socket_netlink_route_amd64.const +++ b/sys/linux/socket_netlink_route_amd64.const @@ -5,6 +5,37 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +FIB_RULE_FIND_SADDR = 65536 +FIB_RULE_IIF_DETACHED = 8 +FIB_RULE_INVERT = 2 +FIB_RULE_OIF_DETACHED = 16 +FIB_RULE_PERMANENT = 1 +FIB_RULE_UNRESOLVED = 4 +FRA_DPORT_RANGE = 24 +FRA_FLOW = 11 +FRA_FWMARK = 10 +FRA_FWMASK = 16 +FRA_GOTO = 4 +FRA_IIFNAME = 3 +FRA_IP_PROTO = 22 +FRA_L3MDEV = 19 +FRA_OIFNAME = 17 +FRA_PRIORITY = 6 +FRA_PROTOCOL = 21 +FRA_SPORT_RANGE = 23 +FRA_SUPPRESS_IFGROUP = 13 +FRA_SUPPRESS_PREFIXLEN = 14 +FRA_TABLE = 15 +FRA_UID_RANGE = 20 +FR_ACT_BLACKHOLE = 6 +FR_ACT_GOTO = 2 +FR_ACT_NOP = 3 +FR_ACT_PROHIBIT = 8 +FR_ACT_RES3 = 4 +FR_ACT_RES4 = 5 +FR_ACT_TO_TBL = 1 +FR_ACT_UNREACHABLE = 7 +FR_ACT_UNSPEC = 0 IFA_ADDRESS = 1 IFA_BROADCAST = 4 IFA_CACHEINFO = 6 @@ -167,6 +198,7 @@ RTM_DELADDR = 21 RTM_DELLINK = 17 RTM_DELNEIGH = 29 RTM_DELROUTE = 25 +RTM_DELRULE = 33 RTM_F_CLONED = 512 RTM_F_EQUALIZE = 1024 RTM_F_FIB_MATCH = 8192 @@ -181,11 +213,13 @@ RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 RTM_GETROUTE = 26 +RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 RTM_NEWROUTE = 24 +RTM_NEWRULE = 32 RTM_SETLINK = 19 RTM_SETNEIGHTBL = 67 RTNL_FAMILY_IPMR = 128 diff --git a/sys/linux/socket_netlink_route_arm.const b/sys/linux/socket_netlink_route_arm.const index 902cc5f6a..20152ba21 100644 --- a/sys/linux/socket_netlink_route_arm.const +++ b/sys/linux/socket_netlink_route_arm.const @@ -5,6 +5,37 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +FIB_RULE_FIND_SADDR = 65536 +FIB_RULE_IIF_DETACHED = 8 +FIB_RULE_INVERT = 2 +FIB_RULE_OIF_DETACHED = 16 +FIB_RULE_PERMANENT = 1 +FIB_RULE_UNRESOLVED = 4 +FRA_DPORT_RANGE = 24 +FRA_FLOW = 11 +FRA_FWMARK = 10 +FRA_FWMASK = 16 +FRA_GOTO = 4 +FRA_IIFNAME = 3 +FRA_IP_PROTO = 22 +FRA_L3MDEV = 19 +FRA_OIFNAME = 17 +FRA_PRIORITY = 6 +FRA_PROTOCOL = 21 +FRA_SPORT_RANGE = 23 +FRA_SUPPRESS_IFGROUP = 13 +FRA_SUPPRESS_PREFIXLEN = 14 +FRA_TABLE = 15 +FRA_UID_RANGE = 20 +FR_ACT_BLACKHOLE = 6 +FR_ACT_GOTO = 2 +FR_ACT_NOP = 3 +FR_ACT_PROHIBIT = 8 +FR_ACT_RES3 = 4 +FR_ACT_RES4 = 5 +FR_ACT_TO_TBL = 1 +FR_ACT_UNREACHABLE = 7 +FR_ACT_UNSPEC = 0 IFA_ADDRESS = 1 IFA_BROADCAST = 4 IFA_CACHEINFO = 6 @@ -167,6 +198,7 @@ RTM_DELADDR = 21 RTM_DELLINK = 17 RTM_DELNEIGH = 29 RTM_DELROUTE = 25 +RTM_DELRULE = 33 RTM_F_CLONED = 512 RTM_F_EQUALIZE = 1024 RTM_F_FIB_MATCH = 8192 @@ -181,11 +213,13 @@ RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 RTM_GETROUTE = 26 +RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 RTM_NEWROUTE = 24 +RTM_NEWRULE = 32 RTM_SETLINK = 19 RTM_SETNEIGHTBL = 67 RTNL_FAMILY_IPMR = 128 diff --git a/sys/linux/socket_netlink_route_arm64.const b/sys/linux/socket_netlink_route_arm64.const index 474897065..8868cf81a 100644 --- a/sys/linux/socket_netlink_route_arm64.const +++ b/sys/linux/socket_netlink_route_arm64.const @@ -5,6 +5,37 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +FIB_RULE_FIND_SADDR = 65536 +FIB_RULE_IIF_DETACHED = 8 +FIB_RULE_INVERT = 2 +FIB_RULE_OIF_DETACHED = 16 +FIB_RULE_PERMANENT = 1 +FIB_RULE_UNRESOLVED = 4 +FRA_DPORT_RANGE = 24 +FRA_FLOW = 11 +FRA_FWMARK = 10 +FRA_FWMASK = 16 +FRA_GOTO = 4 +FRA_IIFNAME = 3 +FRA_IP_PROTO = 22 +FRA_L3MDEV = 19 +FRA_OIFNAME = 17 +FRA_PRIORITY = 6 +FRA_PROTOCOL = 21 +FRA_SPORT_RANGE = 23 +FRA_SUPPRESS_IFGROUP = 13 +FRA_SUPPRESS_PREFIXLEN = 14 +FRA_TABLE = 15 +FRA_UID_RANGE = 20 +FR_ACT_BLACKHOLE = 6 +FR_ACT_GOTO = 2 +FR_ACT_NOP = 3 +FR_ACT_PROHIBIT = 8 +FR_ACT_RES3 = 4 +FR_ACT_RES4 = 5 +FR_ACT_TO_TBL = 1 +FR_ACT_UNREACHABLE = 7 +FR_ACT_UNSPEC = 0 IFA_ADDRESS = 1 IFA_BROADCAST = 4 IFA_CACHEINFO = 6 @@ -167,6 +198,7 @@ RTM_DELADDR = 21 RTM_DELLINK = 17 RTM_DELNEIGH = 29 RTM_DELROUTE = 25 +RTM_DELRULE = 33 RTM_F_CLONED = 512 RTM_F_EQUALIZE = 1024 RTM_F_FIB_MATCH = 8192 @@ -181,11 +213,13 @@ RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 RTM_GETROUTE = 26 +RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 RTM_NEWROUTE = 24 +RTM_NEWRULE = 32 RTM_SETLINK = 19 RTM_SETNEIGHTBL = 67 RTNL_FAMILY_IPMR = 128 diff --git a/sys/linux/socket_netlink_route_ppc64le.const b/sys/linux/socket_netlink_route_ppc64le.const index f19619821..e8608e822 100644 --- a/sys/linux/socket_netlink_route_ppc64le.const +++ b/sys/linux/socket_netlink_route_ppc64le.const @@ -5,6 +5,37 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +FIB_RULE_FIND_SADDR = 65536 +FIB_RULE_IIF_DETACHED = 8 +FIB_RULE_INVERT = 2 +FIB_RULE_OIF_DETACHED = 16 +FIB_RULE_PERMANENT = 1 +FIB_RULE_UNRESOLVED = 4 +FRA_DPORT_RANGE = 24 +FRA_FLOW = 11 +FRA_FWMARK = 10 +FRA_FWMASK = 16 +FRA_GOTO = 4 +FRA_IIFNAME = 3 +FRA_IP_PROTO = 22 +FRA_L3MDEV = 19 +FRA_OIFNAME = 17 +FRA_PRIORITY = 6 +FRA_PROTOCOL = 21 +FRA_SPORT_RANGE = 23 +FRA_SUPPRESS_IFGROUP = 13 +FRA_SUPPRESS_PREFIXLEN = 14 +FRA_TABLE = 15 +FRA_UID_RANGE = 20 +FR_ACT_BLACKHOLE = 6 +FR_ACT_GOTO = 2 +FR_ACT_NOP = 3 +FR_ACT_PROHIBIT = 8 +FR_ACT_RES3 = 4 +FR_ACT_RES4 = 5 +FR_ACT_TO_TBL = 1 +FR_ACT_UNREACHABLE = 7 +FR_ACT_UNSPEC = 0 IFA_ADDRESS = 1 IFA_BROADCAST = 4 IFA_CACHEINFO = 6 @@ -167,6 +198,7 @@ RTM_DELADDR = 21 RTM_DELLINK = 17 RTM_DELNEIGH = 29 RTM_DELROUTE = 25 +RTM_DELRULE = 33 RTM_F_CLONED = 512 RTM_F_EQUALIZE = 1024 RTM_F_FIB_MATCH = 8192 @@ -181,11 +213,13 @@ RTM_GETNEIGH = 30 RTM_GETNEIGHTBL = 66 RTM_GETNETCONF = 82 RTM_GETROUTE = 26 +RTM_GETRULE = 34 RTM_GETSTATS = 94 RTM_NEWADDR = 20 RTM_NEWLINK = 16 RTM_NEWNEIGH = 28 RTM_NEWROUTE = 24 +RTM_NEWRULE = 32 RTM_SETLINK = 19 RTM_SETNEIGHTBL = 67 RTNL_FAMILY_IPMR = 128 -- cgit mrf-deployment