diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-13 07:58:58 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-13 07:58:58 +0100 |
| commit | 99565c1a260d7d4320bed9d77031c135fa5ae886 (patch) | |
| tree | eefa7ab339533d93a423ce5d124bb77c076f7ab6 /sys/linux | |
| parent | 76bd6dd281dd67b97e275dc71a62be0fd5475725 (diff) | |
sys/linux: add NFNL_SUBSYS_ACCT descriptions
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/gen/386.go | 203 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 211 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 203 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 211 | ||||
| -rw-r--r-- | sys/linux/gen/mips64le.go | 211 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 211 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_netfilter_acct.txt | 33 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_netfilter_acct_386.const | 17 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_netfilter_acct_amd64.const | 17 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_netfilter_acct_arm.const | 17 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_netfilter_acct_arm64.const | 17 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_netfilter_acct_mips64le.const | 17 | ||||
| -rw-r--r-- | sys/linux/socket_netlink_netfilter_acct_ppc64le.const | 17 |
13 files changed, 1379 insertions, 6 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 76ac5396c..5a7f4ad72 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -9160,6 +9160,22 @@ var structDescs_386 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -13615,6 +13631,42 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &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}, BitMask: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -15530,6 +15582,46 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, @@ -18255,6 +18347,18 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "res_id", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeEnd: 10}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nfnl_acct_filter_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_filter_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_VALUE"}, + }}}, + {Key: StructKey{Name: "nfnl_acct_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, FldName: "NFACCT_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_BYTES"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_PKTS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, FldName: "NFACCT_FLAGS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_QUOTA"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, FldName: "NFACCT_FILTER"}, + }}}, {Key: StructKey{Name: "nfnl_cthelper_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_cthelper_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, FldName: "NFCTH_NAME"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_TUPLE, int16], array[tuple_nla_policy]]"}, FldName: "NFCTH_TUPLE"}, @@ -22141,6 +22245,13 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "nfnl_acct_names", Values: []string{"syz0\x00", "syz1\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -28037,6 +28148,62 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_filter_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfnl_acct_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, @@ -53203,6 +53370,26 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_net_dm_family_id, genlmsghdr_t[NET_DM_CMD_STOP], void]]"}}}, &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}, BitMask: true}, }}, + {NR: 370, Name: "sendmsg$NFNL_MSG_ACCT_DEL", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$NFNL_MSG_ACCT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$NFNL_MSG_ACCT_GET_CTRZERO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$NFNL_MSG_ACCT_NEW", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, {NR: 370, Name: "sendmsg$NFNL_MSG_CTHELPER_DEL", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}}}, @@ -62319,7 +62506,17 @@ var consts_386 = []ConstValue{ {Name: "NEXTHDR_MOBILITY", Value: 135}, {Name: "NEXTHDR_NONE", Value: 59}, {Name: "NEXTHDR_ROUTING", Value: 43}, + {Name: "NFACCT_BYTES", Value: 3}, + {Name: "NFACCT_FILTER", Value: 7}, + {Name: "NFACCT_FILTER_MASK", Value: 1}, + {Name: "NFACCT_FILTER_VALUE", Value: 2}, + {Name: "NFACCT_FLAGS", Value: 5}, + {Name: "NFACCT_F_QUOTA_BYTES", Value: 2}, + {Name: "NFACCT_F_QUOTA_PKTS", Value: 1}, + {Name: "NFACCT_NAME", Value: 1}, {Name: "NFACCT_NAME_MAX", Value: 32}, + {Name: "NFACCT_PKTS", Value: 2}, + {Name: "NFACCT_QUOTA", Value: 6}, {Name: "NFCTH_NAME", Value: 1}, {Name: "NFCTH_POLICY", Value: 4}, {Name: "NFCTH_POLICY_SET_MAX", Value: 5}, @@ -62344,6 +62541,10 @@ var consts_386 = []ConstValue{ {Name: "NFC_SOCKPROTO_RAW"}, {Name: "NFF", Value: 5}, {Name: "NFNETLINK_V0"}, + {Name: "NFNL_MSG_ACCT_DEL", Value: 3}, + {Name: "NFNL_MSG_ACCT_GET", Value: 1}, + {Name: "NFNL_MSG_ACCT_GET_CTRZERO", Value: 2}, + {Name: "NFNL_MSG_ACCT_NEW"}, {Name: "NFNL_MSG_CTHELPER_DEL", Value: 2}, {Name: "NFNL_MSG_CTHELPER_GET", Value: 1}, {Name: "NFNL_MSG_CTHELPER_NEW"}, @@ -67692,4 +67893,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "2e31549f988e325c7bb93f7637327281585137ac" +const revision_386 = "89295cbc9213299d1f6f7a4c9ecceea3fbc71ca3" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 30423a272..4a2ae9e99 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -9311,6 +9311,22 @@ var structDescs_amd64 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13801,6 +13817,50 @@ var structDescs_amd64 = []*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}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -16109,6 +16169,46 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, @@ -18836,6 +18936,18 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "res_id", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeEnd: 10}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nfnl_acct_filter_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_filter_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_VALUE"}, + }}}, + {Key: StructKey{Name: "nfnl_acct_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, FldName: "NFACCT_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_BYTES"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_PKTS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, FldName: "NFACCT_FLAGS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_QUOTA"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, FldName: "NFACCT_FILTER"}, + }}}, {Key: StructKey{Name: "nfnl_cthelper_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_cthelper_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, FldName: "NFCTH_NAME"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_TUPLE, int16], array[tuple_nla_policy]]"}, FldName: "NFCTH_TUPLE"}, @@ -22722,6 +22834,13 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "nfnl_acct_names", Values: []string{"syz0\x00", "syz1\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -28618,6 +28737,62 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_filter_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfnl_acct_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, @@ -54043,6 +54218,26 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_net_dm_family_id, genlmsghdr_t[NET_DM_CMD_STOP], void]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 46, Name: "sendmsg$NFNL_MSG_ACCT_DEL", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$NFNL_MSG_ACCT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$NFNL_MSG_ACCT_GET_CTRZERO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$NFNL_MSG_ACCT_NEW", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 46, Name: "sendmsg$NFNL_MSG_CTHELPER_DEL", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}}}, @@ -63155,7 +63350,17 @@ var consts_amd64 = []ConstValue{ {Name: "NEXTHDR_MOBILITY", Value: 135}, {Name: "NEXTHDR_NONE", Value: 59}, {Name: "NEXTHDR_ROUTING", Value: 43}, + {Name: "NFACCT_BYTES", Value: 3}, + {Name: "NFACCT_FILTER", Value: 7}, + {Name: "NFACCT_FILTER_MASK", Value: 1}, + {Name: "NFACCT_FILTER_VALUE", Value: 2}, + {Name: "NFACCT_FLAGS", Value: 5}, + {Name: "NFACCT_F_QUOTA_BYTES", Value: 2}, + {Name: "NFACCT_F_QUOTA_PKTS", Value: 1}, + {Name: "NFACCT_NAME", Value: 1}, {Name: "NFACCT_NAME_MAX", Value: 32}, + {Name: "NFACCT_PKTS", Value: 2}, + {Name: "NFACCT_QUOTA", Value: 6}, {Name: "NFCTH_NAME", Value: 1}, {Name: "NFCTH_POLICY", Value: 4}, {Name: "NFCTH_POLICY_SET_MAX", Value: 5}, @@ -63180,6 +63385,10 @@ var consts_amd64 = []ConstValue{ {Name: "NFC_SOCKPROTO_RAW"}, {Name: "NFF", Value: 5}, {Name: "NFNETLINK_V0"}, + {Name: "NFNL_MSG_ACCT_DEL", Value: 3}, + {Name: "NFNL_MSG_ACCT_GET", Value: 1}, + {Name: "NFNL_MSG_ACCT_GET_CTRZERO", Value: 2}, + {Name: "NFNL_MSG_ACCT_NEW"}, {Name: "NFNL_MSG_CTHELPER_DEL", Value: 2}, {Name: "NFNL_MSG_CTHELPER_GET", Value: 1}, {Name: "NFNL_MSG_CTHELPER_NEW"}, @@ -68539,4 +68748,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "8a2e54a12f498ef80b35d810edbe64c1d9eb6b16" +const revision_amd64 = "c17f54778111f113efbd3b703805937fe611c752" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 37ca0b22b..094343fe4 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -9195,6 +9195,22 @@ var structDescs_arm = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -13473,6 +13489,42 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &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}, BitMask: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &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}, BitMask: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -15388,6 +15440,46 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, @@ -18113,6 +18205,18 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "res_id", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeEnd: 10}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nfnl_acct_filter_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_filter_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_VALUE"}, + }}}, + {Key: StructKey{Name: "nfnl_acct_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, FldName: "NFACCT_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_BYTES"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_PKTS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, FldName: "NFACCT_FLAGS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_QUOTA"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, FldName: "NFACCT_FILTER"}, + }}}, {Key: StructKey{Name: "nfnl_cthelper_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_cthelper_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, FldName: "NFCTH_NAME"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_TUPLE, int16], array[tuple_nla_policy]]"}, FldName: "NFCTH_TUPLE"}, @@ -21999,6 +22103,13 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "nfnl_acct_names", Values: []string{"syz0\x00", "syz1\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -27895,6 +28006,62 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_filter_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfnl_acct_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, @@ -52944,6 +53111,26 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_net_dm_family_id, genlmsghdr_t[NET_DM_CMD_STOP], void]]"}}}, &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}, BitMask: true}, }}, + {NR: 296, Name: "sendmsg$NFNL_MSG_ACCT_DEL", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$NFNL_MSG_ACCT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$NFNL_MSG_ACCT_GET_CTRZERO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$NFNL_MSG_ACCT_NEW", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &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}, BitMask: true}, + }}, {NR: 296, Name: "sendmsg$NFNL_MSG_CTHELPER_DEL", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}}}, @@ -61984,7 +62171,17 @@ var consts_arm = []ConstValue{ {Name: "NEXTHDR_MOBILITY", Value: 135}, {Name: "NEXTHDR_NONE", Value: 59}, {Name: "NEXTHDR_ROUTING", Value: 43}, + {Name: "NFACCT_BYTES", Value: 3}, + {Name: "NFACCT_FILTER", Value: 7}, + {Name: "NFACCT_FILTER_MASK", Value: 1}, + {Name: "NFACCT_FILTER_VALUE", Value: 2}, + {Name: "NFACCT_FLAGS", Value: 5}, + {Name: "NFACCT_F_QUOTA_BYTES", Value: 2}, + {Name: "NFACCT_F_QUOTA_PKTS", Value: 1}, + {Name: "NFACCT_NAME", Value: 1}, {Name: "NFACCT_NAME_MAX", Value: 32}, + {Name: "NFACCT_PKTS", Value: 2}, + {Name: "NFACCT_QUOTA", Value: 6}, {Name: "NFCTH_NAME", Value: 1}, {Name: "NFCTH_POLICY", Value: 4}, {Name: "NFCTH_POLICY_SET_MAX", Value: 5}, @@ -62009,6 +62206,10 @@ var consts_arm = []ConstValue{ {Name: "NFC_SOCKPROTO_RAW"}, {Name: "NFF", Value: 5}, {Name: "NFNETLINK_V0"}, + {Name: "NFNL_MSG_ACCT_DEL", Value: 3}, + {Name: "NFNL_MSG_ACCT_GET", Value: 1}, + {Name: "NFNL_MSG_ACCT_GET_CTRZERO", Value: 2}, + {Name: "NFNL_MSG_ACCT_NEW"}, {Name: "NFNL_MSG_CTHELPER_DEL", Value: 2}, {Name: "NFNL_MSG_CTHELPER_GET", Value: 1}, {Name: "NFNL_MSG_CTHELPER_NEW"}, @@ -67343,4 +67544,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "e269b60b06f6c9949a3dde3b27d1f6cf59146190" +const revision_arm = "2942d7236fee7fdb4c6eddc22dad37421cf880d0" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 7a42b5766..5f4737113 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -9311,6 +9311,22 @@ var structDescs_arm64 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13610,6 +13626,50 @@ var structDescs_arm64 = []*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}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -15918,6 +15978,46 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, @@ -18645,6 +18745,18 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "res_id", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeEnd: 10}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nfnl_acct_filter_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_filter_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_VALUE"}, + }}}, + {Key: StructKey{Name: "nfnl_acct_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, FldName: "NFACCT_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_BYTES"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_PKTS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, FldName: "NFACCT_FLAGS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_QUOTA"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, FldName: "NFACCT_FILTER"}, + }}}, {Key: StructKey{Name: "nfnl_cthelper_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_cthelper_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, FldName: "NFCTH_NAME"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_TUPLE, int16], array[tuple_nla_policy]]"}, FldName: "NFCTH_TUPLE"}, @@ -22531,6 +22643,13 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "nfnl_acct_names", Values: []string{"syz0\x00", "syz1\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -28427,6 +28546,62 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_filter_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfnl_acct_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, @@ -53539,6 +53714,26 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_net_dm_family_id, genlmsghdr_t[NET_DM_CMD_STOP], void]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 211, Name: "sendmsg$NFNL_MSG_ACCT_DEL", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$NFNL_MSG_ACCT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$NFNL_MSG_ACCT_GET_CTRZERO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$NFNL_MSG_ACCT_NEW", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 211, Name: "sendmsg$NFNL_MSG_CTHELPER_DEL", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}}}, @@ -62552,7 +62747,17 @@ var consts_arm64 = []ConstValue{ {Name: "NEXTHDR_MOBILITY", Value: 135}, {Name: "NEXTHDR_NONE", Value: 59}, {Name: "NEXTHDR_ROUTING", Value: 43}, + {Name: "NFACCT_BYTES", Value: 3}, + {Name: "NFACCT_FILTER", Value: 7}, + {Name: "NFACCT_FILTER_MASK", Value: 1}, + {Name: "NFACCT_FILTER_VALUE", Value: 2}, + {Name: "NFACCT_FLAGS", Value: 5}, + {Name: "NFACCT_F_QUOTA_BYTES", Value: 2}, + {Name: "NFACCT_F_QUOTA_PKTS", Value: 1}, + {Name: "NFACCT_NAME", Value: 1}, {Name: "NFACCT_NAME_MAX", Value: 32}, + {Name: "NFACCT_PKTS", Value: 2}, + {Name: "NFACCT_QUOTA", Value: 6}, {Name: "NFCTH_NAME", Value: 1}, {Name: "NFCTH_POLICY", Value: 4}, {Name: "NFCTH_POLICY_SET_MAX", Value: 5}, @@ -62577,6 +62782,10 @@ var consts_arm64 = []ConstValue{ {Name: "NFC_SOCKPROTO_RAW"}, {Name: "NFF", Value: 5}, {Name: "NFNETLINK_V0"}, + {Name: "NFNL_MSG_ACCT_DEL", Value: 3}, + {Name: "NFNL_MSG_ACCT_GET", Value: 1}, + {Name: "NFNL_MSG_ACCT_GET_CTRZERO", Value: 2}, + {Name: "NFNL_MSG_ACCT_NEW"}, {Name: "NFNL_MSG_CTHELPER_DEL", Value: 2}, {Name: "NFNL_MSG_CTHELPER_GET", Value: 1}, {Name: "NFNL_MSG_CTHELPER_NEW"}, @@ -67884,4 +68093,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "92442195bf2ca29263eb9a512ea0fe09b534e172" +const revision_arm64 = "ada1e167de817007e95f92144251966c37e1ec09" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 8b2d45cc7..a271246d9 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -9308,6 +9308,22 @@ var structDescs_mips64le = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13554,6 +13570,50 @@ var structDescs_mips64le = []*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}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -15862,6 +15922,46 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, @@ -18589,6 +18689,18 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "res_id", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeEnd: 10}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nfnl_acct_filter_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_filter_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_VALUE"}, + }}}, + {Key: StructKey{Name: "nfnl_acct_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, FldName: "NFACCT_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_BYTES"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_PKTS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, FldName: "NFACCT_FLAGS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_QUOTA"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, FldName: "NFACCT_FILTER"}, + }}}, {Key: StructKey{Name: "nfnl_cthelper_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_cthelper_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, FldName: "NFCTH_NAME"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_TUPLE, int16], array[tuple_nla_policy]]"}, FldName: "NFCTH_TUPLE"}, @@ -22475,6 +22587,13 @@ var structDescs_mips64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "nfnl_acct_names", Values: []string{"syz0\x00", "syz1\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -28371,6 +28490,62 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_filter_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfnl_acct_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, @@ -52154,6 +52329,26 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_net_dm_family_id, genlmsghdr_t[NET_DM_CMD_STOP], void]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 5045, Name: "sendmsg$NFNL_MSG_ACCT_DEL", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$NFNL_MSG_ACCT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$NFNL_MSG_ACCT_GET_CTRZERO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$NFNL_MSG_ACCT_NEW", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 5045, Name: "sendmsg$NFNL_MSG_CTHELPER_DEL", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}}}, @@ -61106,7 +61301,17 @@ var consts_mips64le = []ConstValue{ {Name: "NEXTHDR_MOBILITY", Value: 135}, {Name: "NEXTHDR_NONE", Value: 59}, {Name: "NEXTHDR_ROUTING", Value: 43}, + {Name: "NFACCT_BYTES", Value: 3}, + {Name: "NFACCT_FILTER", Value: 7}, + {Name: "NFACCT_FILTER_MASK", Value: 1}, + {Name: "NFACCT_FILTER_VALUE", Value: 2}, + {Name: "NFACCT_FLAGS", Value: 5}, + {Name: "NFACCT_F_QUOTA_BYTES", Value: 2}, + {Name: "NFACCT_F_QUOTA_PKTS", Value: 1}, + {Name: "NFACCT_NAME", Value: 1}, {Name: "NFACCT_NAME_MAX", Value: 32}, + {Name: "NFACCT_PKTS", Value: 2}, + {Name: "NFACCT_QUOTA", Value: 6}, {Name: "NFCTH_NAME", Value: 1}, {Name: "NFCTH_POLICY", Value: 4}, {Name: "NFCTH_POLICY_SET_MAX", Value: 5}, @@ -61131,6 +61336,10 @@ var consts_mips64le = []ConstValue{ {Name: "NFC_SOCKPROTO_RAW"}, {Name: "NFF", Value: 5}, {Name: "NFNETLINK_V0"}, + {Name: "NFNL_MSG_ACCT_DEL", Value: 3}, + {Name: "NFNL_MSG_ACCT_GET", Value: 1}, + {Name: "NFNL_MSG_ACCT_GET_CTRZERO", Value: 2}, + {Name: "NFNL_MSG_ACCT_NEW"}, {Name: "NFNL_MSG_CTHELPER_DEL", Value: 2}, {Name: "NFNL_MSG_CTHELPER_GET", Value: 1}, {Name: "NFNL_MSG_CTHELPER_NEW"}, @@ -65507,4 +65716,4 @@ var consts_mips64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_mips64le = "6fc6312d72f732d7d3a672b024b6bff308cd4911" +const revision_mips64le = "e87cb93cacb51b6c5192a4041d7ed2a63b70e7c9" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 078b2a59c..cc78d39ac 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -9310,6 +9310,22 @@ var structDescs_ppc64le = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13556,6 +13572,50 @@ 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}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &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}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -15864,6 +15924,46 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 7}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "nfgenmsg"}, FldName: "hdr"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 2}, @@ -18591,6 +18691,18 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "res_id", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeEnd: 10}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nfnl_acct_filter_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_filter_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, FldName: "NFACCT_FILTER_VALUE"}, + }}}, + {Key: StructKey{Name: "nfnl_acct_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_acct_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, FldName: "NFACCT_NAME"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_BYTES"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_PKTS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, FldName: "NFACCT_FLAGS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, FldName: "NFACCT_QUOTA"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, FldName: "NFACCT_FILTER"}, + }}}, {Key: StructKey{Name: "nfnl_cthelper_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfnl_cthelper_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, FldName: "NFCTH_NAME"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_TUPLE, int16], array[tuple_nla_policy]]"}, FldName: "NFCTH_TUPLE"}, @@ -22477,6 +22589,13 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "payload", TypeSize: 4}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFACCT_NAME, int16], string[nfnl_acct_names]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "nfnl_acct_names", Values: []string{"syz0\x00", "syz1\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFCTH_NAME, int16], string[cthelper_name]]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -28373,6 +28492,62 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_BYTES, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER, int16:14], 0, 1, array[nfnl_acct_filter_policy]]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nfnl_acct_filter_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_MASK, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FILTER_VALUE, int16:14], 1, 0, int32be]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_FLAGS, int16:14], 1, 0, flags[nfnl_acct_flags, int32be]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfnl_acct_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_PKTS, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFACCT_QUOTA, int16:14], 1, 0, int64be]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "payload", TypeSize: 8}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 5}, @@ -53487,6 +53662,26 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_net_dm_family_id, genlmsghdr_t[NET_DM_CMD_STOP], void]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 341, Name: "sendmsg$NFNL_MSG_ACCT_DEL", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_DEL, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$NFNL_MSG_ACCT_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$NFNL_MSG_ACCT_GET_CTRZERO", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_GET_CTRZERO, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$NFNL_MSG_ACCT_NEW", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, NFNL_MSG_ACCT_NEW, nfnl_acct_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 341, Name: "sendmsg$NFNL_MSG_CTHELPER_DEL", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_netfilter", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_CTHELPER, NFNL_MSG_CTHELPER_DEL, nfnl_cthelper_policy]]"}}}, @@ -62527,7 +62722,17 @@ var consts_ppc64le = []ConstValue{ {Name: "NEXTHDR_MOBILITY", Value: 135}, {Name: "NEXTHDR_NONE", Value: 59}, {Name: "NEXTHDR_ROUTING", Value: 43}, + {Name: "NFACCT_BYTES", Value: 3}, + {Name: "NFACCT_FILTER", Value: 7}, + {Name: "NFACCT_FILTER_MASK", Value: 1}, + {Name: "NFACCT_FILTER_VALUE", Value: 2}, + {Name: "NFACCT_FLAGS", Value: 5}, + {Name: "NFACCT_F_QUOTA_BYTES", Value: 2}, + {Name: "NFACCT_F_QUOTA_PKTS", Value: 1}, + {Name: "NFACCT_NAME", Value: 1}, {Name: "NFACCT_NAME_MAX", Value: 32}, + {Name: "NFACCT_PKTS", Value: 2}, + {Name: "NFACCT_QUOTA", Value: 6}, {Name: "NFCTH_NAME", Value: 1}, {Name: "NFCTH_POLICY", Value: 4}, {Name: "NFCTH_POLICY_SET_MAX", Value: 5}, @@ -62552,6 +62757,10 @@ var consts_ppc64le = []ConstValue{ {Name: "NFC_SOCKPROTO_RAW"}, {Name: "NFF", Value: 5}, {Name: "NFNETLINK_V0"}, + {Name: "NFNL_MSG_ACCT_DEL", Value: 3}, + {Name: "NFNL_MSG_ACCT_GET", Value: 1}, + {Name: "NFNL_MSG_ACCT_GET_CTRZERO", Value: 2}, + {Name: "NFNL_MSG_ACCT_NEW"}, {Name: "NFNL_MSG_CTHELPER_DEL", Value: 2}, {Name: "NFNL_MSG_CTHELPER_GET", Value: 1}, {Name: "NFNL_MSG_CTHELPER_NEW"}, @@ -67843,4 +68052,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "2e60f5ecc44159129115223a22634eaed3698680" +const revision_ppc64le = "15a96f66006085fb08baa8dabe7892ac03a8e5a7" diff --git a/sys/linux/socket_netlink_netfilter_acct.txt b/sys/linux/socket_netlink_netfilter_acct.txt new file mode 100644 index 000000000..5fbad68be --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_acct.txt @@ -0,0 +1,33 @@ +# Copyright 2020 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <linux/net.h> +include <uapi/linux/ip.h> +include <uapi/linux/netlink.h> +include <uapi/linux/netfilter.h> +include <uapi/linux/netfilter/nfnetlink.h> +include <uapi/linux/netfilter/nfnetlink_acct.h> + +type msghdr_nf_acct[CMD] msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ACCT, CMD, nfnl_acct_policy]] + +sendmsg$NFNL_MSG_ACCT_NEW(fd sock_nl_netfilter, msg ptr[in, msghdr_nf_acct[NFNL_MSG_ACCT_NEW]], f flags[send_flags]) +sendmsg$NFNL_MSG_ACCT_GET(fd sock_nl_netfilter, msg ptr[in, msghdr_nf_acct[NFNL_MSG_ACCT_GET]], f flags[send_flags]) +sendmsg$NFNL_MSG_ACCT_GET_CTRZERO(fd sock_nl_netfilter, msg ptr[in, msghdr_nf_acct[NFNL_MSG_ACCT_GET_CTRZERO]], f flags[send_flags]) +sendmsg$NFNL_MSG_ACCT_DEL(fd sock_nl_netfilter, msg ptr[in, msghdr_nf_acct[NFNL_MSG_ACCT_DEL]], f flags[send_flags]) + +nfnl_acct_policy [ + NFACCT_NAME nlattr[NFACCT_NAME, string[nfnl_acct_names]] + NFACCT_BYTES nlnetw[NFACCT_BYTES, int64be] + NFACCT_PKTS nlnetw[NFACCT_PKTS, int64be] + NFACCT_FLAGS nlnetw[NFACCT_FLAGS, flags[nfnl_acct_flags, int32be]] + NFACCT_QUOTA nlnetw[NFACCT_QUOTA, int64be] + NFACCT_FILTER nlnest[NFACCT_FILTER, array[nfnl_acct_filter_policy]] +] [varlen] + +nfnl_acct_filter_policy [ + NFACCT_FILTER_MASK nlnetw[NFACCT_FILTER_MASK, int32be] + NFACCT_FILTER_VALUE nlnetw[NFACCT_FILTER_VALUE, int32be] +] [varlen] + +nfnl_acct_names = "syz0", "syz1" +nfnl_acct_flags = NFACCT_F_QUOTA_PKTS, NFACCT_F_QUOTA_BYTES diff --git a/sys/linux/socket_netlink_netfilter_acct_386.const b/sys/linux/socket_netlink_netfilter_acct_386.const new file mode 100644 index 000000000..933252d2f --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_acct_386.const @@ -0,0 +1,17 @@ +# AUTOGENERATED FILE +NFACCT_BYTES = 3 +NFACCT_FILTER = 7 +NFACCT_FILTER_MASK = 1 +NFACCT_FILTER_VALUE = 2 +NFACCT_FLAGS = 5 +NFACCT_F_QUOTA_BYTES = 2 +NFACCT_F_QUOTA_PKTS = 1 +NFACCT_NAME = 1 +NFACCT_PKTS = 2 +NFACCT_QUOTA = 6 +NFNL_MSG_ACCT_DEL = 3 +NFNL_MSG_ACCT_GET = 1 +NFNL_MSG_ACCT_GET_CTRZERO = 2 +NFNL_MSG_ACCT_NEW = 0 +NFNL_SUBSYS_ACCT = 7 +__NR_sendmsg = 370 diff --git a/sys/linux/socket_netlink_netfilter_acct_amd64.const b/sys/linux/socket_netlink_netfilter_acct_amd64.const new file mode 100644 index 000000000..931ae0bd2 --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_acct_amd64.const @@ -0,0 +1,17 @@ +# AUTOGENERATED FILE +NFACCT_BYTES = 3 +NFACCT_FILTER = 7 +NFACCT_FILTER_MASK = 1 +NFACCT_FILTER_VALUE = 2 +NFACCT_FLAGS = 5 +NFACCT_F_QUOTA_BYTES = 2 +NFACCT_F_QUOTA_PKTS = 1 +NFACCT_NAME = 1 +NFACCT_PKTS = 2 +NFACCT_QUOTA = 6 +NFNL_MSG_ACCT_DEL = 3 +NFNL_MSG_ACCT_GET = 1 +NFNL_MSG_ACCT_GET_CTRZERO = 2 +NFNL_MSG_ACCT_NEW = 0 +NFNL_SUBSYS_ACCT = 7 +__NR_sendmsg = 46 diff --git a/sys/linux/socket_netlink_netfilter_acct_arm.const b/sys/linux/socket_netlink_netfilter_acct_arm.const new file mode 100644 index 000000000..6990329ce --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_acct_arm.const @@ -0,0 +1,17 @@ +# AUTOGENERATED FILE +NFACCT_BYTES = 3 +NFACCT_FILTER = 7 +NFACCT_FILTER_MASK = 1 +NFACCT_FILTER_VALUE = 2 +NFACCT_FLAGS = 5 +NFACCT_F_QUOTA_BYTES = 2 +NFACCT_F_QUOTA_PKTS = 1 +NFACCT_NAME = 1 +NFACCT_PKTS = 2 +NFACCT_QUOTA = 6 +NFNL_MSG_ACCT_DEL = 3 +NFNL_MSG_ACCT_GET = 1 +NFNL_MSG_ACCT_GET_CTRZERO = 2 +NFNL_MSG_ACCT_NEW = 0 +NFNL_SUBSYS_ACCT = 7 +__NR_sendmsg = 296 diff --git a/sys/linux/socket_netlink_netfilter_acct_arm64.const b/sys/linux/socket_netlink_netfilter_acct_arm64.const new file mode 100644 index 000000000..d6c4897b6 --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_acct_arm64.const @@ -0,0 +1,17 @@ +# AUTOGENERATED FILE +NFACCT_BYTES = 3 +NFACCT_FILTER = 7 +NFACCT_FILTER_MASK = 1 +NFACCT_FILTER_VALUE = 2 +NFACCT_FLAGS = 5 +NFACCT_F_QUOTA_BYTES = 2 +NFACCT_F_QUOTA_PKTS = 1 +NFACCT_NAME = 1 +NFACCT_PKTS = 2 +NFACCT_QUOTA = 6 +NFNL_MSG_ACCT_DEL = 3 +NFNL_MSG_ACCT_GET = 1 +NFNL_MSG_ACCT_GET_CTRZERO = 2 +NFNL_MSG_ACCT_NEW = 0 +NFNL_SUBSYS_ACCT = 7 +__NR_sendmsg = 211 diff --git a/sys/linux/socket_netlink_netfilter_acct_mips64le.const b/sys/linux/socket_netlink_netfilter_acct_mips64le.const new file mode 100644 index 000000000..0ab095e58 --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_acct_mips64le.const @@ -0,0 +1,17 @@ +# AUTOGENERATED FILE +NFACCT_BYTES = 3 +NFACCT_FILTER = 7 +NFACCT_FILTER_MASK = 1 +NFACCT_FILTER_VALUE = 2 +NFACCT_FLAGS = 5 +NFACCT_F_QUOTA_BYTES = 2 +NFACCT_F_QUOTA_PKTS = 1 +NFACCT_NAME = 1 +NFACCT_PKTS = 2 +NFACCT_QUOTA = 6 +NFNL_MSG_ACCT_DEL = 3 +NFNL_MSG_ACCT_GET = 1 +NFNL_MSG_ACCT_GET_CTRZERO = 2 +NFNL_MSG_ACCT_NEW = 0 +NFNL_SUBSYS_ACCT = 7 +__NR_sendmsg = 5045 diff --git a/sys/linux/socket_netlink_netfilter_acct_ppc64le.const b/sys/linux/socket_netlink_netfilter_acct_ppc64le.const new file mode 100644 index 000000000..34cc1ab0d --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_acct_ppc64le.const @@ -0,0 +1,17 @@ +# AUTOGENERATED FILE +NFACCT_BYTES = 3 +NFACCT_FILTER = 7 +NFACCT_FILTER_MASK = 1 +NFACCT_FILTER_VALUE = 2 +NFACCT_FLAGS = 5 +NFACCT_F_QUOTA_BYTES = 2 +NFACCT_F_QUOTA_PKTS = 1 +NFACCT_NAME = 1 +NFACCT_PKTS = 2 +NFACCT_QUOTA = 6 +NFNL_MSG_ACCT_DEL = 3 +NFNL_MSG_ACCT_GET = 1 +NFNL_MSG_ACCT_GET_CTRZERO = 2 +NFNL_MSG_ACCT_NEW = 0 +NFNL_SUBSYS_ACCT = 7 +__NR_sendmsg = 341 |
