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/amd64.go | 484 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 483 insertions(+), 1 deletion(-) (limited to 'sys/linux/amd64.go') 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" -- cgit mrf-deployment