From 33bb46947ad3f2bdc26a2d9ab7a0fe27d650522c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 13 Jan 2018 20:15:33 +0100 Subject: sys/linux: more AF_NETLINK/NETLINK_ROUTE descriptions --- sys/linux/386.go | 484 ++++++++++++++++++++++++++- sys/linux/amd64.go | 484 ++++++++++++++++++++++++++- sys/linux/arm.go | 484 ++++++++++++++++++++++++++- sys/linux/arm64.go | 484 ++++++++++++++++++++++++++- sys/linux/ppc64le.go | 484 ++++++++++++++++++++++++++- sys/linux/socket_netlink_route.txt | 123 ++++++- sys/linux/socket_netlink_route_386.const | 81 +++++ sys/linux/socket_netlink_route_amd64.const | 81 +++++ sys/linux/socket_netlink_route_arm.const | 81 +++++ sys/linux/socket_netlink_route_arm64.const | 81 +++++ sys/linux/socket_netlink_route_ppc64le.const | 81 +++++ 11 files changed, 2939 insertions(+), 9 deletions(-) (limited to 'sys/linux') diff --git a/sys/linux/386.go b/sys/linux/386.go index 8f634cd3f..2cf0f442b 100644 --- a/sys/linux/386.go +++ b/sys/linux/386.go @@ -831,6 +831,13 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, FldName: "NETCONFA_RP_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_PROXY_NEIGH, int16], int32]"}, FldName: "NETCONFA_PROXY_NEIGH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, FldName: "IGNORE_ROUTES_WITH_LINKDOWN"}, + }}}, {Key: StructKey{Name: "devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devname", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "generic", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "common", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"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", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, @@ -2014,6 +2021,40 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "ifs_ifsu", Dir: 2}, FldName: "ifs_ifsu"}, }}}, + {Key: StructKey{Name: "ifa_cacheinfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_cacheinfo", TypeSize: 16}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_prefered", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_valid", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cstamp", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tstamp", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "ifa_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_BROADCAST, int16], ipv4_addr]"}, FldName: "IFA_BROADCAST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, FldName: "IFA_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifa_ipv6_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv6_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "ifconf", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifconf", TypeSize: 8, ArgDir: 2}, Fields: []Type{ &StructType{Key: StructKey{Name: "ifconf_buf", Dir: 2}, FldName: "buf"}, &StructType{Key: StructKey{Name: "ifconf_req", Dir: 2}, FldName: "req"}, @@ -4034,6 +4075,12 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 4}}, BitSize: 8, Buf: "ctrl"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}}, }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 2}, + }}}, {Key: StructKey{Name: "netlink_msg_crypto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_crypto", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "alg"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "del"}, @@ -4056,6 +4103,22 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "setlink"}, &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_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_newaddr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_deladdr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_getaddr"}, + &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_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_newroute"}, + &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], rtgenmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, + &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], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, + &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"}, + &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"}, }}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -4102,6 +4165,24 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, 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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], 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: 17}, @@ -4111,6 +4192,52 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], 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: 62}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], 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: 18}, @@ -4120,6 +4247,74 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], 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: 58}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET6]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET]"}, 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_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, 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_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, 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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], 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: 16}, @@ -4129,6 +4324,24 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], 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}, @@ -4417,6 +4630,46 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, 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}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, 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[IFA_BROADCAST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_BROADCAST, 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: 4}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]", 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: 6}, + &StructType{Key: StructKey{Name: "ifa_cacheinfo"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, 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: 8}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LABEL, 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}, + &UnionType{Key: StructKey{Name: "devname"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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[IFLA_ADDRESS, int16], mac_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_ADDRESS, int16], mac_addr]", 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: 1}, @@ -4624,6 +4877,102 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 43}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_FORWARDING, 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: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, 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[NETCONFA_PROXY_NEIGH, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_PROXY_NEIGH, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_RP_FILTER, 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: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, 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}, + &UnionType{Key: StructKey{Name: "ipv4_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}, + &UnionType{Key: StructKey{Name: "nl_generic_attr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]", 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: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_GATEWAY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_GATEWAY, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MARK, 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[RTA_METRICS, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_METRICS, int16], array[int8]]", 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: 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{ + &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"}}}, + }, 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"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_PREFSRC, 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: 7}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_SRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]", TypeSize: 40}, 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}, @@ -4948,6 +5297,59 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rt_irtt", TypeSize: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[RTNL_FAMILY_IPMR]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 128}, + }}}, + {Key: StructKey{Name: "rtm_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtm_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "RTA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "RTA_SRC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, FldName: "RTA_IIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_GATEWAY, int16], int32]"}, FldName: "RTA_GATEWAY"}, + &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_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"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"}, + }}}, + {Key: StructKey{Name: "rtmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[AF_INET]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[RTNL_FAMILY_IPMR]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 128}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtnexthop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnexthop", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rtnh_len", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_flags", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_hops", TypeSize: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "rtnh_ifindex", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "rtnl_link_ifmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_link_ifmap", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_end", TypeSize: 8}}}, @@ -16585,6 +16987,23 @@ var consts_386 = []ConstValue{ {Name: "ICMP_TIMESTAMP", Value: 13}, {Name: "ICMP_TIMESTAMPREPLY", Value: 14}, {Name: "ICMP_TIME_EXCEEDED", Value: 11}, + {Name: "IFA_ADDRESS", Value: 1}, + {Name: "IFA_BROADCAST", Value: 4}, + {Name: "IFA_CACHEINFO", Value: 6}, + {Name: "IFA_FLAGS", Value: 8}, + {Name: "IFA_F_DADFAILED", Value: 8}, + {Name: "IFA_F_DEPRECATED", Value: 32}, + {Name: "IFA_F_HOMEADDRESS", Value: 16}, + {Name: "IFA_F_MANAGETEMPADDR", Value: 256}, + {Name: "IFA_F_MCAUTOJOIN", Value: 1024}, + {Name: "IFA_F_NODAD", Value: 2}, + {Name: "IFA_F_NOPREFIXROUTE", Value: 512}, + {Name: "IFA_F_OPTIMISTIC", Value: 4}, + {Name: "IFA_F_PERMANENT", Value: 128}, + {Name: "IFA_F_SECONDARY", Value: 1}, + {Name: "IFA_F_TENTATIVE", Value: 64}, + {Name: "IFA_LABEL", Value: 3}, + {Name: "IFA_LOCAL", Value: 2}, {Name: "IFF_ALLMULTI", Value: 512}, {Name: "IFF_ATTACH_QUEUE", Value: 512}, {Name: "IFF_AUTOMEDIA", Value: 16384}, @@ -17246,6 +17665,14 @@ var consts_386 = []ConstValue{ {Name: "LO_FLAGS_READ_ONLY", Value: 1}, {Name: "LO_KEY_SIZE", Value: 32}, {Name: "LO_NAME_SIZE", Value: 64}, + {Name: "LWTUNNEL_ENCAP_BPF", Value: 6}, + {Name: "LWTUNNEL_ENCAP_ILA", Value: 3}, + {Name: "LWTUNNEL_ENCAP_IP", Value: 2}, + {Name: "LWTUNNEL_ENCAP_IP6", Value: 4}, + {Name: "LWTUNNEL_ENCAP_MPLS", Value: 1}, + {Name: "LWTUNNEL_ENCAP_NONE"}, + {Name: "LWTUNNEL_ENCAP_SEG6", Value: 5}, + {Name: "LWTUNNEL_ENCAP_SEG6_LOCAL", Value: 7}, {Name: "MADV_DODUMP", Value: 17}, {Name: "MADV_DOFORK", Value: 11}, {Name: "MADV_DONTDUMP", Value: 16}, @@ -17396,6 +17823,11 @@ var consts_386 = []ConstValue{ {Name: "MS_SYNC", Value: 4}, {Name: "MS_SYNCHRONOUS", Value: 16}, {Name: "MS_UNBINDABLE", Value: 131072}, + {Name: "NETCONFA_FORWARDING", Value: 2}, + {Name: "NETCONFA_IFINDEX", Value: 1}, + {Name: "NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN", Value: 6}, + {Name: "NETCONFA_PROXY_NEIGH", Value: 5}, + {Name: "NETCONFA_RP_FILTER", Value: 3}, {Name: "NETLINK_ADD_MEMBERSHIP", Value: 1}, {Name: "NETLINK_AUDIT", Value: 9}, {Name: "NETLINK_BROADCAST_ERROR", Value: 4}, @@ -17798,6 +18230,19 @@ var consts_386 = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "RTA_DST", Value: 1}, + {Name: "RTA_ENCAP", Value: 22}, + {Name: "RTA_ENCAP_TYPE", Value: 21}, + {Name: "RTA_FLOW", Value: 11}, + {Name: "RTA_GATEWAY", Value: 5}, + {Name: "RTA_MARK", Value: 16}, + {Name: "RTA_METRICS", Value: 8}, + {Name: "RTA_MULTIPATH", Value: 9}, + {Name: "RTA_OIF", Value: 4}, + {Name: "RTA_PREFSRC", Value: 7}, + {Name: "RTA_PRIORITY", Value: 6}, + {Name: "RTA_SRC", Value: 2}, + {Name: "RTA_UID", Value: 25}, {Name: "RTF_ADDRCONF", Value: 262144}, {Name: "RTF_ALLONLINK", Value: 131072}, {Name: "RTF_ANYCAST", Value: 1048576}, @@ -17821,12 +18266,49 @@ var consts_386 = []ConstValue{ {Name: "RTF_ROUTEINFO", Value: 8388608}, {Name: "RTF_UP", Value: 1}, {Name: "RTF_WINDOW", Value: 128}, + {Name: "RTM_DELADDR", Value: 21}, {Name: "RTM_DELLINK", Value: 17}, + {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_F_CLONED", Value: 512}, + {Name: "RTM_F_EQUALIZE", Value: 1024}, + {Name: "RTM_F_FIB_MATCH", Value: 8192}, + {Name: "RTM_F_LOOKUP_TABLE", Value: 4096}, + {Name: "RTM_F_NOTIFY", Value: 256}, + {Name: "RTM_F_PREFIX", Value: 2048}, + {Name: "RTM_GETADDR", Value: 22}, + {Name: "RTM_GETANYCAST", Value: 62}, {Name: "RTM_GETLINK", Value: 18}, + {Name: "RTM_GETMULTICAST", Value: 58}, + {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, + {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, + {Name: "RTN_ANYCAST", Value: 4}, + {Name: "RTN_BLACKHOLE", Value: 6}, + {Name: "RTN_BROADCAST", Value: 3}, + {Name: "RTN_LOCAL", Value: 2}, + {Name: "RTN_MULTICAST", Value: 5}, + {Name: "RTN_NAT", Value: 10}, + {Name: "RTN_PROHIBIT", Value: 8}, + {Name: "RTN_THROW", Value: 9}, + {Name: "RTN_UNICAST", Value: 1}, + {Name: "RTN_UNREACHABLE", Value: 7}, + {Name: "RTN_UNSPEC"}, + {Name: "RTN_XRESOLVE", Value: 11}, + {Name: "RTPROT_BOOT", Value: 3}, + {Name: "RTPROT_KERNEL", Value: 2}, + {Name: "RTPROT_REDIRECT", Value: 1}, + {Name: "RTPROT_STATIC", Value: 4}, + {Name: "RTPROT_UNSPEC"}, + {Name: "RT_SCOPE_HOST", Value: 254}, + {Name: "RT_SCOPE_LINK", Value: 253}, + {Name: "RT_SCOPE_NOWHERE", Value: 255}, + {Name: "RT_SCOPE_SITE", Value: 200}, + {Name: "RT_SCOPE_UNIVERSE"}, {Name: "RUSAGE_CHILDREN", Value: 18446744073709551615}, {Name: "RUSAGE_SELF"}, {Name: "RUSAGE_THREAD", Value: 1}, @@ -19037,4 +19519,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "efe09037a1cf3abf6e61a02f0829ff47159a4f9d" +const revision_386 = "e9e7ca1ff914101245963b4987c8329061aaf765" diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index 691297721..854234758 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -841,6 +841,13 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, FldName: "NETCONFA_RP_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_PROXY_NEIGH, int16], int32]"}, FldName: "NETCONFA_PROXY_NEIGH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, FldName: "IGNORE_ROUTES_WITH_LINKDOWN"}, + }}}, {Key: StructKey{Name: "devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devname", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "generic", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "common", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"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", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, @@ -2038,6 +2045,40 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "ifs_ifsu", Dir: 2}, FldName: "ifs_ifsu"}, }}}, + {Key: StructKey{Name: "ifa_cacheinfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_cacheinfo", TypeSize: 16}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_prefered", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_valid", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cstamp", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tstamp", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "ifa_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_BROADCAST, int16], ipv4_addr]"}, FldName: "IFA_BROADCAST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, FldName: "IFA_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifa_ipv6_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv6_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "ifconf", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifconf", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &StructType{Key: StructKey{Name: "ifconf_buf", Dir: 2}, FldName: "buf"}, &StructType{Key: StructKey{Name: "ifconf_req", Dir: 2}, FldName: "req"}, @@ -4120,6 +4161,12 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 2}, + }}}, {Key: StructKey{Name: "netlink_msg_crypto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_crypto", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "alg"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "del"}, @@ -4142,6 +4189,22 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "setlink"}, &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_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_newaddr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_deladdr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_getaddr"}, + &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_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_newroute"}, + &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], rtgenmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, + &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], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, + &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"}, + &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"}, }}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -4188,6 +4251,24 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, 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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], 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: 17}, @@ -4197,6 +4278,52 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], 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: 62}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], 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: 18}, @@ -4206,6 +4333,74 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], 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: 58}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET6]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET]"}, 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_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, 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_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, 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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], 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: 16}, @@ -4215,6 +4410,24 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], 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}, @@ -4505,6 +4718,46 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, 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}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, 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[IFA_BROADCAST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_BROADCAST, 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: 4}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]", 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: 6}, + &StructType{Key: StructKey{Name: "ifa_cacheinfo"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, 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: 8}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LABEL, 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}, + &UnionType{Key: StructKey{Name: "devname"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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[IFLA_ADDRESS, int16], mac_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_ADDRESS, int16], mac_addr]", 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: 1}, @@ -4712,6 +4965,102 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 43}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_FORWARDING, 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: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, 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[NETCONFA_PROXY_NEIGH, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_PROXY_NEIGH, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_RP_FILTER, 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: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, 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}, + &UnionType{Key: StructKey{Name: "ipv4_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}, + &UnionType{Key: StructKey{Name: "nl_generic_attr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]", 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: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_GATEWAY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_GATEWAY, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MARK, 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[RTA_METRICS, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_METRICS, int16], array[int8]]", 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: 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{ + &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"}}}, + }, 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"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_PREFSRC, 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: 7}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_SRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]", TypeSize: 40}, 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}, @@ -5037,6 +5386,59 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rt_irtt", TypeSize: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[RTNL_FAMILY_IPMR]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 128}, + }}}, + {Key: StructKey{Name: "rtm_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtm_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "RTA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "RTA_SRC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, FldName: "RTA_IIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_GATEWAY, int16], int32]"}, FldName: "RTA_GATEWAY"}, + &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_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"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"}, + }}}, + {Key: StructKey{Name: "rtmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[AF_INET]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[RTNL_FAMILY_IPMR]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 128}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtnexthop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnexthop", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rtnh_len", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_flags", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_hops", TypeSize: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "rtnh_ifindex", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "rtnl_link_ifmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_link_ifmap", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_end", TypeSize: 8}}}, @@ -17038,6 +17440,23 @@ var consts_amd64 = []ConstValue{ {Name: "ICMP_TIMESTAMP", Value: 13}, {Name: "ICMP_TIMESTAMPREPLY", Value: 14}, {Name: "ICMP_TIME_EXCEEDED", Value: 11}, + {Name: "IFA_ADDRESS", Value: 1}, + {Name: "IFA_BROADCAST", Value: 4}, + {Name: "IFA_CACHEINFO", Value: 6}, + {Name: "IFA_FLAGS", Value: 8}, + {Name: "IFA_F_DADFAILED", Value: 8}, + {Name: "IFA_F_DEPRECATED", Value: 32}, + {Name: "IFA_F_HOMEADDRESS", Value: 16}, + {Name: "IFA_F_MANAGETEMPADDR", Value: 256}, + {Name: "IFA_F_MCAUTOJOIN", Value: 1024}, + {Name: "IFA_F_NODAD", Value: 2}, + {Name: "IFA_F_NOPREFIXROUTE", Value: 512}, + {Name: "IFA_F_OPTIMISTIC", Value: 4}, + {Name: "IFA_F_PERMANENT", Value: 128}, + {Name: "IFA_F_SECONDARY", Value: 1}, + {Name: "IFA_F_TENTATIVE", Value: 64}, + {Name: "IFA_LABEL", Value: 3}, + {Name: "IFA_LOCAL", Value: 2}, {Name: "IFF_ALLMULTI", Value: 512}, {Name: "IFF_ATTACH_QUEUE", Value: 512}, {Name: "IFF_AUTOMEDIA", Value: 16384}, @@ -17699,6 +18118,14 @@ var consts_amd64 = []ConstValue{ {Name: "LO_FLAGS_READ_ONLY", Value: 1}, {Name: "LO_KEY_SIZE", Value: 32}, {Name: "LO_NAME_SIZE", Value: 64}, + {Name: "LWTUNNEL_ENCAP_BPF", Value: 6}, + {Name: "LWTUNNEL_ENCAP_ILA", Value: 3}, + {Name: "LWTUNNEL_ENCAP_IP", Value: 2}, + {Name: "LWTUNNEL_ENCAP_IP6", Value: 4}, + {Name: "LWTUNNEL_ENCAP_MPLS", Value: 1}, + {Name: "LWTUNNEL_ENCAP_NONE"}, + {Name: "LWTUNNEL_ENCAP_SEG6", Value: 5}, + {Name: "LWTUNNEL_ENCAP_SEG6_LOCAL", Value: 7}, {Name: "MADV_DODUMP", Value: 17}, {Name: "MADV_DOFORK", Value: 11}, {Name: "MADV_DONTDUMP", Value: 16}, @@ -17849,6 +18276,11 @@ var consts_amd64 = []ConstValue{ {Name: "MS_SYNC", Value: 4}, {Name: "MS_SYNCHRONOUS", Value: 16}, {Name: "MS_UNBINDABLE", Value: 131072}, + {Name: "NETCONFA_FORWARDING", Value: 2}, + {Name: "NETCONFA_IFINDEX", Value: 1}, + {Name: "NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN", Value: 6}, + {Name: "NETCONFA_PROXY_NEIGH", Value: 5}, + {Name: "NETCONFA_RP_FILTER", Value: 3}, {Name: "NETLINK_ADD_MEMBERSHIP", Value: 1}, {Name: "NETLINK_AUDIT", Value: 9}, {Name: "NETLINK_BROADCAST_ERROR", Value: 4}, @@ -18251,6 +18683,19 @@ var consts_amd64 = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "RTA_DST", Value: 1}, + {Name: "RTA_ENCAP", Value: 22}, + {Name: "RTA_ENCAP_TYPE", Value: 21}, + {Name: "RTA_FLOW", Value: 11}, + {Name: "RTA_GATEWAY", Value: 5}, + {Name: "RTA_MARK", Value: 16}, + {Name: "RTA_METRICS", Value: 8}, + {Name: "RTA_MULTIPATH", Value: 9}, + {Name: "RTA_OIF", Value: 4}, + {Name: "RTA_PREFSRC", Value: 7}, + {Name: "RTA_PRIORITY", Value: 6}, + {Name: "RTA_SRC", Value: 2}, + {Name: "RTA_UID", Value: 25}, {Name: "RTF_ADDRCONF", Value: 262144}, {Name: "RTF_ALLONLINK", Value: 131072}, {Name: "RTF_ANYCAST", Value: 1048576}, @@ -18274,12 +18719,49 @@ var consts_amd64 = []ConstValue{ {Name: "RTF_ROUTEINFO", Value: 8388608}, {Name: "RTF_UP", Value: 1}, {Name: "RTF_WINDOW", Value: 128}, + {Name: "RTM_DELADDR", Value: 21}, {Name: "RTM_DELLINK", Value: 17}, + {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_F_CLONED", Value: 512}, + {Name: "RTM_F_EQUALIZE", Value: 1024}, + {Name: "RTM_F_FIB_MATCH", Value: 8192}, + {Name: "RTM_F_LOOKUP_TABLE", Value: 4096}, + {Name: "RTM_F_NOTIFY", Value: 256}, + {Name: "RTM_F_PREFIX", Value: 2048}, + {Name: "RTM_GETADDR", Value: 22}, + {Name: "RTM_GETANYCAST", Value: 62}, {Name: "RTM_GETLINK", Value: 18}, + {Name: "RTM_GETMULTICAST", Value: 58}, + {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, + {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, + {Name: "RTN_ANYCAST", Value: 4}, + {Name: "RTN_BLACKHOLE", Value: 6}, + {Name: "RTN_BROADCAST", Value: 3}, + {Name: "RTN_LOCAL", Value: 2}, + {Name: "RTN_MULTICAST", Value: 5}, + {Name: "RTN_NAT", Value: 10}, + {Name: "RTN_PROHIBIT", Value: 8}, + {Name: "RTN_THROW", Value: 9}, + {Name: "RTN_UNICAST", Value: 1}, + {Name: "RTN_UNREACHABLE", Value: 7}, + {Name: "RTN_UNSPEC"}, + {Name: "RTN_XRESOLVE", Value: 11}, + {Name: "RTPROT_BOOT", Value: 3}, + {Name: "RTPROT_KERNEL", Value: 2}, + {Name: "RTPROT_REDIRECT", Value: 1}, + {Name: "RTPROT_STATIC", Value: 4}, + {Name: "RTPROT_UNSPEC"}, + {Name: "RT_SCOPE_HOST", Value: 254}, + {Name: "RT_SCOPE_LINK", Value: 253}, + {Name: "RT_SCOPE_NOWHERE", Value: 255}, + {Name: "RT_SCOPE_SITE", Value: 200}, + {Name: "RT_SCOPE_UNIVERSE"}, {Name: "RUSAGE_CHILDREN", Value: 18446744073709551615}, {Name: "RUSAGE_SELF"}, {Name: "RUSAGE_THREAD", Value: 1}, @@ -19515,4 +19997,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "b757c62af017c49e790d2a66f8a3b4447107dc2c" +const revision_amd64 = "0a204a91b3ce2b4c96544cd9cf5a895fe495e216" diff --git a/sys/linux/arm.go b/sys/linux/arm.go index 1046ef3cc..0ef5d7b58 100644 --- a/sys/linux/arm.go +++ b/sys/linux/arm.go @@ -836,6 +836,13 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, FldName: "NETCONFA_RP_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_PROXY_NEIGH, int16], int32]"}, FldName: "NETCONFA_PROXY_NEIGH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, FldName: "IGNORE_ROUTES_WITH_LINKDOWN"}, + }}}, {Key: StructKey{Name: "devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devname", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "generic", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "common", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"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", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, @@ -2019,6 +2026,40 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "ifs_ifsu", Dir: 2}, FldName: "ifs_ifsu"}, }}}, + {Key: StructKey{Name: "ifa_cacheinfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_cacheinfo", TypeSize: 16}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_prefered", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_valid", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cstamp", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tstamp", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "ifa_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_BROADCAST, int16], ipv4_addr]"}, FldName: "IFA_BROADCAST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, FldName: "IFA_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifa_ipv6_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv6_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "ifconf", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifconf", TypeSize: 8, ArgDir: 2}, Fields: []Type{ &StructType{Key: StructKey{Name: "ifconf_buf", Dir: 2}, FldName: "buf"}, &StructType{Key: StructKey{Name: "ifconf_req", Dir: 2}, FldName: "req"}, @@ -3877,6 +3918,12 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 2}, + }}}, {Key: StructKey{Name: "netlink_msg_crypto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_crypto", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "alg"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "del"}, @@ -3899,6 +3946,22 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "setlink"}, &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_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_newaddr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_deladdr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_getaddr"}, + &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_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_newroute"}, + &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], rtgenmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, + &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], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, + &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"}, + &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"}, }}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -3945,6 +4008,24 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, 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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], 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: 17}, @@ -3954,6 +4035,52 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], 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: 62}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], 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: 18}, @@ -3963,6 +4090,74 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], 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: 58}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET6]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET]"}, 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_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, 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_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, 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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], 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: 16}, @@ -3972,6 +4167,24 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], 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}, @@ -4260,6 +4473,46 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, 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}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, 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[IFA_BROADCAST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_BROADCAST, 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: 4}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]", 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: 6}, + &StructType{Key: StructKey{Name: "ifa_cacheinfo"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, 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: 8}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LABEL, 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}, + &UnionType{Key: StructKey{Name: "devname"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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[IFLA_ADDRESS, int16], mac_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_ADDRESS, int16], mac_addr]", 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: 1}, @@ -4467,6 +4720,102 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 43}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_FORWARDING, 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: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, 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[NETCONFA_PROXY_NEIGH, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_PROXY_NEIGH, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_RP_FILTER, 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: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, 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}, + &UnionType{Key: StructKey{Name: "ipv4_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}, + &UnionType{Key: StructKey{Name: "nl_generic_attr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]", 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: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_GATEWAY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_GATEWAY, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MARK, 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[RTA_METRICS, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_METRICS, int16], array[int8]]", 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: 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{ + &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"}}}, + }, 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"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_PREFSRC, 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: 7}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_SRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]", TypeSize: 40}, 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}, @@ -4791,6 +5140,59 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rt_irtt", TypeSize: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[RTNL_FAMILY_IPMR]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 128}, + }}}, + {Key: StructKey{Name: "rtm_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtm_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "RTA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "RTA_SRC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, FldName: "RTA_IIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_GATEWAY, int16], int32]"}, FldName: "RTA_GATEWAY"}, + &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_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"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"}, + }}}, + {Key: StructKey{Name: "rtmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[AF_INET]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[RTNL_FAMILY_IPMR]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 128}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtnexthop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnexthop", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rtnh_len", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_flags", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_hops", TypeSize: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "rtnh_ifindex", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "rtnl_link_ifmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_link_ifmap", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_end", TypeSize: 8}}}, @@ -16502,6 +16904,23 @@ var consts_arm = []ConstValue{ {Name: "ICMP_TIMESTAMP", Value: 13}, {Name: "ICMP_TIMESTAMPREPLY", Value: 14}, {Name: "ICMP_TIME_EXCEEDED", Value: 11}, + {Name: "IFA_ADDRESS", Value: 1}, + {Name: "IFA_BROADCAST", Value: 4}, + {Name: "IFA_CACHEINFO", Value: 6}, + {Name: "IFA_FLAGS", Value: 8}, + {Name: "IFA_F_DADFAILED", Value: 8}, + {Name: "IFA_F_DEPRECATED", Value: 32}, + {Name: "IFA_F_HOMEADDRESS", Value: 16}, + {Name: "IFA_F_MANAGETEMPADDR", Value: 256}, + {Name: "IFA_F_MCAUTOJOIN", Value: 1024}, + {Name: "IFA_F_NODAD", Value: 2}, + {Name: "IFA_F_NOPREFIXROUTE", Value: 512}, + {Name: "IFA_F_OPTIMISTIC", Value: 4}, + {Name: "IFA_F_PERMANENT", Value: 128}, + {Name: "IFA_F_SECONDARY", Value: 1}, + {Name: "IFA_F_TENTATIVE", Value: 64}, + {Name: "IFA_LABEL", Value: 3}, + {Name: "IFA_LOCAL", Value: 2}, {Name: "IFF_ALLMULTI", Value: 512}, {Name: "IFF_ATTACH_QUEUE", Value: 512}, {Name: "IFF_AUTOMEDIA", Value: 16384}, @@ -17130,6 +17549,14 @@ var consts_arm = []ConstValue{ {Name: "LO_FLAGS_READ_ONLY", Value: 1}, {Name: "LO_KEY_SIZE", Value: 32}, {Name: "LO_NAME_SIZE", Value: 64}, + {Name: "LWTUNNEL_ENCAP_BPF", Value: 6}, + {Name: "LWTUNNEL_ENCAP_ILA", Value: 3}, + {Name: "LWTUNNEL_ENCAP_IP", Value: 2}, + {Name: "LWTUNNEL_ENCAP_IP6", Value: 4}, + {Name: "LWTUNNEL_ENCAP_MPLS", Value: 1}, + {Name: "LWTUNNEL_ENCAP_NONE"}, + {Name: "LWTUNNEL_ENCAP_SEG6", Value: 5}, + {Name: "LWTUNNEL_ENCAP_SEG6_LOCAL", Value: 7}, {Name: "MADV_DODUMP", Value: 17}, {Name: "MADV_DOFORK", Value: 11}, {Name: "MADV_DONTDUMP", Value: 16}, @@ -17267,6 +17694,11 @@ var consts_arm = []ConstValue{ {Name: "MS_SYNC", Value: 4}, {Name: "MS_SYNCHRONOUS", Value: 16}, {Name: "MS_UNBINDABLE", Value: 131072}, + {Name: "NETCONFA_FORWARDING", Value: 2}, + {Name: "NETCONFA_IFINDEX", Value: 1}, + {Name: "NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN", Value: 6}, + {Name: "NETCONFA_PROXY_NEIGH", Value: 5}, + {Name: "NETCONFA_RP_FILTER", Value: 3}, {Name: "NETLINK_ADD_MEMBERSHIP", Value: 1}, {Name: "NETLINK_AUDIT", Value: 9}, {Name: "NETLINK_BROADCAST_ERROR", Value: 4}, @@ -17667,6 +18099,19 @@ var consts_arm = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "RTA_DST", Value: 1}, + {Name: "RTA_ENCAP", Value: 22}, + {Name: "RTA_ENCAP_TYPE", Value: 21}, + {Name: "RTA_FLOW", Value: 11}, + {Name: "RTA_GATEWAY", Value: 5}, + {Name: "RTA_MARK", Value: 16}, + {Name: "RTA_METRICS", Value: 8}, + {Name: "RTA_MULTIPATH", Value: 9}, + {Name: "RTA_OIF", Value: 4}, + {Name: "RTA_PREFSRC", Value: 7}, + {Name: "RTA_PRIORITY", Value: 6}, + {Name: "RTA_SRC", Value: 2}, + {Name: "RTA_UID", Value: 25}, {Name: "RTF_ADDRCONF", Value: 262144}, {Name: "RTF_ALLONLINK", Value: 131072}, {Name: "RTF_ANYCAST", Value: 1048576}, @@ -17690,12 +18135,49 @@ var consts_arm = []ConstValue{ {Name: "RTF_ROUTEINFO", Value: 8388608}, {Name: "RTF_UP", Value: 1}, {Name: "RTF_WINDOW", Value: 128}, + {Name: "RTM_DELADDR", Value: 21}, {Name: "RTM_DELLINK", Value: 17}, + {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_F_CLONED", Value: 512}, + {Name: "RTM_F_EQUALIZE", Value: 1024}, + {Name: "RTM_F_FIB_MATCH", Value: 8192}, + {Name: "RTM_F_LOOKUP_TABLE", Value: 4096}, + {Name: "RTM_F_NOTIFY", Value: 256}, + {Name: "RTM_F_PREFIX", Value: 2048}, + {Name: "RTM_GETADDR", Value: 22}, + {Name: "RTM_GETANYCAST", Value: 62}, {Name: "RTM_GETLINK", Value: 18}, + {Name: "RTM_GETMULTICAST", Value: 58}, + {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, + {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, + {Name: "RTN_ANYCAST", Value: 4}, + {Name: "RTN_BLACKHOLE", Value: 6}, + {Name: "RTN_BROADCAST", Value: 3}, + {Name: "RTN_LOCAL", Value: 2}, + {Name: "RTN_MULTICAST", Value: 5}, + {Name: "RTN_NAT", Value: 10}, + {Name: "RTN_PROHIBIT", Value: 8}, + {Name: "RTN_THROW", Value: 9}, + {Name: "RTN_UNICAST", Value: 1}, + {Name: "RTN_UNREACHABLE", Value: 7}, + {Name: "RTN_UNSPEC"}, + {Name: "RTN_XRESOLVE", Value: 11}, + {Name: "RTPROT_BOOT", Value: 3}, + {Name: "RTPROT_KERNEL", Value: 2}, + {Name: "RTPROT_REDIRECT", Value: 1}, + {Name: "RTPROT_STATIC", Value: 4}, + {Name: "RTPROT_UNSPEC"}, + {Name: "RT_SCOPE_HOST", Value: 254}, + {Name: "RT_SCOPE_LINK", Value: 253}, + {Name: "RT_SCOPE_NOWHERE", Value: 255}, + {Name: "RT_SCOPE_SITE", Value: 200}, + {Name: "RT_SCOPE_UNIVERSE"}, {Name: "RUSAGE_CHILDREN", Value: 18446744073709551615}, {Name: "RUSAGE_SELF"}, {Name: "RUSAGE_THREAD", Value: 1}, @@ -18905,4 +19387,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "b6241220513f02c97b3b6adc527e84a34215cc7a" +const revision_arm = "c8c8c88f5d5aa6f10f82a6b1ac52983404664571" diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go index a0d24b246..ba21f3dac 100644 --- a/sys/linux/arm64.go +++ b/sys/linux/arm64.go @@ -841,6 +841,13 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, FldName: "NETCONFA_RP_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_PROXY_NEIGH, int16], int32]"}, FldName: "NETCONFA_PROXY_NEIGH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, FldName: "IGNORE_ROUTES_WITH_LINKDOWN"}, + }}}, {Key: StructKey{Name: "devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devname", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "generic", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "common", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"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", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, @@ -2038,6 +2045,40 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "ifs_ifsu", Dir: 2}, FldName: "ifs_ifsu"}, }}}, + {Key: StructKey{Name: "ifa_cacheinfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_cacheinfo", TypeSize: 16}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_prefered", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_valid", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cstamp", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tstamp", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "ifa_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_BROADCAST, int16], ipv4_addr]"}, FldName: "IFA_BROADCAST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, FldName: "IFA_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifa_ipv6_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv6_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "ifconf", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifconf", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &StructType{Key: StructKey{Name: "ifconf_buf", Dir: 2}, FldName: "buf"}, &StructType{Key: StructKey{Name: "ifconf_req", Dir: 2}, FldName: "req"}, @@ -3925,6 +3966,12 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 2}, + }}}, {Key: StructKey{Name: "netlink_msg_crypto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_crypto", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "alg"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "del"}, @@ -3947,6 +3994,22 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "setlink"}, &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_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_newaddr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_deladdr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_getaddr"}, + &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_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_newroute"}, + &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], rtgenmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, + &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], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, + &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"}, + &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"}, }}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -3993,6 +4056,24 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, 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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], 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: 17}, @@ -4002,6 +4083,52 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], 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: 62}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], 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: 18}, @@ -4011,6 +4138,74 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], 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: 58}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET6]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET]"}, 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_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, 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_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, 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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], 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: 16}, @@ -4020,6 +4215,24 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], 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}, @@ -4310,6 +4523,46 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, 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}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, 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[IFA_BROADCAST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_BROADCAST, 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: 4}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]", 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: 6}, + &StructType{Key: StructKey{Name: "ifa_cacheinfo"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, 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: 8}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LABEL, 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}, + &UnionType{Key: StructKey{Name: "devname"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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[IFLA_ADDRESS, int16], mac_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_ADDRESS, int16], mac_addr]", 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: 1}, @@ -4517,6 +4770,102 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 43}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_FORWARDING, 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: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, 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[NETCONFA_PROXY_NEIGH, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_PROXY_NEIGH, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_RP_FILTER, 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: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, 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}, + &UnionType{Key: StructKey{Name: "ipv4_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}, + &UnionType{Key: StructKey{Name: "nl_generic_attr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]", 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: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_GATEWAY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_GATEWAY, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MARK, 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[RTA_METRICS, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_METRICS, int16], array[int8]]", 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: 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{ + &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"}}}, + }, 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"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_PREFSRC, 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: 7}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_SRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]", TypeSize: 40}, 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}, @@ -4842,6 +5191,59 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rt_irtt", TypeSize: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[RTNL_FAMILY_IPMR]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 128}, + }}}, + {Key: StructKey{Name: "rtm_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtm_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "RTA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "RTA_SRC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, FldName: "RTA_IIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_GATEWAY, int16], int32]"}, FldName: "RTA_GATEWAY"}, + &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_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"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"}, + }}}, + {Key: StructKey{Name: "rtmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[AF_INET]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[RTNL_FAMILY_IPMR]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 128}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtnexthop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnexthop", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rtnh_len", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_flags", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_hops", TypeSize: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "rtnh_ifindex", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "rtnl_link_ifmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_link_ifmap", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_end", TypeSize: 8}}}, @@ -16504,6 +16906,23 @@ var consts_arm64 = []ConstValue{ {Name: "ICMP_TIMESTAMP", Value: 13}, {Name: "ICMP_TIMESTAMPREPLY", Value: 14}, {Name: "ICMP_TIME_EXCEEDED", Value: 11}, + {Name: "IFA_ADDRESS", Value: 1}, + {Name: "IFA_BROADCAST", Value: 4}, + {Name: "IFA_CACHEINFO", Value: 6}, + {Name: "IFA_FLAGS", Value: 8}, + {Name: "IFA_F_DADFAILED", Value: 8}, + {Name: "IFA_F_DEPRECATED", Value: 32}, + {Name: "IFA_F_HOMEADDRESS", Value: 16}, + {Name: "IFA_F_MANAGETEMPADDR", Value: 256}, + {Name: "IFA_F_MCAUTOJOIN", Value: 1024}, + {Name: "IFA_F_NODAD", Value: 2}, + {Name: "IFA_F_NOPREFIXROUTE", Value: 512}, + {Name: "IFA_F_OPTIMISTIC", Value: 4}, + {Name: "IFA_F_PERMANENT", Value: 128}, + {Name: "IFA_F_SECONDARY", Value: 1}, + {Name: "IFA_F_TENTATIVE", Value: 64}, + {Name: "IFA_LABEL", Value: 3}, + {Name: "IFA_LOCAL", Value: 2}, {Name: "IFF_ALLMULTI", Value: 512}, {Name: "IFF_ATTACH_QUEUE", Value: 512}, {Name: "IFF_AUTOMEDIA", Value: 16384}, @@ -17141,6 +17560,14 @@ var consts_arm64 = []ConstValue{ {Name: "LO_FLAGS_READ_ONLY", Value: 1}, {Name: "LO_KEY_SIZE", Value: 32}, {Name: "LO_NAME_SIZE", Value: 64}, + {Name: "LWTUNNEL_ENCAP_BPF", Value: 6}, + {Name: "LWTUNNEL_ENCAP_ILA", Value: 3}, + {Name: "LWTUNNEL_ENCAP_IP", Value: 2}, + {Name: "LWTUNNEL_ENCAP_IP6", Value: 4}, + {Name: "LWTUNNEL_ENCAP_MPLS", Value: 1}, + {Name: "LWTUNNEL_ENCAP_NONE"}, + {Name: "LWTUNNEL_ENCAP_SEG6", Value: 5}, + {Name: "LWTUNNEL_ENCAP_SEG6_LOCAL", Value: 7}, {Name: "MADV_DODUMP", Value: 17}, {Name: "MADV_DOFORK", Value: 11}, {Name: "MADV_DONTDUMP", Value: 16}, @@ -17278,6 +17705,11 @@ var consts_arm64 = []ConstValue{ {Name: "MS_SYNC", Value: 4}, {Name: "MS_SYNCHRONOUS", Value: 16}, {Name: "MS_UNBINDABLE", Value: 131072}, + {Name: "NETCONFA_FORWARDING", Value: 2}, + {Name: "NETCONFA_IFINDEX", Value: 1}, + {Name: "NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN", Value: 6}, + {Name: "NETCONFA_PROXY_NEIGH", Value: 5}, + {Name: "NETCONFA_RP_FILTER", Value: 3}, {Name: "NETLINK_ADD_MEMBERSHIP", Value: 1}, {Name: "NETLINK_AUDIT", Value: 9}, {Name: "NETLINK_BROADCAST_ERROR", Value: 4}, @@ -17674,6 +18106,19 @@ var consts_arm64 = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "RTA_DST", Value: 1}, + {Name: "RTA_ENCAP", Value: 22}, + {Name: "RTA_ENCAP_TYPE", Value: 21}, + {Name: "RTA_FLOW", Value: 11}, + {Name: "RTA_GATEWAY", Value: 5}, + {Name: "RTA_MARK", Value: 16}, + {Name: "RTA_METRICS", Value: 8}, + {Name: "RTA_MULTIPATH", Value: 9}, + {Name: "RTA_OIF", Value: 4}, + {Name: "RTA_PREFSRC", Value: 7}, + {Name: "RTA_PRIORITY", Value: 6}, + {Name: "RTA_SRC", Value: 2}, + {Name: "RTA_UID", Value: 25}, {Name: "RTF_ADDRCONF", Value: 262144}, {Name: "RTF_ALLONLINK", Value: 131072}, {Name: "RTF_ANYCAST", Value: 1048576}, @@ -17697,12 +18142,49 @@ var consts_arm64 = []ConstValue{ {Name: "RTF_ROUTEINFO", Value: 8388608}, {Name: "RTF_UP", Value: 1}, {Name: "RTF_WINDOW", Value: 128}, + {Name: "RTM_DELADDR", Value: 21}, {Name: "RTM_DELLINK", Value: 17}, + {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_F_CLONED", Value: 512}, + {Name: "RTM_F_EQUALIZE", Value: 1024}, + {Name: "RTM_F_FIB_MATCH", Value: 8192}, + {Name: "RTM_F_LOOKUP_TABLE", Value: 4096}, + {Name: "RTM_F_NOTIFY", Value: 256}, + {Name: "RTM_F_PREFIX", Value: 2048}, + {Name: "RTM_GETADDR", Value: 22}, + {Name: "RTM_GETANYCAST", Value: 62}, {Name: "RTM_GETLINK", Value: 18}, + {Name: "RTM_GETMULTICAST", Value: 58}, + {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, + {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, + {Name: "RTN_ANYCAST", Value: 4}, + {Name: "RTN_BLACKHOLE", Value: 6}, + {Name: "RTN_BROADCAST", Value: 3}, + {Name: "RTN_LOCAL", Value: 2}, + {Name: "RTN_MULTICAST", Value: 5}, + {Name: "RTN_NAT", Value: 10}, + {Name: "RTN_PROHIBIT", Value: 8}, + {Name: "RTN_THROW", Value: 9}, + {Name: "RTN_UNICAST", Value: 1}, + {Name: "RTN_UNREACHABLE", Value: 7}, + {Name: "RTN_UNSPEC"}, + {Name: "RTN_XRESOLVE", Value: 11}, + {Name: "RTPROT_BOOT", Value: 3}, + {Name: "RTPROT_KERNEL", Value: 2}, + {Name: "RTPROT_REDIRECT", Value: 1}, + {Name: "RTPROT_STATIC", Value: 4}, + {Name: "RTPROT_UNSPEC"}, + {Name: "RT_SCOPE_HOST", Value: 254}, + {Name: "RT_SCOPE_LINK", Value: 253}, + {Name: "RT_SCOPE_NOWHERE", Value: 255}, + {Name: "RT_SCOPE_SITE", Value: 200}, + {Name: "RT_SCOPE_UNIVERSE"}, {Name: "RUSAGE_CHILDREN", Value: 18446744073709551615}, {Name: "RUSAGE_SELF"}, {Name: "RUSAGE_THREAD", Value: 1}, @@ -18897,4 +19379,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "6bde38fb51e21d6c20868833fce85b342c0ee228" +const revision_arm64 = "f259ed759dc3399eba55453ea2d2a2b3a81e4e93" diff --git a/sys/linux/ppc64le.go b/sys/linux/ppc64le.go index 171b24d1b..d91199706 100644 --- a/sys/linux/ppc64le.go +++ b/sys/linux/ppc64le.go @@ -834,6 +834,13 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_dccp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, FldName: "NETCONFA_RP_FILTER"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_PROXY_NEIGH, int16], int32]"}, FldName: "NETCONFA_PROXY_NEIGH"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, FldName: "IGNORE_ROUTES_WITH_LINKDOWN"}, + }}}, {Key: StructKey{Name: "devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devname", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "generic", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "common", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"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", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00"}}, @@ -2031,6 +2038,40 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 2}}}, &UnionType{Key: StructKey{Name: "ifs_ifsu", Dir: 2}, FldName: "ifs_ifsu"}, }}}, + {Key: StructKey{Name: "ifa_cacheinfo"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_cacheinfo", TypeSize: 16}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_prefered", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ifa_valid", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cstamp", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tstamp", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "ifa_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv4_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_BROADCAST, int16], ipv4_addr]"}, FldName: "IFA_BROADCAST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, FldName: "IFA_LABEL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifa_ipv6_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifa_ipv6_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, FldName: "IFA_ADDRESS"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, FldName: "IFA_LOCAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, FldName: "IFA_CACHEINFO"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, FldName: "IFA_FLAGS"}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "ifconf", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifconf", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &StructType{Key: StructKey{Name: "ifconf_buf", Dir: 2}, FldName: "buf"}, &StructType{Key: StructKey{Name: "ifconf_req", Dir: 2}, FldName: "req"}, @@ -3879,6 +3920,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "netconfmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netconfmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ncm_family", TypeSize: 1}}, Val: 2}, + }}}, {Key: StructKey{Name: "netlink_msg_crypto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_crypto", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "alg"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "del"}, @@ -3901,6 +3948,22 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "setlink"}, &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_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_newaddr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_deladdr"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, FldName: "ipv4_getaddr"}, + &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_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, FldName: "ipv4_newroute"}, + &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], rtgenmsg[AF_INET], void]"}, FldName: "ipv4_getroute"}, + &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], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, FldName: "ipmr_getroute"}, + &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"}, + &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"}, }}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_DELALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -3947,6 +4010,24 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, 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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 21}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_UNSPEC], 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: 17}, @@ -3956,6 +4037,52 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 25}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETANYCAST, int16], rtgenmsg[AF_INET6], 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: 62}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], 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: 18}, @@ -3965,6 +4092,74 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETMULTICAST, int16], rtgenmsg[AF_INET6], 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: 58}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, 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_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET6], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET6]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETNETCONF, int16], netconfmsg[AF_INET], devconf_ip_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: 82}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "netconfmsg[AF_INET]"}, FldName: "payload"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "devconf_ip_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[AF_INET], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[AF_INET]"}, 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_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETROUTE, int16], rtgenmsg[RTNL_FAMILY_IPMR], 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: 26}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, 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_NEWADDR, int16], ifaddrmsg[AF_INET6], ifa_ipv6_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, 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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET6]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv6_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWADDR, int16], ifaddrmsg[AF_INET], ifa_ipv4_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: 20}, + &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}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], 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: 16}, @@ -3974,6 +4169,24 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifinfomsg[AF_UNSPEC]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[AF_INET], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &StructType{Key: StructKey{Name: "rtmsg[AF_INET]"}, 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_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWROUTE, int16], rtmsg[RTNL_FAMILY_IPMR], rtm_ipv4_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 24}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "seq", TypeSize: 4}}, ValuesStart: 7388453, ValuesPerProc: 8}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "pid", TypeSize: 4}}, ValuesStart: 635427835, ValuesPerProc: 4}, + &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_SETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_SETLINK, int16], ifinfomsg[AF_UNSPEC], 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}, @@ -4264,6 +4477,46 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, 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}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_ADDRESS, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_ADDRESS, 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[IFA_BROADCAST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_BROADCAST, 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: 4}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_CACHEINFO, int16], ifa_cacheinfo]", 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: 6}, + &StructType{Key: StructKey{Name: "ifa_cacheinfo"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_FLAGS, int16], flags[ifa_flags, 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: 8}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LABEL, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LABEL, 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}, + &UnionType{Key: StructKey{Name: "devname"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFA_LOCAL, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFA_LOCAL, 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[IFLA_ADDRESS, int16], mac_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_ADDRESS, int16], mac_addr]", 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: 1}, @@ -4471,6 +4724,102 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 43}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_FORWARDING, 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: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, 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[NETCONFA_PROXY_NEIGH, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_PROXY_NEIGH, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NETCONFA_RP_FILTER, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NETCONFA_RP_FILTER, 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: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, int16], ifindex]", 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}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_DST, 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}, + &UnionType{Key: StructKey{Name: "ipv4_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}, + &UnionType{Key: StructKey{Name: "nl_generic_attr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]", 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: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_GATEWAY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_GATEWAY, 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: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_MARK, 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[RTA_METRICS, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_METRICS, int16], array[int8]]", 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: 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{ + &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"}}}, + }, 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"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PREFSRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_PREFSRC, 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: 7}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_PRIORITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_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[RTA_SRC, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_SRC, 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: 2}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_UID, int16], uid]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]", TypeSize: 40}, 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}, @@ -4796,6 +5145,59 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rt_irtt", TypeSize: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET6]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 10}, + }}}, + {Key: StructKey{Name: "rtgenmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[AF_INET]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "rtgenmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtgenmsg[RTNL_FAMILY_IPMR]", TypeSize: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtgen_family", TypeSize: 1}}, Val: 128}, + }}}, + {Key: StructKey{Name: "rtm_ipv4_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtm_ipv4_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ipv4_addr]"}, FldName: "RTA_DST"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_SRC, int16], ipv4_addr]"}, FldName: "RTA_SRC"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_DST, int16], ifindex]"}, FldName: "RTA_IIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_OIF, int16], ifindex]"}, FldName: "RTA_OIF"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_GATEWAY, int16], int32]"}, FldName: "RTA_GATEWAY"}, + &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_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"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"}, + }}}, + {Key: StructKey{Name: "rtmsg[AF_INET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[AF_INET]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtmsg[RTNL_FAMILY_IPMR]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtmsg[RTNL_FAMILY_IPMR]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "rtm_family", TypeSize: 1}}, Val: 128}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtm_dst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_addr_len", FldName: "rtmsrcdst_len", TypeSize: 1}}, Vals: []uint64{0, 16, 20, 32, 128}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_tos", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtm_table", TypeSize: 1}}, Kind: 2, RangeEnd: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_protocol", FldName: "rtm_protocol", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "rtm_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_type", FldName: "rtm_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rtm_flags", FldName: "rtm_flags", TypeSize: 4}}, Vals: []uint64{256, 512, 1024, 2048, 4096, 8192}}, + }}}, + {Key: StructKey{Name: "rtnexthop"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnexthop", TypeSize: 8}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rtnh_len", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_flags", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rtnh_hops", TypeSize: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "rtnh_ifindex", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "rtnl_link_ifmap"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rtnl_link_ifmap", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_start", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "mem_end", TypeSize: 8}}}, @@ -16257,6 +16659,23 @@ var consts_ppc64le = []ConstValue{ {Name: "ICMP_TIMESTAMP", Value: 13}, {Name: "ICMP_TIMESTAMPREPLY", Value: 14}, {Name: "ICMP_TIME_EXCEEDED", Value: 11}, + {Name: "IFA_ADDRESS", Value: 1}, + {Name: "IFA_BROADCAST", Value: 4}, + {Name: "IFA_CACHEINFO", Value: 6}, + {Name: "IFA_FLAGS", Value: 8}, + {Name: "IFA_F_DADFAILED", Value: 8}, + {Name: "IFA_F_DEPRECATED", Value: 32}, + {Name: "IFA_F_HOMEADDRESS", Value: 16}, + {Name: "IFA_F_MANAGETEMPADDR", Value: 256}, + {Name: "IFA_F_MCAUTOJOIN", Value: 1024}, + {Name: "IFA_F_NODAD", Value: 2}, + {Name: "IFA_F_NOPREFIXROUTE", Value: 512}, + {Name: "IFA_F_OPTIMISTIC", Value: 4}, + {Name: "IFA_F_PERMANENT", Value: 128}, + {Name: "IFA_F_SECONDARY", Value: 1}, + {Name: "IFA_F_TENTATIVE", Value: 64}, + {Name: "IFA_LABEL", Value: 3}, + {Name: "IFA_LOCAL", Value: 2}, {Name: "IFF_ALLMULTI", Value: 512}, {Name: "IFF_ATTACH_QUEUE", Value: 512}, {Name: "IFF_AUTOMEDIA", Value: 16384}, @@ -16884,6 +17303,14 @@ var consts_ppc64le = []ConstValue{ {Name: "LO_FLAGS_READ_ONLY", Value: 1}, {Name: "LO_KEY_SIZE", Value: 32}, {Name: "LO_NAME_SIZE", Value: 64}, + {Name: "LWTUNNEL_ENCAP_BPF", Value: 6}, + {Name: "LWTUNNEL_ENCAP_ILA", Value: 3}, + {Name: "LWTUNNEL_ENCAP_IP", Value: 2}, + {Name: "LWTUNNEL_ENCAP_IP6", Value: 4}, + {Name: "LWTUNNEL_ENCAP_MPLS", Value: 1}, + {Name: "LWTUNNEL_ENCAP_NONE"}, + {Name: "LWTUNNEL_ENCAP_SEG6", Value: 5}, + {Name: "LWTUNNEL_ENCAP_SEG6_LOCAL", Value: 7}, {Name: "MADV_DODUMP", Value: 17}, {Name: "MADV_DOFORK", Value: 11}, {Name: "MADV_DONTDUMP", Value: 16}, @@ -17021,6 +17448,11 @@ var consts_ppc64le = []ConstValue{ {Name: "MS_SYNC", Value: 4}, {Name: "MS_SYNCHRONOUS", Value: 16}, {Name: "MS_UNBINDABLE", Value: 131072}, + {Name: "NETCONFA_FORWARDING", Value: 2}, + {Name: "NETCONFA_IFINDEX", Value: 1}, + {Name: "NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN", Value: 6}, + {Name: "NETCONFA_PROXY_NEIGH", Value: 5}, + {Name: "NETCONFA_RP_FILTER", Value: 3}, {Name: "NETLINK_ADD_MEMBERSHIP", Value: 1}, {Name: "NETLINK_AUDIT", Value: 9}, {Name: "NETLINK_BROADCAST_ERROR", Value: 4}, @@ -17421,6 +17853,19 @@ var consts_ppc64le = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 536891910}, {Name: "RNDGETENTCNT", Value: 1074024960}, {Name: "RNDZAPENTCNT", Value: 536891908}, + {Name: "RTA_DST", Value: 1}, + {Name: "RTA_ENCAP", Value: 22}, + {Name: "RTA_ENCAP_TYPE", Value: 21}, + {Name: "RTA_FLOW", Value: 11}, + {Name: "RTA_GATEWAY", Value: 5}, + {Name: "RTA_MARK", Value: 16}, + {Name: "RTA_METRICS", Value: 8}, + {Name: "RTA_MULTIPATH", Value: 9}, + {Name: "RTA_OIF", Value: 4}, + {Name: "RTA_PREFSRC", Value: 7}, + {Name: "RTA_PRIORITY", Value: 6}, + {Name: "RTA_SRC", Value: 2}, + {Name: "RTA_UID", Value: 25}, {Name: "RTF_ADDRCONF", Value: 262144}, {Name: "RTF_ALLONLINK", Value: 131072}, {Name: "RTF_ANYCAST", Value: 1048576}, @@ -17444,12 +17889,49 @@ var consts_ppc64le = []ConstValue{ {Name: "RTF_ROUTEINFO", Value: 8388608}, {Name: "RTF_UP", Value: 1}, {Name: "RTF_WINDOW", Value: 128}, + {Name: "RTM_DELADDR", Value: 21}, {Name: "RTM_DELLINK", Value: 17}, + {Name: "RTM_DELROUTE", Value: 25}, + {Name: "RTM_F_CLONED", Value: 512}, + {Name: "RTM_F_EQUALIZE", Value: 1024}, + {Name: "RTM_F_FIB_MATCH", Value: 8192}, + {Name: "RTM_F_LOOKUP_TABLE", Value: 4096}, + {Name: "RTM_F_NOTIFY", Value: 256}, + {Name: "RTM_F_PREFIX", Value: 2048}, + {Name: "RTM_GETADDR", Value: 22}, + {Name: "RTM_GETANYCAST", Value: 62}, {Name: "RTM_GETLINK", Value: 18}, + {Name: "RTM_GETMULTICAST", Value: 58}, + {Name: "RTM_GETNETCONF", Value: 82}, + {Name: "RTM_GETROUTE", Value: 26}, + {Name: "RTM_NEWADDR", Value: 20}, {Name: "RTM_NEWLINK", Value: 16}, + {Name: "RTM_NEWROUTE", Value: 24}, {Name: "RTM_SETLINK", Value: 19}, {Name: "RTNL_FAMILY_IP6MR", Value: 129}, {Name: "RTNL_FAMILY_IPMR", Value: 128}, + {Name: "RTN_ANYCAST", Value: 4}, + {Name: "RTN_BLACKHOLE", Value: 6}, + {Name: "RTN_BROADCAST", Value: 3}, + {Name: "RTN_LOCAL", Value: 2}, + {Name: "RTN_MULTICAST", Value: 5}, + {Name: "RTN_NAT", Value: 10}, + {Name: "RTN_PROHIBIT", Value: 8}, + {Name: "RTN_THROW", Value: 9}, + {Name: "RTN_UNICAST", Value: 1}, + {Name: "RTN_UNREACHABLE", Value: 7}, + {Name: "RTN_UNSPEC"}, + {Name: "RTN_XRESOLVE", Value: 11}, + {Name: "RTPROT_BOOT", Value: 3}, + {Name: "RTPROT_KERNEL", Value: 2}, + {Name: "RTPROT_REDIRECT", Value: 1}, + {Name: "RTPROT_STATIC", Value: 4}, + {Name: "RTPROT_UNSPEC"}, + {Name: "RT_SCOPE_HOST", Value: 254}, + {Name: "RT_SCOPE_LINK", Value: 253}, + {Name: "RT_SCOPE_NOWHERE", Value: 255}, + {Name: "RT_SCOPE_SITE", Value: 200}, + {Name: "RT_SCOPE_UNIVERSE"}, {Name: "RUSAGE_CHILDREN", Value: 18446744073709551615}, {Name: "RUSAGE_SELF"}, {Name: "RUSAGE_THREAD", Value: 1}, @@ -18642,4 +19124,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "02c3e8bba654fccfdbd358279fb2cc7a03fb4118" +const revision_ppc64le = "ed550e2055287fd4412f1a4ca2105645c4b70596" diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt index eae321aac..f20b33ef1 100644 --- a/sys/linux/socket_netlink_route.txt +++ b/sys/linux/socket_netlink_route.txt @@ -7,8 +7,11 @@ include include include include +include include +include include +include resource sock_nl_route[sock_netlink] @@ -17,12 +20,39 @@ socket$nl_route(domain const[AF_NETLINK], type const[SOCK_RAW], proto const[NETL sendmsg$nl_route(fd sock_nl_route, msg ptr[in, msghdr_netlink[netlink_msg_route]], f flags[send_flags]) netlink_msg_route [ - newlink netlink_msg[RTM_NEWLINK, ifinfomsg[AF_UNSPEC], ifla_policy] - getlink netlink_msg[RTM_GETLINK, ifinfomsg[AF_UNSPEC], ifla_policy] - setlink netlink_msg[RTM_SETLINK, ifinfomsg[AF_UNSPEC], ifla_policy] - dellink netlink_msg[RTM_DELLINK, ifinfomsg[AF_UNSPEC], ifla_policy] + newlink netlink_msg[RTM_NEWLINK, ifinfomsg[AF_UNSPEC], ifla_policy] + getlink netlink_msg[RTM_GETLINK, ifinfomsg[AF_UNSPEC], ifla_policy] + setlink netlink_msg[RTM_SETLINK, ifinfomsg[AF_UNSPEC], ifla_policy] + dellink netlink_msg[RTM_DELLINK, ifinfomsg[AF_UNSPEC], ifla_policy] + + ipv4_newaddr netlink_msg[RTM_NEWADDR, ifaddrmsg[AF_INET], ifa_ipv4_policy] + ipv4_deladdr netlink_msg[RTM_DELADDR, ifaddrmsg[AF_INET], ifa_ipv4_policy] + ipv4_getaddr netlink_msg[RTM_GETADDR, ifaddrmsg[AF_INET], ifa_ipv4_policy] + ipv4_getnetconf netlink_msg[RTM_GETNETCONF, netconfmsg[AF_INET], devconf_ip_policy] + ipv4_newroute netlink_msg[RTM_NEWROUTE, rtmsg[AF_INET], rtm_ipv4_policy] + ipv4_delroute netlink_msg[RTM_DELROUTE, rtmsg[AF_INET], rtm_ipv4_policy] + ipv4_getroute netlink_msg[RTM_GETROUTE, rtgenmsg[AF_INET], 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] + ipmr_getroute netlink_msg[RTM_GETROUTE, rtgenmsg[RTNL_FAMILY_IPMR], 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] + ipv6_getaddr netlink_msg[RTM_GETADDR, ifaddrmsg[AF_INET6], ifa_ipv6_policy] + 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] ] [varlen] +type rtgenmsg[FAMILY] { + rtgen_family const[FAMILY, int8] +} + +type netconfmsg[FAMILY] { + ncm_family const[FAMILY, int8] +} + type ifinfomsg[FAMILY] { ifi_family const[FAMILY, int8] __ifi_pad const[0, int8] @@ -32,6 +62,26 @@ type ifinfomsg[FAMILY] { ifi_change flags[net_device_flags, int32] } +type ifaddrmsg[FAMILY] { + ifa_family const[FAMILY, int8] + ifa_prefixlen flags[ifa_prefixlen, int8] + ifa_flags flags[ifa_flags, int8] + ifa_scope flags[rt_scope_t, int8] + ifa_index ifindex +} + +type rtmsg[FAMILY] { + rtm_family const[FAMILY, int8] + rtm_dst_len flags[rtm_addr_len, int8] + rtmsrcdst_len flags[rtm_addr_len, int8] + rtm_tos int8 + rtm_table int8[0:4] + rtm_protocol flags[rtm_protocol, int8] + rtm_scope flags[rt_scope_t, int8] + rtm_type flags[rtm_type, int8] + rtm_flags flags[rtm_flags, int32] +} + ifla_policy [ IFLA_IFNAME nlattr[IFLA_IFNAME, devname] IFLA_ADDRESS nlattr[IFLA_ADDRESS, mac_addr] @@ -80,6 +130,63 @@ ifla_info_policy [ IFLA_INFO_SLAVE_DATA nlattr[IFLA_INFO_SLAVE_DATA, array[int8]] ] [varlen] +ifa_ipv4_policy [ + IFA_LOCAL nlattr[IFA_LOCAL, ipv4_addr] + IFA_ADDRESS nlattr[IFA_ADDRESS, ipv4_addr] + IFA_BROADCAST nlattr[IFA_BROADCAST, ipv4_addr] + IFA_LABEL nlattr[IFA_LABEL, devname] + IFA_CACHEINFO nlattr[IFA_CACHEINFO, ifa_cacheinfo] + IFA_FLAGS nlattr[IFA_FLAGS, flags[ifa_flags, int32]] +] [varlen] + +ifa_ipv6_policy [ + IFA_ADDRESS nlattr[IFA_ADDRESS, ipv6_addr] + IFA_LOCAL nlattr[IFA_LOCAL, ipv6_addr] + IFA_CACHEINFO nlattr[IFA_CACHEINFO, ifa_cacheinfo] + IFA_FLAGS nlattr[IFA_FLAGS, flags[ifa_flags, int32]] +] [varlen] + +rtm_ipv4_policy [ + RTA_DST nlattr[RTA_DST, ipv4_addr] + RTA_SRC nlattr[RTA_SRC, ipv4_addr] + RTA_IIF nlattr[RTA_DST, ifindex] + RTA_OIF nlattr[RTA_OIF, ifindex] + RTA_GATEWAY nlattr[RTA_GATEWAY, int32] + RTA_PRIORITY nlattr[RTA_PRIORITY, int32] + 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_FLOW nlattr[RTA_FLOW, int32] + RTA_ENCAP_TYPE nlattr[RTA_ENCAP_TYPE, flags[lwtunnel_encap_types, int16]] +# TODO: describe RTA_ENCAP + RTA_ENCAP nlattr[RTA_ENCAP, nl_generic_attr] + RTA_UID nlattr[RTA_UID, uid] + RTA_MARK nlattr[RTA_MARK, int32] +] [varlen] + +rtnexthop { + rtnh_len int16 + rtnh_flags int8 + rtnh_hops int8 + rtnh_ifindex ifindex +} + +ifa_cacheinfo { + ifa_prefered int32 + ifa_valid int32 + cstamp int32 + tstamp int32 +} + +devconf_ip_policy [ + NETCONFA_IFINDEX nlattr[NETCONFA_IFINDEX, ifindex] + NETCONFA_FORWARDING nlattr[NETCONFA_FORWARDING, int32] + NETCONFA_RP_FILTER nlattr[NETCONFA_RP_FILTER, int32] + NETCONFA_PROXY_NEIGH nlattr[NETCONFA_PROXY_NEIGH, int32] + IGNORE_ROUTES_WITH_LINKDOWN nlattr[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int32] +] [varlen] + # TODO: implement these type ifla_vf_policy nl_generic_attr type ifla_port_policy nl_generic_attr @@ -102,3 +209,11 @@ rtnl_link_ifmap { rtnl_af = AF_INET, AF_INET6, AF_BRIDGE, AF_MPLS net_device_flags = IFF_UP, IFF_BROADCAST, IFF_DEBUG, IFF_LOOPBACK, IFF_POINTOPOINT, IFF_NOTRAILERS, IFF_RUNNING, IFF_NOARP, IFF_PROMISC, IFF_ALLMULTI, IFF_MASTER, IFF_SLAVE, IFF_MULTICAST, IFF_PORTSEL, IFF_AUTOMEDIA, IFF_DYNAMIC, IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO +ifa_flags = IFA_F_SECONDARY, IFA_F_NODAD, IFA_F_OPTIMISTIC, IFA_F_DADFAILED, IFA_F_HOMEADDRESS, IFA_F_DEPRECATED, IFA_F_TENTATIVE, IFA_F_PERMANENT, IFA_F_MANAGETEMPADDR, IFA_F_NOPREFIXROUTE, IFA_F_MCAUTOJOIN +rt_scope_t = RT_SCOPE_UNIVERSE, RT_SCOPE_SITE, RT_SCOPE_LINK, RT_SCOPE_HOST, RT_SCOPE_NOWHERE +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 +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 +ifa_prefixlen = 0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 128 +rtm_addr_len = 0, 16, 20, 32, 128 diff --git a/sys/linux/socket_netlink_route_386.const b/sys/linux/socket_netlink_route_386.const index 05cc8d203..7fb0f73d4 100644 --- a/sys/linux/socket_netlink_route_386.const +++ b/sys/linux/socket_netlink_route_386.const @@ -5,6 +5,23 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +IFA_ADDRESS = 1 +IFA_BROADCAST = 4 +IFA_CACHEINFO = 6 +IFA_FLAGS = 8 +IFA_F_DADFAILED = 8 +IFA_F_DEPRECATED = 32 +IFA_F_HOMEADDRESS = 16 +IFA_F_MANAGETEMPADDR = 256 +IFA_F_MCAUTOJOIN = 1024 +IFA_F_NODAD = 2 +IFA_F_NOPREFIXROUTE = 512 +IFA_F_OPTIMISTIC = 4 +IFA_F_PERMANENT = 128 +IFA_F_SECONDARY = 1 +IFA_F_TENTATIVE = 64 +IFA_LABEL = 3 +IFA_LOCAL = 2 IFF_ALLMULTI = 512 IFF_AUTOMEDIA = 16384 IFF_BROADCAST = 2 @@ -62,13 +79,77 @@ IFLA_VF_PORT = 1 IFLA_VF_PORTS = 24 IFLA_WEIGHT = 15 IFLA_XDP = 43 +LWTUNNEL_ENCAP_BPF = 6 +LWTUNNEL_ENCAP_ILA = 3 +LWTUNNEL_ENCAP_IP = 2 +LWTUNNEL_ENCAP_IP6 = 4 +LWTUNNEL_ENCAP_MPLS = 1 +LWTUNNEL_ENCAP_NONE = 0 +LWTUNNEL_ENCAP_SEG6 = 5 +LWTUNNEL_ENCAP_SEG6_LOCAL = 7 MAX_ADDR_LEN = 32 MAX_PHYS_ITEM_ID_LEN = 32 +NETCONFA_FORWARDING = 2 +NETCONFA_IFINDEX = 1 +NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 +NETCONFA_PROXY_NEIGH = 5 +NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +RTA_DST = 1 +RTA_ENCAP = 22 +RTA_ENCAP_TYPE = 21 +RTA_FLOW = 11 +RTA_GATEWAY = 5 +RTA_MARK = 16 +RTA_METRICS = 8 +RTA_MULTIPATH = 9 +RTA_OIF = 4 +RTA_PREFSRC = 7 +RTA_PRIORITY = 6 +RTA_SRC = 2 +RTA_UID = 25 +RTM_DELADDR = 21 RTM_DELLINK = 17 +RTM_DELROUTE = 25 +RTM_F_CLONED = 512 +RTM_F_EQUALIZE = 1024 +RTM_F_FIB_MATCH = 8192 +RTM_F_LOOKUP_TABLE = 4096 +RTM_F_NOTIFY = 256 +RTM_F_PREFIX = 2048 +RTM_GETADDR = 22 +RTM_GETANYCAST = 62 RTM_GETLINK = 18 +RTM_GETMULTICAST = 58 +RTM_GETNETCONF = 82 +RTM_GETROUTE = 26 +RTM_NEWADDR = 20 RTM_NEWLINK = 16 +RTM_NEWROUTE = 24 RTM_SETLINK = 19 +RTNL_FAMILY_IPMR = 128 +RTN_ANYCAST = 4 +RTN_BLACKHOLE = 6 +RTN_BROADCAST = 3 +RTN_LOCAL = 2 +RTN_MULTICAST = 5 +RTN_NAT = 10 +RTN_PROHIBIT = 8 +RTN_THROW = 9 +RTN_UNICAST = 1 +RTN_UNREACHABLE = 7 +RTN_UNSPEC = 0 +RTN_XRESOLVE = 11 +RTPROT_BOOT = 3 +RTPROT_KERNEL = 2 +RTPROT_REDIRECT = 1 +RTPROT_STATIC = 4 +RTPROT_UNSPEC = 0 +RT_SCOPE_HOST = 254 +RT_SCOPE_LINK = 253 +RT_SCOPE_NOWHERE = 255 +RT_SCOPE_SITE = 200 +RT_SCOPE_UNIVERSE = 0 SOCK_RAW = 3 __NR_sendmsg = 370 __NR_socket = 359 diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const index 86db3f042..677d016ab 100644 --- a/sys/linux/socket_netlink_route_amd64.const +++ b/sys/linux/socket_netlink_route_amd64.const @@ -5,6 +5,23 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +IFA_ADDRESS = 1 +IFA_BROADCAST = 4 +IFA_CACHEINFO = 6 +IFA_FLAGS = 8 +IFA_F_DADFAILED = 8 +IFA_F_DEPRECATED = 32 +IFA_F_HOMEADDRESS = 16 +IFA_F_MANAGETEMPADDR = 256 +IFA_F_MCAUTOJOIN = 1024 +IFA_F_NODAD = 2 +IFA_F_NOPREFIXROUTE = 512 +IFA_F_OPTIMISTIC = 4 +IFA_F_PERMANENT = 128 +IFA_F_SECONDARY = 1 +IFA_F_TENTATIVE = 64 +IFA_LABEL = 3 +IFA_LOCAL = 2 IFF_ALLMULTI = 512 IFF_AUTOMEDIA = 16384 IFF_BROADCAST = 2 @@ -62,13 +79,77 @@ IFLA_VF_PORT = 1 IFLA_VF_PORTS = 24 IFLA_WEIGHT = 15 IFLA_XDP = 43 +LWTUNNEL_ENCAP_BPF = 6 +LWTUNNEL_ENCAP_ILA = 3 +LWTUNNEL_ENCAP_IP = 2 +LWTUNNEL_ENCAP_IP6 = 4 +LWTUNNEL_ENCAP_MPLS = 1 +LWTUNNEL_ENCAP_NONE = 0 +LWTUNNEL_ENCAP_SEG6 = 5 +LWTUNNEL_ENCAP_SEG6_LOCAL = 7 MAX_ADDR_LEN = 32 MAX_PHYS_ITEM_ID_LEN = 32 +NETCONFA_FORWARDING = 2 +NETCONFA_IFINDEX = 1 +NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 +NETCONFA_PROXY_NEIGH = 5 +NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +RTA_DST = 1 +RTA_ENCAP = 22 +RTA_ENCAP_TYPE = 21 +RTA_FLOW = 11 +RTA_GATEWAY = 5 +RTA_MARK = 16 +RTA_METRICS = 8 +RTA_MULTIPATH = 9 +RTA_OIF = 4 +RTA_PREFSRC = 7 +RTA_PRIORITY = 6 +RTA_SRC = 2 +RTA_UID = 25 +RTM_DELADDR = 21 RTM_DELLINK = 17 +RTM_DELROUTE = 25 +RTM_F_CLONED = 512 +RTM_F_EQUALIZE = 1024 +RTM_F_FIB_MATCH = 8192 +RTM_F_LOOKUP_TABLE = 4096 +RTM_F_NOTIFY = 256 +RTM_F_PREFIX = 2048 +RTM_GETADDR = 22 +RTM_GETANYCAST = 62 RTM_GETLINK = 18 +RTM_GETMULTICAST = 58 +RTM_GETNETCONF = 82 +RTM_GETROUTE = 26 +RTM_NEWADDR = 20 RTM_NEWLINK = 16 +RTM_NEWROUTE = 24 RTM_SETLINK = 19 +RTNL_FAMILY_IPMR = 128 +RTN_ANYCAST = 4 +RTN_BLACKHOLE = 6 +RTN_BROADCAST = 3 +RTN_LOCAL = 2 +RTN_MULTICAST = 5 +RTN_NAT = 10 +RTN_PROHIBIT = 8 +RTN_THROW = 9 +RTN_UNICAST = 1 +RTN_UNREACHABLE = 7 +RTN_UNSPEC = 0 +RTN_XRESOLVE = 11 +RTPROT_BOOT = 3 +RTPROT_KERNEL = 2 +RTPROT_REDIRECT = 1 +RTPROT_STATIC = 4 +RTPROT_UNSPEC = 0 +RT_SCOPE_HOST = 254 +RT_SCOPE_LINK = 253 +RT_SCOPE_NOWHERE = 255 +RT_SCOPE_SITE = 200 +RT_SCOPE_UNIVERSE = 0 SOCK_RAW = 3 __NR_sendmsg = 46 __NR_socket = 41 diff --git a/sys/linux/socket_netlink_route_arm.const b/sys/linux/socket_netlink_route_arm.const index 56f3a809f..5bdadcc8a 100644 --- a/sys/linux/socket_netlink_route_arm.const +++ b/sys/linux/socket_netlink_route_arm.const @@ -5,6 +5,23 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +IFA_ADDRESS = 1 +IFA_BROADCAST = 4 +IFA_CACHEINFO = 6 +IFA_FLAGS = 8 +IFA_F_DADFAILED = 8 +IFA_F_DEPRECATED = 32 +IFA_F_HOMEADDRESS = 16 +IFA_F_MANAGETEMPADDR = 256 +IFA_F_MCAUTOJOIN = 1024 +IFA_F_NODAD = 2 +IFA_F_NOPREFIXROUTE = 512 +IFA_F_OPTIMISTIC = 4 +IFA_F_PERMANENT = 128 +IFA_F_SECONDARY = 1 +IFA_F_TENTATIVE = 64 +IFA_LABEL = 3 +IFA_LOCAL = 2 IFF_ALLMULTI = 512 IFF_AUTOMEDIA = 16384 IFF_BROADCAST = 2 @@ -62,13 +79,77 @@ IFLA_VF_PORT = 1 IFLA_VF_PORTS = 24 IFLA_WEIGHT = 15 IFLA_XDP = 43 +LWTUNNEL_ENCAP_BPF = 6 +LWTUNNEL_ENCAP_ILA = 3 +LWTUNNEL_ENCAP_IP = 2 +LWTUNNEL_ENCAP_IP6 = 4 +LWTUNNEL_ENCAP_MPLS = 1 +LWTUNNEL_ENCAP_NONE = 0 +LWTUNNEL_ENCAP_SEG6 = 5 +LWTUNNEL_ENCAP_SEG6_LOCAL = 7 MAX_ADDR_LEN = 32 MAX_PHYS_ITEM_ID_LEN = 32 +NETCONFA_FORWARDING = 2 +NETCONFA_IFINDEX = 1 +NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 +NETCONFA_PROXY_NEIGH = 5 +NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +RTA_DST = 1 +RTA_ENCAP = 22 +RTA_ENCAP_TYPE = 21 +RTA_FLOW = 11 +RTA_GATEWAY = 5 +RTA_MARK = 16 +RTA_METRICS = 8 +RTA_MULTIPATH = 9 +RTA_OIF = 4 +RTA_PREFSRC = 7 +RTA_PRIORITY = 6 +RTA_SRC = 2 +RTA_UID = 25 +RTM_DELADDR = 21 RTM_DELLINK = 17 +RTM_DELROUTE = 25 +RTM_F_CLONED = 512 +RTM_F_EQUALIZE = 1024 +RTM_F_FIB_MATCH = 8192 +RTM_F_LOOKUP_TABLE = 4096 +RTM_F_NOTIFY = 256 +RTM_F_PREFIX = 2048 +RTM_GETADDR = 22 +RTM_GETANYCAST = 62 RTM_GETLINK = 18 +RTM_GETMULTICAST = 58 +RTM_GETNETCONF = 82 +RTM_GETROUTE = 26 +RTM_NEWADDR = 20 RTM_NEWLINK = 16 +RTM_NEWROUTE = 24 RTM_SETLINK = 19 +RTNL_FAMILY_IPMR = 128 +RTN_ANYCAST = 4 +RTN_BLACKHOLE = 6 +RTN_BROADCAST = 3 +RTN_LOCAL = 2 +RTN_MULTICAST = 5 +RTN_NAT = 10 +RTN_PROHIBIT = 8 +RTN_THROW = 9 +RTN_UNICAST = 1 +RTN_UNREACHABLE = 7 +RTN_UNSPEC = 0 +RTN_XRESOLVE = 11 +RTPROT_BOOT = 3 +RTPROT_KERNEL = 2 +RTPROT_REDIRECT = 1 +RTPROT_STATIC = 4 +RTPROT_UNSPEC = 0 +RT_SCOPE_HOST = 254 +RT_SCOPE_LINK = 253 +RT_SCOPE_NOWHERE = 255 +RT_SCOPE_SITE = 200 +RT_SCOPE_UNIVERSE = 0 SOCK_RAW = 3 __NR_sendmsg = 296 __NR_socket = 281 diff --git a/sys/linux/socket_netlink_route_arm64.const b/sys/linux/socket_netlink_route_arm64.const index d18a0fcfd..92883cc32 100644 --- a/sys/linux/socket_netlink_route_arm64.const +++ b/sys/linux/socket_netlink_route_arm64.const @@ -5,6 +5,23 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +IFA_ADDRESS = 1 +IFA_BROADCAST = 4 +IFA_CACHEINFO = 6 +IFA_FLAGS = 8 +IFA_F_DADFAILED = 8 +IFA_F_DEPRECATED = 32 +IFA_F_HOMEADDRESS = 16 +IFA_F_MANAGETEMPADDR = 256 +IFA_F_MCAUTOJOIN = 1024 +IFA_F_NODAD = 2 +IFA_F_NOPREFIXROUTE = 512 +IFA_F_OPTIMISTIC = 4 +IFA_F_PERMANENT = 128 +IFA_F_SECONDARY = 1 +IFA_F_TENTATIVE = 64 +IFA_LABEL = 3 +IFA_LOCAL = 2 IFF_ALLMULTI = 512 IFF_AUTOMEDIA = 16384 IFF_BROADCAST = 2 @@ -62,13 +79,77 @@ IFLA_VF_PORT = 1 IFLA_VF_PORTS = 24 IFLA_WEIGHT = 15 IFLA_XDP = 43 +LWTUNNEL_ENCAP_BPF = 6 +LWTUNNEL_ENCAP_ILA = 3 +LWTUNNEL_ENCAP_IP = 2 +LWTUNNEL_ENCAP_IP6 = 4 +LWTUNNEL_ENCAP_MPLS = 1 +LWTUNNEL_ENCAP_NONE = 0 +LWTUNNEL_ENCAP_SEG6 = 5 +LWTUNNEL_ENCAP_SEG6_LOCAL = 7 MAX_ADDR_LEN = 32 MAX_PHYS_ITEM_ID_LEN = 32 +NETCONFA_FORWARDING = 2 +NETCONFA_IFINDEX = 1 +NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 +NETCONFA_PROXY_NEIGH = 5 +NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +RTA_DST = 1 +RTA_ENCAP = 22 +RTA_ENCAP_TYPE = 21 +RTA_FLOW = 11 +RTA_GATEWAY = 5 +RTA_MARK = 16 +RTA_METRICS = 8 +RTA_MULTIPATH = 9 +RTA_OIF = 4 +RTA_PREFSRC = 7 +RTA_PRIORITY = 6 +RTA_SRC = 2 +RTA_UID = 25 +RTM_DELADDR = 21 RTM_DELLINK = 17 +RTM_DELROUTE = 25 +RTM_F_CLONED = 512 +RTM_F_EQUALIZE = 1024 +RTM_F_FIB_MATCH = 8192 +RTM_F_LOOKUP_TABLE = 4096 +RTM_F_NOTIFY = 256 +RTM_F_PREFIX = 2048 +RTM_GETADDR = 22 +RTM_GETANYCAST = 62 RTM_GETLINK = 18 +RTM_GETMULTICAST = 58 +RTM_GETNETCONF = 82 +RTM_GETROUTE = 26 +RTM_NEWADDR = 20 RTM_NEWLINK = 16 +RTM_NEWROUTE = 24 RTM_SETLINK = 19 +RTNL_FAMILY_IPMR = 128 +RTN_ANYCAST = 4 +RTN_BLACKHOLE = 6 +RTN_BROADCAST = 3 +RTN_LOCAL = 2 +RTN_MULTICAST = 5 +RTN_NAT = 10 +RTN_PROHIBIT = 8 +RTN_THROW = 9 +RTN_UNICAST = 1 +RTN_UNREACHABLE = 7 +RTN_UNSPEC = 0 +RTN_XRESOLVE = 11 +RTPROT_BOOT = 3 +RTPROT_KERNEL = 2 +RTPROT_REDIRECT = 1 +RTPROT_STATIC = 4 +RTPROT_UNSPEC = 0 +RT_SCOPE_HOST = 254 +RT_SCOPE_LINK = 253 +RT_SCOPE_NOWHERE = 255 +RT_SCOPE_SITE = 200 +RT_SCOPE_UNIVERSE = 0 SOCK_RAW = 3 __NR_sendmsg = 211 __NR_socket = 198 diff --git a/sys/linux/socket_netlink_route_ppc64le.const b/sys/linux/socket_netlink_route_ppc64le.const index 744edc06d..5890b7b6b 100644 --- a/sys/linux/socket_netlink_route_ppc64le.const +++ b/sys/linux/socket_netlink_route_ppc64le.const @@ -5,6 +5,23 @@ AF_INET6 = 10 AF_MPLS = 28 AF_NETLINK = 16 AF_UNSPEC = 0 +IFA_ADDRESS = 1 +IFA_BROADCAST = 4 +IFA_CACHEINFO = 6 +IFA_FLAGS = 8 +IFA_F_DADFAILED = 8 +IFA_F_DEPRECATED = 32 +IFA_F_HOMEADDRESS = 16 +IFA_F_MANAGETEMPADDR = 256 +IFA_F_MCAUTOJOIN = 1024 +IFA_F_NODAD = 2 +IFA_F_NOPREFIXROUTE = 512 +IFA_F_OPTIMISTIC = 4 +IFA_F_PERMANENT = 128 +IFA_F_SECONDARY = 1 +IFA_F_TENTATIVE = 64 +IFA_LABEL = 3 +IFA_LOCAL = 2 IFF_ALLMULTI = 512 IFF_AUTOMEDIA = 16384 IFF_BROADCAST = 2 @@ -62,13 +79,77 @@ IFLA_VF_PORT = 1 IFLA_VF_PORTS = 24 IFLA_WEIGHT = 15 IFLA_XDP = 43 +LWTUNNEL_ENCAP_BPF = 6 +LWTUNNEL_ENCAP_ILA = 3 +LWTUNNEL_ENCAP_IP = 2 +LWTUNNEL_ENCAP_IP6 = 4 +LWTUNNEL_ENCAP_MPLS = 1 +LWTUNNEL_ENCAP_NONE = 0 +LWTUNNEL_ENCAP_SEG6 = 5 +LWTUNNEL_ENCAP_SEG6_LOCAL = 7 MAX_ADDR_LEN = 32 MAX_PHYS_ITEM_ID_LEN = 32 +NETCONFA_FORWARDING = 2 +NETCONFA_IFINDEX = 1 +NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6 +NETCONFA_PROXY_NEIGH = 5 +NETCONFA_RP_FILTER = 3 NETLINK_ROUTE = 0 +RTA_DST = 1 +RTA_ENCAP = 22 +RTA_ENCAP_TYPE = 21 +RTA_FLOW = 11 +RTA_GATEWAY = 5 +RTA_MARK = 16 +RTA_METRICS = 8 +RTA_MULTIPATH = 9 +RTA_OIF = 4 +RTA_PREFSRC = 7 +RTA_PRIORITY = 6 +RTA_SRC = 2 +RTA_UID = 25 +RTM_DELADDR = 21 RTM_DELLINK = 17 +RTM_DELROUTE = 25 +RTM_F_CLONED = 512 +RTM_F_EQUALIZE = 1024 +RTM_F_FIB_MATCH = 8192 +RTM_F_LOOKUP_TABLE = 4096 +RTM_F_NOTIFY = 256 +RTM_F_PREFIX = 2048 +RTM_GETADDR = 22 +RTM_GETANYCAST = 62 RTM_GETLINK = 18 +RTM_GETMULTICAST = 58 +RTM_GETNETCONF = 82 +RTM_GETROUTE = 26 +RTM_NEWADDR = 20 RTM_NEWLINK = 16 +RTM_NEWROUTE = 24 RTM_SETLINK = 19 +RTNL_FAMILY_IPMR = 128 +RTN_ANYCAST = 4 +RTN_BLACKHOLE = 6 +RTN_BROADCAST = 3 +RTN_LOCAL = 2 +RTN_MULTICAST = 5 +RTN_NAT = 10 +RTN_PROHIBIT = 8 +RTN_THROW = 9 +RTN_UNICAST = 1 +RTN_UNREACHABLE = 7 +RTN_UNSPEC = 0 +RTN_XRESOLVE = 11 +RTPROT_BOOT = 3 +RTPROT_KERNEL = 2 +RTPROT_REDIRECT = 1 +RTPROT_STATIC = 4 +RTPROT_UNSPEC = 0 +RT_SCOPE_HOST = 254 +RT_SCOPE_LINK = 253 +RT_SCOPE_NOWHERE = 255 +RT_SCOPE_SITE = 200 +RT_SCOPE_UNIVERSE = 0 SOCK_RAW = 3 __NR_sendmsg = 341 __NR_socket = 326 -- cgit mrf-deployment