diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-09 14:44:03 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-09 14:44:40 +0100 |
| commit | a41d89c7c9c1d0f683ea9884d33d094247eda218 (patch) | |
| tree | ab80ea66fce605a433aac4276f55f104c0cdb768 /sys/linux | |
| parent | ddc3e85997efdad885e208db6a98bca86e5dd52f (diff) | |
sys/linux: add NFNL_SUBSYS_QUEUE descriptions
Diffstat (limited to 'sys/linux')
34 files changed, 1960 insertions, 95 deletions
diff --git a/sys/linux/dev_snd_control.txt b/sys/linux/dev_snd_control.txt index 9802e4f0c..47fc92ebf 100644 --- a/sys/linux/dev_snd_control.txt +++ b/sys/linux/dev_snd_control.txt @@ -36,7 +36,7 @@ ioctl$SNDRV_CTL_IOCTL_RAWMIDI_INFO(fd fd_sndctrl, cmd const[SNDRV_CTL_IOCTL_RAWM ioctl$SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE(fd fd_sndctrl, cmd const[SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE], arg ptr[in, int32]) snd_ctl_iface = SNDRV_CTL_ELEM_IFACE_CARD, SNDRV_CTL_ELEM_IFACE_HWDEP, SNDRV_CTL_ELEM_IFACE_MIXER, SNDRV_CTL_ELEM_IFACE_PCM, SNDRV_CTL_ELEM_IFACE_RAWMIDI, SNDRV_CTL_ELEM_IFACE_TIMER, SNDRV_CTL_ELEM_IFACE_SEQUENCER -snd_ctl_access = SNDRV_CTL_ELEM_ACCESS_READ, SNDRV_CTL_ELEM_ACCESS_WRITE, SNDRV_CTL_ELEM_ACCESS_READWRITE, SNDRV_CTL_ELEM_ACCESS_VOLATILE, SNDRV_CTL_ELEM_ACCESS_TIMESTAMP, SNDRV_CTL_ELEM_ACCESS_TLV_READ, SNDRV_CTL_ELEM_ACCESS_TLV_WRITE, SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE, SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND, SNDRV_CTL_ELEM_ACCESS_INACTIVE, SNDRV_CTL_ELEM_ACCESS_LOCK, SNDRV_CTL_ELEM_ACCESS_OWNER, SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, SNDRV_CTL_ELEM_ACCESS_USER +snd_ctl_access = SNDRV_CTL_ELEM_ACCESS_READ, SNDRV_CTL_ELEM_ACCESS_WRITE, SNDRV_CTL_ELEM_ACCESS_READWRITE, SNDRV_CTL_ELEM_ACCESS_VOLATILE, SNDRV_CTL_ELEM_ACCESS_TLV_READ, SNDRV_CTL_ELEM_ACCESS_TLV_WRITE, SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE, SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND, SNDRV_CTL_ELEM_ACCESS_INACTIVE, SNDRV_CTL_ELEM_ACCESS_LOCK, SNDRV_CTL_ELEM_ACCESS_OWNER, SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, SNDRV_CTL_ELEM_ACCESS_USER snd_ctl_names = "", "syz0", "syz1" snd_ctl_elem_names = "syz0", "syz1" diff --git a/sys/linux/dev_snd_control_386.const b/sys/linux/dev_snd_control_386.const index 025cc65b0..0aacf3610 100644 --- a/sys/linux/dev_snd_control_386.const +++ b/sys/linux/dev_snd_control_386.const @@ -4,7 +4,6 @@ SNDRV_CTL_ELEM_ACCESS_LOCK = 512 SNDRV_CTL_ELEM_ACCESS_OWNER = 1024 SNDRV_CTL_ELEM_ACCESS_READ = 1 SNDRV_CTL_ELEM_ACCESS_READWRITE = 3 -SNDRV_CTL_ELEM_ACCESS_TIMESTAMP = 8 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = 268435456 SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND = 64 SNDRV_CTL_ELEM_ACCESS_TLV_READ = 16 diff --git a/sys/linux/dev_snd_control_amd64.const b/sys/linux/dev_snd_control_amd64.const index 1086ced05..eb88c7b3b 100644 --- a/sys/linux/dev_snd_control_amd64.const +++ b/sys/linux/dev_snd_control_amd64.const @@ -4,7 +4,6 @@ SNDRV_CTL_ELEM_ACCESS_LOCK = 512 SNDRV_CTL_ELEM_ACCESS_OWNER = 1024 SNDRV_CTL_ELEM_ACCESS_READ = 1 SNDRV_CTL_ELEM_ACCESS_READWRITE = 3 -SNDRV_CTL_ELEM_ACCESS_TIMESTAMP = 8 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = 268435456 SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND = 64 SNDRV_CTL_ELEM_ACCESS_TLV_READ = 16 diff --git a/sys/linux/dev_snd_control_arm.const b/sys/linux/dev_snd_control_arm.const index 2f60f1db2..e6e9c92e6 100644 --- a/sys/linux/dev_snd_control_arm.const +++ b/sys/linux/dev_snd_control_arm.const @@ -4,7 +4,6 @@ SNDRV_CTL_ELEM_ACCESS_LOCK = 512 SNDRV_CTL_ELEM_ACCESS_OWNER = 1024 SNDRV_CTL_ELEM_ACCESS_READ = 1 SNDRV_CTL_ELEM_ACCESS_READWRITE = 3 -SNDRV_CTL_ELEM_ACCESS_TIMESTAMP = 8 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = 268435456 SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND = 64 SNDRV_CTL_ELEM_ACCESS_TLV_READ = 16 diff --git a/sys/linux/dev_snd_control_arm64.const b/sys/linux/dev_snd_control_arm64.const index 845b0b9fe..00be376f9 100644 --- a/sys/linux/dev_snd_control_arm64.const +++ b/sys/linux/dev_snd_control_arm64.const @@ -4,7 +4,6 @@ SNDRV_CTL_ELEM_ACCESS_LOCK = 512 SNDRV_CTL_ELEM_ACCESS_OWNER = 1024 SNDRV_CTL_ELEM_ACCESS_READ = 1 SNDRV_CTL_ELEM_ACCESS_READWRITE = 3 -SNDRV_CTL_ELEM_ACCESS_TIMESTAMP = 8 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = 268435456 SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND = 64 SNDRV_CTL_ELEM_ACCESS_TLV_READ = 16 diff --git a/sys/linux/dev_snd_control_mips64le.const b/sys/linux/dev_snd_control_mips64le.const index b4eac2a6e..3ed1f06c8 100644 --- a/sys/linux/dev_snd_control_mips64le.const +++ b/sys/linux/dev_snd_control_mips64le.const @@ -4,7 +4,6 @@ SNDRV_CTL_ELEM_ACCESS_LOCK = 512 SNDRV_CTL_ELEM_ACCESS_OWNER = 1024 SNDRV_CTL_ELEM_ACCESS_READ = 1 SNDRV_CTL_ELEM_ACCESS_READWRITE = 3 -SNDRV_CTL_ELEM_ACCESS_TIMESTAMP = 8 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = 268435456 SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND = 64 SNDRV_CTL_ELEM_ACCESS_TLV_READ = 16 diff --git a/sys/linux/dev_snd_control_ppc64le.const b/sys/linux/dev_snd_control_ppc64le.const index 737f22319..3d6b7b854 100644 --- a/sys/linux/dev_snd_control_ppc64le.const +++ b/sys/linux/dev_snd_control_ppc64le.const @@ -4,7 +4,6 @@ SNDRV_CTL_ELEM_ACCESS_LOCK = 512 SNDRV_CTL_ELEM_ACCESS_OWNER = 1024 SNDRV_CTL_ELEM_ACCESS_READ = 1 SNDRV_CTL_ELEM_ACCESS_READWRITE = 3 -SNDRV_CTL_ELEM_ACCESS_TIMESTAMP = 8 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK = 268435456 SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND = 64 SNDRV_CTL_ELEM_ACCESS_TLV_READ = 16 diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 4b496a388..f21da7083 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -8842,7 +8842,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 1, RangeEnd: 4095}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "ifla_vlan_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vlan_flags", TypeSize: 8}, Fields: []Type{ @@ -9280,6 +9280,18 @@ var structDescs_386 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_IPSET, IPSET_CMD_TYPE, ip_set_type_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_route]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "netlink_msg_route"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -13861,6 +13873,33 @@ 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_route]", 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"}}, @@ -15752,6 +15791,36 @@ 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: "ip_set_type_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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: 3}, + &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: "nfqa_cfg_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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: 3}, + &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: "nfqa_verdict_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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: 3}, + &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: "nfqa_verdict_batch_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "newlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, @@ -18104,6 +18173,42 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_PRIV_DATA_LEN, int16], int32be[0:32]]"}, FldName: "NFCTH_PRIV_DATA_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_STATUS, int16], int32be[0:1]]"}, FldName: "NFCTH_STATUS"}, }}}, + {Key: StructKey{Name: "nfqa_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_cfg_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, FldName: "NFQA_CFG_CMD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, FldName: "NFQA_CFG_PARAMS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, FldName: "NFQA_CFG_QUEUE_MAXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_FLAGS"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_batch_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_batch_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]"}, FldName: "NFQA_PAYLOAD"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, FldName: "NFQA_CT"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, FldName: "NFQA_EXP"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, FldName: "NFQA_VLAN"}, + }}}, + {Key: StructKey{Name: "nfqa_vlan_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_vlan_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, FldName: "NFQA_VLAN_TCI"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, FldName: "NFQA_VLAN_PROTO"}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmd", TypeSize: 4}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmds", FldName: "command", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "pf", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_params", TypeSize: 5}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_config_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_verdict_hdr", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nf_verdicts", FldName: "verdict", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "id", TypeSize: 4}, ArgFormat: 1}}, + }}}, {Key: StructKey{Name: "nl80211_beacon_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nl80211_beacon_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_WIPHY, int16], nl80211_whipy]"}, FldName: "NL80211_ATTR_WIPHY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_IFINDEX, int16], ifindex]"}, FldName: "NL80211_ATTR_IFINDEX"}, @@ -21973,6 +22078,31 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "tuple_nla_policy"}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]", 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: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_cmd"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_params"}, FldName: "payload"}, + &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[NFQA_PAYLOAD, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]", 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: 2}}, Val: 10}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]", 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: 2}}, Val: 165}, @@ -23422,7 +23552,7 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]", 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: 2}}, Val: 11}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, @@ -27781,6 +27911,80 @@ 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[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}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_MASK, 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: 4}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_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: 11}, + &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: "ct_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_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: 15}, + &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: "exp_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_MARK, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_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: 19}, + &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: "nfqa_vlan_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]", 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}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]", 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: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_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: 2}, @@ -30331,7 +30535,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sadb_exttype", TypeSize: 2}}, Val: 26}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_saddr"}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_daddr"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_splen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_dplen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, }, AlignAttr: 8}}, @@ -31192,7 +31396,7 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "snd_ctl_elem_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_info", TypeSize: 272}, Fields: []Type{ &StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 1, RangeEnd: 6}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 8, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "owner", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "items", TypeSize: 4}}, Path: []string{"names_ptr"}}, @@ -31881,11 +32085,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, }}}, {Key: StructKey{Name: "sockaddr_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14, ArgDir: 2}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_hci"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_hci", TypeSize: 6}, Fields: []Type{ @@ -32494,11 +32698,11 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126, ArgDir: 1}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", TypeSize: 128}, Fields: []Type{ @@ -52843,6 +53047,21 @@ var syscalls_386 = []*Syscall{ &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_NEW, nfnl_cthelper_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$NFQNL_MSG_CONFIG", 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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$NFQNL_MSG_VERDICT", 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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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$NFQNL_MSG_VERDICT_BATCH", 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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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$NL80211_CMD_DEL_INTERFACE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[nl80211_family_id, genlmsghdr_t[NL80211_CMD_DEL_INTERFACE], nl80211_interface_policy]]"}}}, @@ -55852,7 +56071,7 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "signalfd_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048, 524288}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_signal", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 359, Name: "socket", CallName: "socket", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -56127,7 +56346,7 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 360, Name: "socketpair", CallName: "socketpair", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sock_pair", Dir: 1}}}, @@ -61960,6 +62179,36 @@ var consts_386 = []ConstValue{ {Name: "NFPROTO_IPV6", Value: 10}, {Name: "NFPROTO_NETDEV", Value: 5}, {Name: "NFPROTO_UNSPEC"}, + {Name: "NFQA_CFG_CMD", Value: 1}, + {Name: "NFQA_CFG_FLAGS", Value: 5}, + {Name: "NFQA_CFG_F_CONNTRACK", Value: 2}, + {Name: "NFQA_CFG_F_FAIL_OPEN", Value: 1}, + {Name: "NFQA_CFG_F_GSO", Value: 4}, + {Name: "NFQA_CFG_F_MAX", Value: 32}, + {Name: "NFQA_CFG_F_SECCTX", Value: 16}, + {Name: "NFQA_CFG_F_UID_GID", Value: 8}, + {Name: "NFQA_CFG_MASK", Value: 4}, + {Name: "NFQA_CFG_PARAMS", Value: 2}, + {Name: "NFQA_CFG_QUEUE_MAXLEN", Value: 3}, + {Name: "NFQA_CT", Value: 11}, + {Name: "NFQA_EXP", Value: 15}, + {Name: "NFQA_MARK", Value: 3}, + {Name: "NFQA_PAYLOAD", Value: 10}, + {Name: "NFQA_VERDICT_HDR", Value: 2}, + {Name: "NFQA_VLAN", Value: 19}, + {Name: "NFQA_VLAN_PROTO", Value: 1}, + {Name: "NFQA_VLAN_TCI", Value: 2}, + {Name: "NFQNL_CFG_CMD_BIND", Value: 1}, + {Name: "NFQNL_CFG_CMD_NONE"}, + {Name: "NFQNL_CFG_CMD_PF_BIND", Value: 3}, + {Name: "NFQNL_CFG_CMD_PF_UNBIND", Value: 4}, + {Name: "NFQNL_CFG_CMD_UNBIND", Value: 2}, + {Name: "NFQNL_COPY_META", Value: 1}, + {Name: "NFQNL_COPY_NONE"}, + {Name: "NFQNL_COPY_PACKET", Value: 2}, + {Name: "NFQNL_MSG_CONFIG", Value: 2}, + {Name: "NFQNL_MSG_VERDICT", Value: 1}, + {Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3}, {Name: "NFQ_FLAG_BYPASS", Value: 1}, {Name: "NFQ_FLAG_CPU_FANOUT", Value: 2}, {Name: "NF_ACCEPT", Value: 1}, @@ -63685,7 +63934,6 @@ var consts_386 = []ConstValue{ {Name: "SNDRV_CTL_ELEM_ACCESS_OWNER", Value: 1024}, {Name: "SNDRV_CTL_ELEM_ACCESS_READ", Value: 1}, {Name: "SNDRV_CTL_ELEM_ACCESS_READWRITE", Value: 3}, - {Name: "SNDRV_CTL_ELEM_ACCESS_TIMESTAMP", Value: 8}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK", Value: 268435456}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND", Value: 64}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_READ", Value: 16}, @@ -67233,4 +67481,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "8927d63fb44e736aaec360f08f04ae739b7ba73c" +const revision_386 = "7e9f60a470e1dc13cdf8018684fe3e64ec39d495" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 84cd9ab5d..ef2fe988d 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -8988,7 +8988,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 1, RangeEnd: 4095}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "ifla_vlan_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vlan_flags", TypeSize: 8}, Fields: []Type{ @@ -9431,6 +9431,18 @@ var structDescs_amd64 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_IPSET, IPSET_CMD_TYPE, ip_set_type_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_route]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "netlink_msg_route"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -14107,6 +14119,39 @@ 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_route]", 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"}}, @@ -16319,6 +16364,36 @@ 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: "ip_set_type_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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: 3}, + &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: "nfqa_cfg_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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: 3}, + &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: "nfqa_verdict_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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: 3}, + &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: "nfqa_verdict_batch_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "newlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, @@ -18673,6 +18748,42 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_PRIV_DATA_LEN, int16], int32be[0:32]]"}, FldName: "NFCTH_PRIV_DATA_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_STATUS, int16], int32be[0:1]]"}, FldName: "NFCTH_STATUS"}, }}}, + {Key: StructKey{Name: "nfqa_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_cfg_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, FldName: "NFQA_CFG_CMD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, FldName: "NFQA_CFG_PARAMS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, FldName: "NFQA_CFG_QUEUE_MAXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_FLAGS"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_batch_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_batch_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]"}, FldName: "NFQA_PAYLOAD"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, FldName: "NFQA_CT"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, FldName: "NFQA_EXP"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, FldName: "NFQA_VLAN"}, + }}}, + {Key: StructKey{Name: "nfqa_vlan_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_vlan_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, FldName: "NFQA_VLAN_TCI"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, FldName: "NFQA_VLAN_PROTO"}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmd", TypeSize: 4}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmds", FldName: "command", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "pf", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_params", TypeSize: 5}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_config_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_verdict_hdr", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nf_verdicts", FldName: "verdict", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "id", TypeSize: 4}, ArgFormat: 1}}, + }}}, {Key: StructKey{Name: "nl80211_beacon_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nl80211_beacon_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_WIPHY, int16], nl80211_whipy]"}, FldName: "NL80211_ATTR_WIPHY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_IFINDEX, int16], ifindex]"}, FldName: "NL80211_ATTR_IFINDEX"}, @@ -22542,6 +22653,31 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "tuple_nla_policy"}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]", 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: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_cmd"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_params"}, FldName: "payload"}, + &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[NFQA_PAYLOAD, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]", 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: 2}}, Val: 10}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]", 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: 2}}, Val: 165}, @@ -23991,7 +24127,7 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]", 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: 2}}, Val: 11}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, @@ -28350,6 +28486,80 @@ 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[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}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_MASK, 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: 4}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_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: 11}, + &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: "ct_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_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: 15}, + &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: "exp_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_MARK, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_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: 19}, + &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: "nfqa_vlan_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]", 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}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]", 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: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_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: 2}, @@ -30910,7 +31120,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sadb_exttype", TypeSize: 2}}, Val: 26}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_saddr"}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_daddr"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_splen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_dplen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, }, AlignAttr: 8}}, @@ -31791,7 +32001,7 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "snd_ctl_elem_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_info", TypeSize: 272}, Fields: []Type{ &StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 1, RangeEnd: 6}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 8, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "owner", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "items", TypeSize: 4}}, Path: []string{"names_ptr"}}, @@ -32488,11 +32698,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, }}}, {Key: StructKey{Name: "sockaddr_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14, ArgDir: 2}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_hci"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_hci", TypeSize: 6}, Fields: []Type{ @@ -33101,11 +33311,11 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126, ArgDir: 1}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", TypeSize: 128}, Fields: []Type{ @@ -53671,6 +53881,21 @@ var syscalls_amd64 = []*Syscall{ &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_NEW, nfnl_cthelper_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$NFQNL_MSG_CONFIG", 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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$NFQNL_MSG_VERDICT", 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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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$NFQNL_MSG_VERDICT_BATCH", 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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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$NL80211_CMD_DEL_INTERFACE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[nl80211_family_id, genlmsghdr_t[NL80211_CMD_DEL_INTERFACE], nl80211_interface_policy]]"}}}, @@ -56680,7 +56905,7 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "signalfd_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_signal", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 41, Name: "socket", CallName: "socket", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -56955,7 +57180,7 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 53, Name: "socketpair", CallName: "socketpair", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_pair", Dir: 1}}}, @@ -62784,6 +63009,36 @@ var consts_amd64 = []ConstValue{ {Name: "NFPROTO_IPV6", Value: 10}, {Name: "NFPROTO_NETDEV", Value: 5}, {Name: "NFPROTO_UNSPEC"}, + {Name: "NFQA_CFG_CMD", Value: 1}, + {Name: "NFQA_CFG_FLAGS", Value: 5}, + {Name: "NFQA_CFG_F_CONNTRACK", Value: 2}, + {Name: "NFQA_CFG_F_FAIL_OPEN", Value: 1}, + {Name: "NFQA_CFG_F_GSO", Value: 4}, + {Name: "NFQA_CFG_F_MAX", Value: 32}, + {Name: "NFQA_CFG_F_SECCTX", Value: 16}, + {Name: "NFQA_CFG_F_UID_GID", Value: 8}, + {Name: "NFQA_CFG_MASK", Value: 4}, + {Name: "NFQA_CFG_PARAMS", Value: 2}, + {Name: "NFQA_CFG_QUEUE_MAXLEN", Value: 3}, + {Name: "NFQA_CT", Value: 11}, + {Name: "NFQA_EXP", Value: 15}, + {Name: "NFQA_MARK", Value: 3}, + {Name: "NFQA_PAYLOAD", Value: 10}, + {Name: "NFQA_VERDICT_HDR", Value: 2}, + {Name: "NFQA_VLAN", Value: 19}, + {Name: "NFQA_VLAN_PROTO", Value: 1}, + {Name: "NFQA_VLAN_TCI", Value: 2}, + {Name: "NFQNL_CFG_CMD_BIND", Value: 1}, + {Name: "NFQNL_CFG_CMD_NONE"}, + {Name: "NFQNL_CFG_CMD_PF_BIND", Value: 3}, + {Name: "NFQNL_CFG_CMD_PF_UNBIND", Value: 4}, + {Name: "NFQNL_CFG_CMD_UNBIND", Value: 2}, + {Name: "NFQNL_COPY_META", Value: 1}, + {Name: "NFQNL_COPY_NONE"}, + {Name: "NFQNL_COPY_PACKET", Value: 2}, + {Name: "NFQNL_MSG_CONFIG", Value: 2}, + {Name: "NFQNL_MSG_VERDICT", Value: 1}, + {Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3}, {Name: "NFQ_FLAG_BYPASS", Value: 1}, {Name: "NFQ_FLAG_CPU_FANOUT", Value: 2}, {Name: "NF_ACCEPT", Value: 1}, @@ -64509,7 +64764,6 @@ var consts_amd64 = []ConstValue{ {Name: "SNDRV_CTL_ELEM_ACCESS_OWNER", Value: 1024}, {Name: "SNDRV_CTL_ELEM_ACCESS_READ", Value: 1}, {Name: "SNDRV_CTL_ELEM_ACCESS_READWRITE", Value: 3}, - {Name: "SNDRV_CTL_ELEM_ACCESS_TIMESTAMP", Value: 8}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK", Value: 268435456}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND", Value: 64}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_READ", Value: 16}, @@ -68068,4 +68322,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "0d1d44273b0425a3e02abd97738136d73e708380" +const revision_amd64 = "15411c81ef641fcf9080d67c756f64069c906107" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index c2111268f..e71bb8887 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -8877,7 +8877,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 1, RangeEnd: 4095}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "ifla_vlan_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vlan_flags", TypeSize: 8}, Fields: []Type{ @@ -9315,6 +9315,18 @@ var structDescs_arm = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_IPSET, IPSET_CMD_TYPE, ip_set_type_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_route]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "netlink_msg_route"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -13719,6 +13731,33 @@ 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_route]", 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"}}, @@ -15610,6 +15649,36 @@ 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: "ip_set_type_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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: 3}, + &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: "nfqa_cfg_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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: 3}, + &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: "nfqa_verdict_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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: 3}, + &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: "nfqa_verdict_batch_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "newlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, @@ -17962,6 +18031,42 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_PRIV_DATA_LEN, int16], int32be[0:32]]"}, FldName: "NFCTH_PRIV_DATA_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_STATUS, int16], int32be[0:1]]"}, FldName: "NFCTH_STATUS"}, }}}, + {Key: StructKey{Name: "nfqa_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_cfg_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, FldName: "NFQA_CFG_CMD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, FldName: "NFQA_CFG_PARAMS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, FldName: "NFQA_CFG_QUEUE_MAXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_FLAGS"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_batch_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_batch_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]"}, FldName: "NFQA_PAYLOAD"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, FldName: "NFQA_CT"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, FldName: "NFQA_EXP"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, FldName: "NFQA_VLAN"}, + }}}, + {Key: StructKey{Name: "nfqa_vlan_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_vlan_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, FldName: "NFQA_VLAN_TCI"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, FldName: "NFQA_VLAN_PROTO"}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmd", TypeSize: 4}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmds", FldName: "command", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "pf", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_params", TypeSize: 5}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_config_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_verdict_hdr", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nf_verdicts", FldName: "verdict", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "id", TypeSize: 4}, ArgFormat: 1}}, + }}}, {Key: StructKey{Name: "nl80211_beacon_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nl80211_beacon_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_WIPHY, int16], nl80211_whipy]"}, FldName: "NL80211_ATTR_WIPHY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_IFINDEX, int16], ifindex]"}, FldName: "NL80211_ATTR_IFINDEX"}, @@ -21831,6 +21936,31 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "tuple_nla_policy"}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]", 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: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_cmd"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_params"}, FldName: "payload"}, + &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[NFQA_PAYLOAD, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]", 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: 2}}, Val: 10}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]", 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: 2}}, Val: 165}, @@ -23280,7 +23410,7 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]", 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: 2}}, Val: 11}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, @@ -27639,6 +27769,80 @@ 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[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}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_MASK, 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: 4}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_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: 11}, + &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: "ct_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_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: 15}, + &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: "exp_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_MARK, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_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: 19}, + &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: "nfqa_vlan_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]", 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}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]", 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: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_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: 2}, @@ -30202,7 +30406,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sadb_exttype", TypeSize: 2}}, Val: 26}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_saddr"}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_daddr"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_splen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_dplen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, }, AlignAttr: 8}}, @@ -31071,7 +31275,7 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "snd_ctl_elem_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_info", TypeSize: 272}, Fields: []Type{ &StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 1, RangeEnd: 6}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 8, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "owner", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "items", TypeSize: 4}}, Path: []string{"names_ptr"}}, @@ -31760,11 +31964,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, }}}, {Key: StructKey{Name: "sockaddr_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14, ArgDir: 2}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_hci"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_hci", TypeSize: 6}, Fields: []Type{ @@ -32373,11 +32577,11 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126, ArgDir: 1}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", TypeSize: 128}, Fields: []Type{ @@ -52584,6 +52788,21 @@ var syscalls_arm = []*Syscall{ &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_NEW, nfnl_cthelper_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$NFQNL_MSG_CONFIG", 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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$NFQNL_MSG_VERDICT", 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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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$NFQNL_MSG_VERDICT_BATCH", 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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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$NL80211_CMD_DEL_INTERFACE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[nl80211_family_id, genlmsghdr_t[NL80211_CMD_DEL_INTERFACE], nl80211_interface_policy]]"}}}, @@ -55590,7 +55809,7 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "signalfd_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048, 524288}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_signal", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 281, Name: "socket", CallName: "socket", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -55865,7 +56084,7 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 288, Name: "socketpair", CallName: "socketpair", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 4}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sock_pair", Dir: 1}}}, @@ -61625,6 +61844,36 @@ var consts_arm = []ConstValue{ {Name: "NFPROTO_IPV6", Value: 10}, {Name: "NFPROTO_NETDEV", Value: 5}, {Name: "NFPROTO_UNSPEC"}, + {Name: "NFQA_CFG_CMD", Value: 1}, + {Name: "NFQA_CFG_FLAGS", Value: 5}, + {Name: "NFQA_CFG_F_CONNTRACK", Value: 2}, + {Name: "NFQA_CFG_F_FAIL_OPEN", Value: 1}, + {Name: "NFQA_CFG_F_GSO", Value: 4}, + {Name: "NFQA_CFG_F_MAX", Value: 32}, + {Name: "NFQA_CFG_F_SECCTX", Value: 16}, + {Name: "NFQA_CFG_F_UID_GID", Value: 8}, + {Name: "NFQA_CFG_MASK", Value: 4}, + {Name: "NFQA_CFG_PARAMS", Value: 2}, + {Name: "NFQA_CFG_QUEUE_MAXLEN", Value: 3}, + {Name: "NFQA_CT", Value: 11}, + {Name: "NFQA_EXP", Value: 15}, + {Name: "NFQA_MARK", Value: 3}, + {Name: "NFQA_PAYLOAD", Value: 10}, + {Name: "NFQA_VERDICT_HDR", Value: 2}, + {Name: "NFQA_VLAN", Value: 19}, + {Name: "NFQA_VLAN_PROTO", Value: 1}, + {Name: "NFQA_VLAN_TCI", Value: 2}, + {Name: "NFQNL_CFG_CMD_BIND", Value: 1}, + {Name: "NFQNL_CFG_CMD_NONE"}, + {Name: "NFQNL_CFG_CMD_PF_BIND", Value: 3}, + {Name: "NFQNL_CFG_CMD_PF_UNBIND", Value: 4}, + {Name: "NFQNL_CFG_CMD_UNBIND", Value: 2}, + {Name: "NFQNL_COPY_META", Value: 1}, + {Name: "NFQNL_COPY_NONE"}, + {Name: "NFQNL_COPY_PACKET", Value: 2}, + {Name: "NFQNL_MSG_CONFIG", Value: 2}, + {Name: "NFQNL_MSG_VERDICT", Value: 1}, + {Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3}, {Name: "NFQ_FLAG_BYPASS", Value: 1}, {Name: "NFQ_FLAG_CPU_FANOUT", Value: 2}, {Name: "NF_ACCEPT", Value: 1}, @@ -63346,7 +63595,6 @@ var consts_arm = []ConstValue{ {Name: "SNDRV_CTL_ELEM_ACCESS_OWNER", Value: 1024}, {Name: "SNDRV_CTL_ELEM_ACCESS_READ", Value: 1}, {Name: "SNDRV_CTL_ELEM_ACCESS_READWRITE", Value: 3}, - {Name: "SNDRV_CTL_ELEM_ACCESS_TIMESTAMP", Value: 8}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK", Value: 268435456}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND", Value: 64}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_READ", Value: 16}, @@ -66884,4 +67132,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "32744f930a88994892fb2d10d3e81bea166d27f2" +const revision_arm = "7eef1ae2e8bf1f2f9d70201dba9dcec166c7ef1d" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 1d5ec7204..7a70268b2 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -8988,7 +8988,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 1, RangeEnd: 4095}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "ifla_vlan_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vlan_flags", TypeSize: 8}, Fields: []Type{ @@ -9431,6 +9431,18 @@ var structDescs_arm64 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_IPSET, IPSET_CMD_TYPE, ip_set_type_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_route]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "netlink_msg_route"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13916,6 +13928,39 @@ 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_route]", 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"}}, @@ -16128,6 +16173,36 @@ 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: "ip_set_type_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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: 3}, + &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: "nfqa_cfg_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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: 3}, + &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: "nfqa_verdict_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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: 3}, + &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: "nfqa_verdict_batch_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "newlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, @@ -18482,6 +18557,42 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_PRIV_DATA_LEN, int16], int32be[0:32]]"}, FldName: "NFCTH_PRIV_DATA_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_STATUS, int16], int32be[0:1]]"}, FldName: "NFCTH_STATUS"}, }}}, + {Key: StructKey{Name: "nfqa_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_cfg_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, FldName: "NFQA_CFG_CMD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, FldName: "NFQA_CFG_PARAMS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, FldName: "NFQA_CFG_QUEUE_MAXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_FLAGS"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_batch_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_batch_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]"}, FldName: "NFQA_PAYLOAD"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, FldName: "NFQA_CT"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, FldName: "NFQA_EXP"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, FldName: "NFQA_VLAN"}, + }}}, + {Key: StructKey{Name: "nfqa_vlan_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_vlan_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, FldName: "NFQA_VLAN_TCI"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, FldName: "NFQA_VLAN_PROTO"}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmd", TypeSize: 4}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmds", FldName: "command", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "pf", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_params", TypeSize: 5}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_config_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_verdict_hdr", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nf_verdicts", FldName: "verdict", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "id", TypeSize: 4}, ArgFormat: 1}}, + }}}, {Key: StructKey{Name: "nl80211_beacon_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nl80211_beacon_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_WIPHY, int16], nl80211_whipy]"}, FldName: "NL80211_ATTR_WIPHY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_IFINDEX, int16], ifindex]"}, FldName: "NL80211_ATTR_IFINDEX"}, @@ -22351,6 +22462,31 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "tuple_nla_policy"}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]", 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: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_cmd"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_params"}, FldName: "payload"}, + &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[NFQA_PAYLOAD, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]", 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: 2}}, Val: 10}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]", 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: 2}}, Val: 165}, @@ -23800,7 +23936,7 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]", 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: 2}}, Val: 11}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, @@ -28159,6 +28295,80 @@ 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[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}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_MASK, 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: 4}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_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: 11}, + &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: "ct_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_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: 15}, + &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: "exp_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_MARK, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_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: 19}, + &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: "nfqa_vlan_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]", 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}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]", 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: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_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: 2}, @@ -30719,7 +30929,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sadb_exttype", TypeSize: 2}}, Val: 26}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_saddr"}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_daddr"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_splen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_dplen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, }, AlignAttr: 8}}, @@ -31600,7 +31810,7 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "snd_ctl_elem_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_info", TypeSize: 272}, Fields: []Type{ &StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 1, RangeEnd: 6}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 8, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "owner", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "items", TypeSize: 4}}, Path: []string{"names_ptr"}}, @@ -32297,11 +32507,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, }}}, {Key: StructKey{Name: "sockaddr_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14, ArgDir: 2}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_hci"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_hci", TypeSize: 6}, Fields: []Type{ @@ -32910,11 +33120,11 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126, ArgDir: 1}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", TypeSize: 128}, Fields: []Type{ @@ -53167,6 +53377,21 @@ var syscalls_arm64 = []*Syscall{ &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_NEW, nfnl_cthelper_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$NFQNL_MSG_CONFIG", 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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$NFQNL_MSG_VERDICT", 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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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$NFQNL_MSG_VERDICT_BATCH", 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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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$NL80211_CMD_DEL_INTERFACE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[nl80211_family_id, genlmsghdr_t[NL80211_CMD_DEL_INTERFACE], nl80211_interface_policy]]"}}}, @@ -56168,7 +56393,7 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "signalfd_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_signal", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 198, Name: "socket", CallName: "socket", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -56443,7 +56668,7 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 199, Name: "socketpair", CallName: "socketpair", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_pair", Dir: 1}}}, @@ -62181,6 +62406,36 @@ var consts_arm64 = []ConstValue{ {Name: "NFPROTO_IPV6", Value: 10}, {Name: "NFPROTO_NETDEV", Value: 5}, {Name: "NFPROTO_UNSPEC"}, + {Name: "NFQA_CFG_CMD", Value: 1}, + {Name: "NFQA_CFG_FLAGS", Value: 5}, + {Name: "NFQA_CFG_F_CONNTRACK", Value: 2}, + {Name: "NFQA_CFG_F_FAIL_OPEN", Value: 1}, + {Name: "NFQA_CFG_F_GSO", Value: 4}, + {Name: "NFQA_CFG_F_MAX", Value: 32}, + {Name: "NFQA_CFG_F_SECCTX", Value: 16}, + {Name: "NFQA_CFG_F_UID_GID", Value: 8}, + {Name: "NFQA_CFG_MASK", Value: 4}, + {Name: "NFQA_CFG_PARAMS", Value: 2}, + {Name: "NFQA_CFG_QUEUE_MAXLEN", Value: 3}, + {Name: "NFQA_CT", Value: 11}, + {Name: "NFQA_EXP", Value: 15}, + {Name: "NFQA_MARK", Value: 3}, + {Name: "NFQA_PAYLOAD", Value: 10}, + {Name: "NFQA_VERDICT_HDR", Value: 2}, + {Name: "NFQA_VLAN", Value: 19}, + {Name: "NFQA_VLAN_PROTO", Value: 1}, + {Name: "NFQA_VLAN_TCI", Value: 2}, + {Name: "NFQNL_CFG_CMD_BIND", Value: 1}, + {Name: "NFQNL_CFG_CMD_NONE"}, + {Name: "NFQNL_CFG_CMD_PF_BIND", Value: 3}, + {Name: "NFQNL_CFG_CMD_PF_UNBIND", Value: 4}, + {Name: "NFQNL_CFG_CMD_UNBIND", Value: 2}, + {Name: "NFQNL_COPY_META", Value: 1}, + {Name: "NFQNL_COPY_NONE"}, + {Name: "NFQNL_COPY_PACKET", Value: 2}, + {Name: "NFQNL_MSG_CONFIG", Value: 2}, + {Name: "NFQNL_MSG_VERDICT", Value: 1}, + {Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3}, {Name: "NFQ_FLAG_BYPASS", Value: 1}, {Name: "NFQ_FLAG_CPU_FANOUT", Value: 2}, {Name: "NF_ACCEPT", Value: 1}, @@ -63894,7 +64149,6 @@ var consts_arm64 = []ConstValue{ {Name: "SNDRV_CTL_ELEM_ACCESS_OWNER", Value: 1024}, {Name: "SNDRV_CTL_ELEM_ACCESS_READ", Value: 1}, {Name: "SNDRV_CTL_ELEM_ACCESS_READWRITE", Value: 3}, - {Name: "SNDRV_CTL_ELEM_ACCESS_TIMESTAMP", Value: 8}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK", Value: 268435456}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND", Value: 64}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_READ", Value: 16}, @@ -67413,4 +67667,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "c064e8c787f442c13d1fb97ba0c5fadfaa75a438" +const revision_arm64 = "1ca3b6db7c5fb3149a4f6ea7cc58cdddfd30c436" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 343ea4105..d99338c5e 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -8985,7 +8985,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 1, RangeEnd: 4095}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "ifla_vlan_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vlan_flags", TypeSize: 8}, Fields: []Type{ @@ -9428,6 +9428,18 @@ var structDescs_mips64le = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_IPSET, IPSET_CMD_TYPE, ip_set_type_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_route]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "netlink_msg_route"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13860,6 +13872,39 @@ 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_route]", 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"}}, @@ -16072,6 +16117,36 @@ 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: "ip_set_type_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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: 3}, + &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: "nfqa_cfg_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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: 3}, + &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: "nfqa_verdict_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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: 3}, + &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: "nfqa_verdict_batch_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "newlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, @@ -18426,6 +18501,42 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_PRIV_DATA_LEN, int16], int32be[0:32]]"}, FldName: "NFCTH_PRIV_DATA_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_STATUS, int16], int32be[0:1]]"}, FldName: "NFCTH_STATUS"}, }}}, + {Key: StructKey{Name: "nfqa_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_cfg_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, FldName: "NFQA_CFG_CMD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, FldName: "NFQA_CFG_PARAMS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, FldName: "NFQA_CFG_QUEUE_MAXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_FLAGS"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_batch_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_batch_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]"}, FldName: "NFQA_PAYLOAD"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, FldName: "NFQA_CT"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, FldName: "NFQA_EXP"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, FldName: "NFQA_VLAN"}, + }}}, + {Key: StructKey{Name: "nfqa_vlan_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_vlan_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, FldName: "NFQA_VLAN_TCI"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, FldName: "NFQA_VLAN_PROTO"}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmd", TypeSize: 4}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmds", FldName: "command", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "pf", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_params", TypeSize: 5}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_config_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_verdict_hdr", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nf_verdicts", FldName: "verdict", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "id", TypeSize: 4}, ArgFormat: 1}}, + }}}, {Key: StructKey{Name: "nl80211_beacon_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nl80211_beacon_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_WIPHY, int16], nl80211_whipy]"}, FldName: "NL80211_ATTR_WIPHY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_IFINDEX, int16], ifindex]"}, FldName: "NL80211_ATTR_IFINDEX"}, @@ -22295,6 +22406,31 @@ var structDescs_mips64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "tuple_nla_policy"}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]", 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: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_cmd"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_params"}, FldName: "payload"}, + &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[NFQA_PAYLOAD, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]", 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: 2}}, Val: 10}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]", 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: 2}}, Val: 165}, @@ -23744,7 +23880,7 @@ var structDescs_mips64le = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]", 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: 2}}, Val: 11}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, @@ -28103,6 +28239,80 @@ 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[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}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_MASK, 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: 4}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_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: 11}, + &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: "ct_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_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: 15}, + &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: "exp_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_MARK, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_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: 19}, + &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: "nfqa_vlan_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]", 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}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]", 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: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_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: 2}, @@ -30663,7 +30873,7 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sadb_exttype", TypeSize: 2}}, Val: 26}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_saddr"}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_daddr"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_splen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_dplen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, }, AlignAttr: 8}}, @@ -31544,7 +31754,7 @@ var structDescs_mips64le = []*KeyedStruct{ {Key: StructKey{Name: "snd_ctl_elem_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_info", TypeSize: 272}, Fields: []Type{ &StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 1, RangeEnd: 6}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 8, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "owner", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "items", TypeSize: 4}}, Path: []string{"names_ptr"}}, @@ -32241,11 +32451,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, }}}, {Key: StructKey{Name: "sockaddr_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14, ArgDir: 2}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_hci"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_hci", TypeSize: 6}, Fields: []Type{ @@ -32854,11 +33064,11 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126, ArgDir: 1}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", TypeSize: 128}, Fields: []Type{ @@ -51782,6 +51992,21 @@ var syscalls_mips64le = []*Syscall{ &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_NEW, nfnl_cthelper_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$NFQNL_MSG_CONFIG", 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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$NFQNL_MSG_VERDICT", 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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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$NFQNL_MSG_VERDICT_BATCH", 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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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$NL80211_CMD_DEL_INTERFACE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[nl80211_family_id, genlmsghdr_t[NL80211_CMD_DEL_INTERFACE], nl80211_interface_policy]]"}}}, @@ -54791,7 +55016,7 @@ var syscalls_mips64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "signalfd_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{128, 524288}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_signal", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 5040, Name: "socket", CallName: "socket", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 1, 3, 4, 5, 6, 10, 128, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -55066,7 +55291,7 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 5052, Name: "socketpair", CallName: "socketpair", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 1, 3, 4, 5, 6, 10, 128, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_pair", Dir: 1}}}, @@ -60735,6 +60960,36 @@ var consts_mips64le = []ConstValue{ {Name: "NFPROTO_IPV6", Value: 10}, {Name: "NFPROTO_NETDEV", Value: 5}, {Name: "NFPROTO_UNSPEC"}, + {Name: "NFQA_CFG_CMD", Value: 1}, + {Name: "NFQA_CFG_FLAGS", Value: 5}, + {Name: "NFQA_CFG_F_CONNTRACK", Value: 2}, + {Name: "NFQA_CFG_F_FAIL_OPEN", Value: 1}, + {Name: "NFQA_CFG_F_GSO", Value: 4}, + {Name: "NFQA_CFG_F_MAX", Value: 32}, + {Name: "NFQA_CFG_F_SECCTX", Value: 16}, + {Name: "NFQA_CFG_F_UID_GID", Value: 8}, + {Name: "NFQA_CFG_MASK", Value: 4}, + {Name: "NFQA_CFG_PARAMS", Value: 2}, + {Name: "NFQA_CFG_QUEUE_MAXLEN", Value: 3}, + {Name: "NFQA_CT", Value: 11}, + {Name: "NFQA_EXP", Value: 15}, + {Name: "NFQA_MARK", Value: 3}, + {Name: "NFQA_PAYLOAD", Value: 10}, + {Name: "NFQA_VERDICT_HDR", Value: 2}, + {Name: "NFQA_VLAN", Value: 19}, + {Name: "NFQA_VLAN_PROTO", Value: 1}, + {Name: "NFQA_VLAN_TCI", Value: 2}, + {Name: "NFQNL_CFG_CMD_BIND", Value: 1}, + {Name: "NFQNL_CFG_CMD_NONE"}, + {Name: "NFQNL_CFG_CMD_PF_BIND", Value: 3}, + {Name: "NFQNL_CFG_CMD_PF_UNBIND", Value: 4}, + {Name: "NFQNL_CFG_CMD_UNBIND", Value: 2}, + {Name: "NFQNL_COPY_META", Value: 1}, + {Name: "NFQNL_COPY_NONE"}, + {Name: "NFQNL_COPY_PACKET", Value: 2}, + {Name: "NFQNL_MSG_CONFIG", Value: 2}, + {Name: "NFQNL_MSG_VERDICT", Value: 1}, + {Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3}, {Name: "NFQ_FLAG_BYPASS", Value: 1}, {Name: "NFQ_FLAG_CPU_FANOUT", Value: 2}, {Name: "NF_ACCEPT", Value: 1}, @@ -62448,7 +62703,6 @@ var consts_mips64le = []ConstValue{ {Name: "SNDRV_CTL_ELEM_ACCESS_OWNER", Value: 1024}, {Name: "SNDRV_CTL_ELEM_ACCESS_READ", Value: 1}, {Name: "SNDRV_CTL_ELEM_ACCESS_READWRITE", Value: 3}, - {Name: "SNDRV_CTL_ELEM_ACCESS_TIMESTAMP", Value: 8}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK", Value: 268435456}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND", Value: 64}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_READ", Value: 16}, @@ -65036,4 +65290,4 @@ var consts_mips64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_mips64le = "8d96fc0e36e9a748e7d76776b30e8491198e5a00" +const revision_mips64le = "448dfc07470bcab49ab7d2a2ce47fda47073905f" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index fd1cc65a2..edb098996 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -8987,7 +8987,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 1, RangeEnd: 4095}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "ifla_vlan_flags"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vlan_flags", TypeSize: 8}, Fields: []Type{ @@ -9430,6 +9430,18 @@ var structDescs_ppc64le = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_IPSET, IPSET_CMD_TYPE, ip_set_type_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_route]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "netlink_msg_route"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -13862,6 +13874,39 @@ 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_route]", 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"}}, @@ -16074,6 +16119,36 @@ 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: "ip_set_type_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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: 3}, + &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: "nfqa_cfg_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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: 3}, + &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: "nfqa_verdict_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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: 3}, + &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: "nfqa_verdict_batch_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_route", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "newlink"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, FldName: "getlink"}, @@ -18428,6 +18503,42 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_PRIV_DATA_LEN, int16], int32be[0:32]]"}, FldName: "NFCTH_PRIV_DATA_LEN"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NFCTH_STATUS, int16], int32be[0:1]]"}, FldName: "NFCTH_STATUS"}, }}}, + {Key: StructKey{Name: "nfqa_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_cfg_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, FldName: "NFQA_CFG_CMD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, FldName: "NFQA_CFG_PARAMS"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, FldName: "NFQA_CFG_QUEUE_MAXLEN"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_MASK"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_FLAGS, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, FldName: "NFQA_CFG_FLAGS"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_batch_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_batch_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + }}}, + {Key: StructKey{Name: "nfqa_verdict_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_verdict_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, FldName: "NFQA_VERDICT_HDR"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, FldName: "NFQA_MARK"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]"}, FldName: "NFQA_PAYLOAD"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, FldName: "NFQA_CT"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, FldName: "NFQA_EXP"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, FldName: "NFQA_VLAN"}, + }}}, + {Key: StructKey{Name: "nfqa_vlan_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqa_vlan_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, FldName: "NFQA_VLAN_TCI"}, + &StructType{Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, FldName: "NFQA_VLAN_PROTO"}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmd", TypeSize: 4}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_cmds", FldName: "command", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "pf", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_config_params"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_config_params", TypeSize: 5}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfqnl_config_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + }}}, + {Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfqnl_msg_verdict_hdr", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nf_verdicts", FldName: "verdict", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "id", TypeSize: 4}, ArgFormat: 1}}, + }}}, {Key: StructKey{Name: "nl80211_beacon_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nl80211_beacon_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_WIPHY, int16], nl80211_whipy]"}, FldName: "NL80211_ATTR_WIPHY"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_IFINDEX, int16], ifindex]"}, FldName: "NL80211_ATTR_IFINDEX"}, @@ -22297,6 +22408,31 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "tuple_nla_policy"}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_CMD, int16], nfqnl_msg_config_cmd]", 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: 2}}, Val: 1}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_cmd"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_CFG_PARAMS, int16], nfqnl_msg_config_params]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_config_params"}, FldName: "payload"}, + &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[NFQA_PAYLOAD, int16], array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_PAYLOAD, int16], array[int8]]", 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: 2}}, Val: 10}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFQA_VERDICT_HDR, int16], nfqnl_msg_verdict_hdr]", 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: 2}, + &StructType{Key: StructKey{Name: "nfqnl_msg_verdict_hdr"}, FldName: "payload"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NL80211_ATTR_ACL_POLICY, int16], int32[NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED:NL80211_ACL_POLICY_DENY_UNLESS_LISTED]]", 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: 2}}, Val: 165}, @@ -23746,7 +23882,7 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NLBL_MGMT_A_FAMILY, int16], flags[socket_domain, int16]]", 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: 2}}, Val: 11}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "payload", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }, AlignAttr: 4}}, @@ -28105,6 +28241,80 @@ 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[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}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_MASK, int16:14], 1, 0, flags[nfqa_cfg_flags, int32be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_MASK, 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: 4}, + &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: "nfqa_cfg_flags", FldName: "payload", TypeSize: 4}, ArgFormat: 1}, Vals: []uint64{1, 2, 4, 8, 16, 32}, BitMask: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CFG_QUEUE_MAXLEN, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_CT, int16:14], 0, 1, array[ct_nla_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: 11}, + &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: "ct_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_EXP, int16:14], 0, 1, array[exp_nla_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: 15}, + &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: "exp_nla_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_MARK, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_MARK, 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: 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: "int32be", FldName: "payload", TypeSize: 4}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN, int16:14], 0, 1, array[nfqa_vlan_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: 19}, + &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: "nfqa_vlan_policy"}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_PROTO, int16:14], 1, 0, flags[vlan_proto, int16be]]", 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}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vlan_proto", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFQA_VLAN_TCI, int16:14], 1, 0, int16be]", 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: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[TCA_ACT_OPTIONS, int16:14], 0, 1, array[ctinfo_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: 2}, @@ -30665,7 +30875,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sadb_exttype", TypeSize: 2}}, Val: 26}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_saddr"}, &UnionType{Key: StructKey{Name: "sadb_filter_addr"}, FldName: "sadb_x_filter_daddr"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sadb_x_filter_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_splen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sadb_filter_addr_len", FldName: "sadb_x_filter_dplen", TypeSize: 1}}, Vals: []uint64{4, 16}, BitMask: true}, }, AlignAttr: 8}}, @@ -31546,7 +31756,7 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "snd_ctl_elem_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_info", TypeSize: 272}, Fields: []Type{ &StructType{Key: StructKey{Name: "snd_ctl_elem_id"}, FldName: "id"}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 1, RangeEnd: 6}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 8, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_access", FldName: "access", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 16, 32, 48, 64, 256, 512, 1024, 268435456, 536870912}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "owner", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "items", TypeSize: 4}}, Path: []string{"names_ptr"}}, @@ -32243,11 +32453,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, }}}, {Key: StructKey{Name: "sockaddr_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_generic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_generic", TypeSize: 16, ArgDir: 2}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 14, ArgDir: 2}, Kind: 1, RangeBegin: 14, RangeEnd: 14}, }}}, {Key: StructKey{Name: "sockaddr_hci"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_hci", TypeSize: 6}, Fields: []Type{ @@ -32856,11 +33066,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", TypeSize: 128, ArgDir: 1}, Fields: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sa_data", TypeSize: 126, ArgDir: 1}, Kind: 1, RangeBegin: 126, RangeEnd: 126}, }}}, {Key: StructKey{Name: "sockaddr_storage_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", TypeSize: 128}, Fields: []Type{ @@ -53115,6 +53325,21 @@ var syscalls_ppc64le = []*Syscall{ &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_NEW, nfnl_cthelper_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$NFQNL_MSG_CONFIG", 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_QUEUE, NFQNL_MSG_CONFIG, nfqa_cfg_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$NFQNL_MSG_VERDICT", 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_QUEUE, NFQNL_MSG_VERDICT, nfqa_verdict_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$NFQNL_MSG_VERDICT_BATCH", 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_QUEUE, NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_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$NL80211_CMD_DEL_INTERFACE", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[nl80211_family_id, genlmsghdr_t[NL80211_CMD_DEL_INTERFACE], nl80211_interface_policy]]"}}}, @@ -56121,7 +56346,7 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "signalfd_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_signal", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 326, Name: "socket", CallName: "socket", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -56396,7 +56621,7 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 333, Name: "socketpair", CallName: "socketpair", Args: []Type{ - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_domain", FldName: "domain", TypeSize: 8}}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17, 40, 44, 30, 33, 24, 21, 11, 35, 39, 6, 15, 41, 34, 43, 29, 37, 31, 26, 38}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_pair", Dir: 1}}}, @@ -62156,6 +62381,36 @@ var consts_ppc64le = []ConstValue{ {Name: "NFPROTO_IPV6", Value: 10}, {Name: "NFPROTO_NETDEV", Value: 5}, {Name: "NFPROTO_UNSPEC"}, + {Name: "NFQA_CFG_CMD", Value: 1}, + {Name: "NFQA_CFG_FLAGS", Value: 5}, + {Name: "NFQA_CFG_F_CONNTRACK", Value: 2}, + {Name: "NFQA_CFG_F_FAIL_OPEN", Value: 1}, + {Name: "NFQA_CFG_F_GSO", Value: 4}, + {Name: "NFQA_CFG_F_MAX", Value: 32}, + {Name: "NFQA_CFG_F_SECCTX", Value: 16}, + {Name: "NFQA_CFG_F_UID_GID", Value: 8}, + {Name: "NFQA_CFG_MASK", Value: 4}, + {Name: "NFQA_CFG_PARAMS", Value: 2}, + {Name: "NFQA_CFG_QUEUE_MAXLEN", Value: 3}, + {Name: "NFQA_CT", Value: 11}, + {Name: "NFQA_EXP", Value: 15}, + {Name: "NFQA_MARK", Value: 3}, + {Name: "NFQA_PAYLOAD", Value: 10}, + {Name: "NFQA_VERDICT_HDR", Value: 2}, + {Name: "NFQA_VLAN", Value: 19}, + {Name: "NFQA_VLAN_PROTO", Value: 1}, + {Name: "NFQA_VLAN_TCI", Value: 2}, + {Name: "NFQNL_CFG_CMD_BIND", Value: 1}, + {Name: "NFQNL_CFG_CMD_NONE"}, + {Name: "NFQNL_CFG_CMD_PF_BIND", Value: 3}, + {Name: "NFQNL_CFG_CMD_PF_UNBIND", Value: 4}, + {Name: "NFQNL_CFG_CMD_UNBIND", Value: 2}, + {Name: "NFQNL_COPY_META", Value: 1}, + {Name: "NFQNL_COPY_NONE"}, + {Name: "NFQNL_COPY_PACKET", Value: 2}, + {Name: "NFQNL_MSG_CONFIG", Value: 2}, + {Name: "NFQNL_MSG_VERDICT", Value: 1}, + {Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3}, {Name: "NFQ_FLAG_BYPASS", Value: 1}, {Name: "NFQ_FLAG_CPU_FANOUT", Value: 2}, {Name: "NF_ACCEPT", Value: 1}, @@ -63881,7 +64136,6 @@ var consts_ppc64le = []ConstValue{ {Name: "SNDRV_CTL_ELEM_ACCESS_OWNER", Value: 1024}, {Name: "SNDRV_CTL_ELEM_ACCESS_READ", Value: 1}, {Name: "SNDRV_CTL_ELEM_ACCESS_READWRITE", Value: 3}, - {Name: "SNDRV_CTL_ELEM_ACCESS_TIMESTAMP", Value: 8}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK", Value: 268435456}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND", Value: 64}, {Name: "SNDRV_CTL_ELEM_ACCESS_TLV_READ", Value: 16}, @@ -67372,4 +67626,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "d14603f7bf9208fdd2c3592318d7e090e420c134" +const revision_ppc64le = "8f382810e126897db725134769e03031d986d5ef" diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 0de56fc73..471293fed 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -41,7 +41,7 @@ shutdown(fd sock, how flags[shutdown_flags]) getsockopt(fd sock, level int32, optname int32, optval buffer[out], optlen ptr[inout, len[optval, int32]]) setsockopt(fd sock, level int32, optname int32, optval buffer[in], optlen len[optval]) -socket_domain = AF_UNIX, AF_INET, AF_INET6, AF_IPX, AF_NETLINK, AF_X25, AF_AX25, AF_ATMPVC, AF_APPLETALK, AF_PACKET +socket_domain = AF_UNIX, AF_INET, AF_INET6, AF_IPX, AF_NETLINK, AF_X25, AF_AX25, AF_ATMPVC, AF_APPLETALK, AF_PACKET, AF_VSOCK, AF_XDP, AF_TIPC, AF_RXRPC, AF_PPPOX, AF_RDS, AF_ROSE, AF_PHONET, AF_NFC, AF_NETROM, AF_KEY, AF_KCM, AF_ISDN, AF_SMC, AF_CAN, AF_CAIF, AF_BLUETOOTH, AF_LLC, AF_ALG socket_type = SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_DCCP, SOCK_PACKET, SOCK_NONBLOCK, SOCK_CLOEXEC accept_flags = SOCK_NONBLOCK, SOCK_CLOEXEC shutdown_flags = SHUT_RD, SHUT_WR diff --git a/sys/linux/socket_386.const b/sys/linux/socket_386.const index 45efded99..848263d23 100644 --- a/sys/linux/socket_386.const +++ b/sys/linux/socket_386.const @@ -1,15 +1,34 @@ # AUTOGENERATED FILE ADD_VLAN_CMD = 0 +AF_ALG = 38 AF_APPLETALK = 5 AF_ATMPVC = 8 AF_AX25 = 3 +AF_BLUETOOTH = 31 +AF_CAIF = 37 +AF_CAN = 29 AF_INET = 2 AF_INET6 = 10 AF_IPX = 4 +AF_ISDN = 34 +AF_KCM = 41 +AF_KEY = 15 +AF_LLC = 26 AF_NETLINK = 16 +AF_NETROM = 6 +AF_NFC = 39 AF_PACKET = 17 +AF_PHONET = 35 +AF_PPPOX = 24 +AF_RDS = 21 +AF_ROSE = 11 +AF_RXRPC = 33 +AF_SMC = 43 +AF_TIPC = 30 AF_UNIX = 1 +AF_VSOCK = 40 AF_X25 = 9 +AF_XDP = 44 AH_ESP_V4_FLOW = 4 AH_ESP_V6_FLOW = 8 AH_V4_FLOW = 9 diff --git a/sys/linux/socket_amd64.const b/sys/linux/socket_amd64.const index c82c97153..645d6db73 100644 --- a/sys/linux/socket_amd64.const +++ b/sys/linux/socket_amd64.const @@ -1,15 +1,34 @@ # AUTOGENERATED FILE ADD_VLAN_CMD = 0 +AF_ALG = 38 AF_APPLETALK = 5 AF_ATMPVC = 8 AF_AX25 = 3 +AF_BLUETOOTH = 31 +AF_CAIF = 37 +AF_CAN = 29 AF_INET = 2 AF_INET6 = 10 AF_IPX = 4 +AF_ISDN = 34 +AF_KCM = 41 +AF_KEY = 15 +AF_LLC = 26 AF_NETLINK = 16 +AF_NETROM = 6 +AF_NFC = 39 AF_PACKET = 17 +AF_PHONET = 35 +AF_PPPOX = 24 +AF_RDS = 21 +AF_ROSE = 11 +AF_RXRPC = 33 +AF_SMC = 43 +AF_TIPC = 30 AF_UNIX = 1 +AF_VSOCK = 40 AF_X25 = 9 +AF_XDP = 44 AH_ESP_V4_FLOW = 4 AH_ESP_V6_FLOW = 8 AH_V4_FLOW = 9 diff --git a/sys/linux/socket_arm.const b/sys/linux/socket_arm.const index 2facb79d9..e44ce9835 100644 --- a/sys/linux/socket_arm.const +++ b/sys/linux/socket_arm.const @@ -1,15 +1,34 @@ # AUTOGENERATED FILE ADD_VLAN_CMD = 0 +AF_ALG = 38 AF_APPLETALK = 5 AF_ATMPVC = 8 AF_AX25 = 3 +AF_BLUETOOTH = 31 +AF_CAIF = 37 +AF_CAN = 29 AF_INET = 2 AF_INET6 = 10 AF_IPX = 4 +AF_ISDN = 34 +AF_KCM = 41 +AF_KEY = 15 +AF_LLC = 26 AF_NETLINK = 16 +AF_NETROM = 6 +AF_NFC = 39 AF_PACKET = 17 +AF_PHONET = 35 +AF_PPPOX = 24 +AF_RDS = 21 +AF_ROSE = 11 +AF_RXRPC = 33 +AF_SMC = 43 +AF_TIPC = 30 AF_UNIX = 1 +AF_VSOCK = 40 AF_X25 = 9 +AF_XDP = 44 AH_ESP_V4_FLOW = 4 AH_ESP_V6_FLOW = 8 AH_V4_FLOW = 9 diff --git a/sys/linux/socket_arm64.const b/sys/linux/socket_arm64.const index 95af81fb3..97c2c92f6 100644 --- a/sys/linux/socket_arm64.const +++ b/sys/linux/socket_arm64.const @@ -1,15 +1,34 @@ # AUTOGENERATED FILE ADD_VLAN_CMD = 0 +AF_ALG = 38 AF_APPLETALK = 5 AF_ATMPVC = 8 AF_AX25 = 3 +AF_BLUETOOTH = 31 +AF_CAIF = 37 +AF_CAN = 29 AF_INET = 2 AF_INET6 = 10 AF_IPX = 4 +AF_ISDN = 34 +AF_KCM = 41 +AF_KEY = 15 +AF_LLC = 26 AF_NETLINK = 16 +AF_NETROM = 6 +AF_NFC = 39 AF_PACKET = 17 +AF_PHONET = 35 +AF_PPPOX = 24 +AF_RDS = 21 +AF_ROSE = 11 +AF_RXRPC = 33 +AF_SMC = 43 +AF_TIPC = 30 AF_UNIX = 1 +AF_VSOCK = 40 AF_X25 = 9 +AF_XDP = 44 AH_ESP_V4_FLOW = 4 AH_ESP_V6_FLOW = 8 AH_V4_FLOW = 9 diff --git a/sys/linux/socket_mips64le.const b/sys/linux/socket_mips64le.const index 6836b3b58..535db4931 100644 --- a/sys/linux/socket_mips64le.const +++ b/sys/linux/socket_mips64le.const @@ -1,15 +1,34 @@ # AUTOGENERATED FILE ADD_VLAN_CMD = 0 +AF_ALG = 38 AF_APPLETALK = 5 AF_ATMPVC = 8 AF_AX25 = 3 +AF_BLUETOOTH = 31 +AF_CAIF = 37 +AF_CAN = 29 AF_INET = 2 AF_INET6 = 10 AF_IPX = 4 +AF_ISDN = 34 +AF_KCM = 41 +AF_KEY = 15 +AF_LLC = 26 AF_NETLINK = 16 +AF_NETROM = 6 +AF_NFC = 39 AF_PACKET = 17 +AF_PHONET = 35 +AF_PPPOX = 24 +AF_RDS = 21 +AF_ROSE = 11 +AF_RXRPC = 33 +AF_SMC = 43 +AF_TIPC = 30 AF_UNIX = 1 +AF_VSOCK = 40 AF_X25 = 9 +AF_XDP = 44 AH_ESP_V4_FLOW = 4 AH_ESP_V6_FLOW = 8 AH_V4_FLOW = 9 diff --git a/sys/linux/socket_netlink_netfilter_queue.txt b/sys/linux/socket_netlink_netfilter_queue.txt new file mode 100644 index 000000000..00a30a2ae --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_queue.txt @@ -0,0 +1,61 @@ +# 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/netlink.h> +include <uapi/linux/netfilter.h> +include <uapi/linux/netfilter/nfnetlink.h> +include <uapi/linux/netfilter/nfnetlink_queue.h> + +type msghdr_nl_queue[CMD, POLICY] msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_QUEUE, CMD, POLICY]] + +sendmsg$NFQNL_MSG_VERDICT(fd sock_nl_netfilter, msg ptr[in, msghdr_nl_queue[NFQNL_MSG_VERDICT, nfqa_verdict_policy]], f flags[send_flags]) +sendmsg$NFQNL_MSG_VERDICT_BATCH(fd sock_nl_netfilter, msg ptr[in, msghdr_nl_queue[NFQNL_MSG_VERDICT_BATCH, nfqa_verdict_batch_policy]], f flags[send_flags]) +sendmsg$NFQNL_MSG_CONFIG(fd sock_nl_netfilter, msg ptr[in, msghdr_nl_queue[NFQNL_MSG_CONFIG, nfqa_cfg_policy]], f flags[send_flags]) + +nfqa_verdict_policy [ + NFQA_VERDICT_HDR nlattr[NFQA_VERDICT_HDR, nfqnl_msg_verdict_hdr] + NFQA_MARK nlnetw[NFQA_MARK, int32be] + NFQA_PAYLOAD nlattr[NFQA_PAYLOAD, array[int8]] + NFQA_CT nlnest[NFQA_CT, array[ct_nla_policy]] + NFQA_EXP nlnest[NFQA_EXP, array[exp_nla_policy]] + NFQA_VLAN nlnest[NFQA_VLAN, array[nfqa_vlan_policy]] +] [varlen] + +nfqa_verdict_batch_policy [ + NFQA_VERDICT_HDR nlattr[NFQA_VERDICT_HDR, nfqnl_msg_verdict_hdr] + NFQA_MARK nlnetw[NFQA_MARK, int32be] +] [varlen] + +nfqa_vlan_policy [ + NFQA_VLAN_TCI nlnetw[NFQA_VLAN_TCI, int16be] + NFQA_VLAN_PROTO nlnetw[NFQA_VLAN_PROTO, flags[vlan_proto, int16be]] +] [varlen] + +nfqa_cfg_policy [ + NFQA_CFG_CMD nlattr[NFQA_CFG_CMD, nfqnl_msg_config_cmd] + NFQA_CFG_PARAMS nlattr[NFQA_CFG_PARAMS, nfqnl_msg_config_params] + NFQA_CFG_QUEUE_MAXLEN nlnetw[NFQA_CFG_QUEUE_MAXLEN, int32be] + NFQA_CFG_MASK nlnetw[NFQA_CFG_MASK, flags[nfqa_cfg_flags, int32be]] + NFQA_CFG_FLAGS nlnetw[NFQA_CFG_FLAGS, flags[nfqa_cfg_flags, int32be]] +] [varlen] + +nfqnl_msg_verdict_hdr { + verdict flags[nf_verdicts, int32be] + id int32be +} + +nfqnl_msg_config_cmd { + command flags[nfqnl_msg_config_cmds, int8] + _pad const[0, int8] + pf flags[socket_domain, int16be] +} + +nfqnl_msg_config_params { + copy_range int32be + copy_mode flags[nfqnl_config_mode, int8] +} [packed] + +nfqa_cfg_flags = NFQA_CFG_F_FAIL_OPEN, NFQA_CFG_F_CONNTRACK, NFQA_CFG_F_GSO, NFQA_CFG_F_UID_GID, NFQA_CFG_F_SECCTX, NFQA_CFG_F_MAX +nfqnl_msg_config_cmds = NFQNL_CFG_CMD_NONE, NFQNL_CFG_CMD_BIND, NFQNL_CFG_CMD_UNBIND, NFQNL_CFG_CMD_PF_BIND, NFQNL_CFG_CMD_PF_UNBIND +nfqnl_config_mode = NFQNL_COPY_NONE, NFQNL_COPY_META, NFQNL_COPY_PACKET diff --git a/sys/linux/socket_netlink_netfilter_queue_386.const b/sys/linux/socket_netlink_netfilter_queue_386.const new file mode 100644 index 000000000..3a8a6eebe --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_queue_386.const @@ -0,0 +1,33 @@ +# AUTOGENERATED FILE +NFNL_SUBSYS_QUEUE = 3 +NFQA_CFG_CMD = 1 +NFQA_CFG_FLAGS = 5 +NFQA_CFG_F_CONNTRACK = 2 +NFQA_CFG_F_FAIL_OPEN = 1 +NFQA_CFG_F_GSO = 4 +NFQA_CFG_F_MAX = 32 +NFQA_CFG_F_SECCTX = 16 +NFQA_CFG_F_UID_GID = 8 +NFQA_CFG_MASK = 4 +NFQA_CFG_PARAMS = 2 +NFQA_CFG_QUEUE_MAXLEN = 3 +NFQA_CT = 11 +NFQA_EXP = 15 +NFQA_MARK = 3 +NFQA_PAYLOAD = 10 +NFQA_VERDICT_HDR = 2 +NFQA_VLAN = 19 +NFQA_VLAN_PROTO = 1 +NFQA_VLAN_TCI = 2 +NFQNL_CFG_CMD_BIND = 1 +NFQNL_CFG_CMD_NONE = 0 +NFQNL_CFG_CMD_PF_BIND = 3 +NFQNL_CFG_CMD_PF_UNBIND = 4 +NFQNL_CFG_CMD_UNBIND = 2 +NFQNL_COPY_META = 1 +NFQNL_COPY_NONE = 0 +NFQNL_COPY_PACKET = 2 +NFQNL_MSG_CONFIG = 2 +NFQNL_MSG_VERDICT = 1 +NFQNL_MSG_VERDICT_BATCH = 3 +__NR_sendmsg = 370 diff --git a/sys/linux/socket_netlink_netfilter_queue_amd64.const b/sys/linux/socket_netlink_netfilter_queue_amd64.const new file mode 100644 index 000000000..9d7823519 --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_queue_amd64.const @@ -0,0 +1,33 @@ +# AUTOGENERATED FILE +NFNL_SUBSYS_QUEUE = 3 +NFQA_CFG_CMD = 1 +NFQA_CFG_FLAGS = 5 +NFQA_CFG_F_CONNTRACK = 2 +NFQA_CFG_F_FAIL_OPEN = 1 +NFQA_CFG_F_GSO = 4 +NFQA_CFG_F_MAX = 32 +NFQA_CFG_F_SECCTX = 16 +NFQA_CFG_F_UID_GID = 8 +NFQA_CFG_MASK = 4 +NFQA_CFG_PARAMS = 2 +NFQA_CFG_QUEUE_MAXLEN = 3 +NFQA_CT = 11 +NFQA_EXP = 15 +NFQA_MARK = 3 +NFQA_PAYLOAD = 10 +NFQA_VERDICT_HDR = 2 +NFQA_VLAN = 19 +NFQA_VLAN_PROTO = 1 +NFQA_VLAN_TCI = 2 +NFQNL_CFG_CMD_BIND = 1 +NFQNL_CFG_CMD_NONE = 0 +NFQNL_CFG_CMD_PF_BIND = 3 +NFQNL_CFG_CMD_PF_UNBIND = 4 +NFQNL_CFG_CMD_UNBIND = 2 +NFQNL_COPY_META = 1 +NFQNL_COPY_NONE = 0 +NFQNL_COPY_PACKET = 2 +NFQNL_MSG_CONFIG = 2 +NFQNL_MSG_VERDICT = 1 +NFQNL_MSG_VERDICT_BATCH = 3 +__NR_sendmsg = 46 diff --git a/sys/linux/socket_netlink_netfilter_queue_arm.const b/sys/linux/socket_netlink_netfilter_queue_arm.const new file mode 100644 index 000000000..4fbc6c98a --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_queue_arm.const @@ -0,0 +1,33 @@ +# AUTOGENERATED FILE +NFNL_SUBSYS_QUEUE = 3 +NFQA_CFG_CMD = 1 +NFQA_CFG_FLAGS = 5 +NFQA_CFG_F_CONNTRACK = 2 +NFQA_CFG_F_FAIL_OPEN = 1 +NFQA_CFG_F_GSO = 4 +NFQA_CFG_F_MAX = 32 +NFQA_CFG_F_SECCTX = 16 +NFQA_CFG_F_UID_GID = 8 +NFQA_CFG_MASK = 4 +NFQA_CFG_PARAMS = 2 +NFQA_CFG_QUEUE_MAXLEN = 3 +NFQA_CT = 11 +NFQA_EXP = 15 +NFQA_MARK = 3 +NFQA_PAYLOAD = 10 +NFQA_VERDICT_HDR = 2 +NFQA_VLAN = 19 +NFQA_VLAN_PROTO = 1 +NFQA_VLAN_TCI = 2 +NFQNL_CFG_CMD_BIND = 1 +NFQNL_CFG_CMD_NONE = 0 +NFQNL_CFG_CMD_PF_BIND = 3 +NFQNL_CFG_CMD_PF_UNBIND = 4 +NFQNL_CFG_CMD_UNBIND = 2 +NFQNL_COPY_META = 1 +NFQNL_COPY_NONE = 0 +NFQNL_COPY_PACKET = 2 +NFQNL_MSG_CONFIG = 2 +NFQNL_MSG_VERDICT = 1 +NFQNL_MSG_VERDICT_BATCH = 3 +__NR_sendmsg = 296 diff --git a/sys/linux/socket_netlink_netfilter_queue_arm64.const b/sys/linux/socket_netlink_netfilter_queue_arm64.const new file mode 100644 index 000000000..ca7c3e229 --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_queue_arm64.const @@ -0,0 +1,33 @@ +# AUTOGENERATED FILE +NFNL_SUBSYS_QUEUE = 3 +NFQA_CFG_CMD = 1 +NFQA_CFG_FLAGS = 5 +NFQA_CFG_F_CONNTRACK = 2 +NFQA_CFG_F_FAIL_OPEN = 1 +NFQA_CFG_F_GSO = 4 +NFQA_CFG_F_MAX = 32 +NFQA_CFG_F_SECCTX = 16 +NFQA_CFG_F_UID_GID = 8 +NFQA_CFG_MASK = 4 +NFQA_CFG_PARAMS = 2 +NFQA_CFG_QUEUE_MAXLEN = 3 +NFQA_CT = 11 +NFQA_EXP = 15 +NFQA_MARK = 3 +NFQA_PAYLOAD = 10 +NFQA_VERDICT_HDR = 2 +NFQA_VLAN = 19 +NFQA_VLAN_PROTO = 1 +NFQA_VLAN_TCI = 2 +NFQNL_CFG_CMD_BIND = 1 +NFQNL_CFG_CMD_NONE = 0 +NFQNL_CFG_CMD_PF_BIND = 3 +NFQNL_CFG_CMD_PF_UNBIND = 4 +NFQNL_CFG_CMD_UNBIND = 2 +NFQNL_COPY_META = 1 +NFQNL_COPY_NONE = 0 +NFQNL_COPY_PACKET = 2 +NFQNL_MSG_CONFIG = 2 +NFQNL_MSG_VERDICT = 1 +NFQNL_MSG_VERDICT_BATCH = 3 +__NR_sendmsg = 211 diff --git a/sys/linux/socket_netlink_netfilter_queue_mips64le.const b/sys/linux/socket_netlink_netfilter_queue_mips64le.const new file mode 100644 index 000000000..d197aaf75 --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_queue_mips64le.const @@ -0,0 +1,33 @@ +# AUTOGENERATED FILE +NFNL_SUBSYS_QUEUE = 3 +NFQA_CFG_CMD = 1 +NFQA_CFG_FLAGS = 5 +NFQA_CFG_F_CONNTRACK = 2 +NFQA_CFG_F_FAIL_OPEN = 1 +NFQA_CFG_F_GSO = 4 +NFQA_CFG_F_MAX = 32 +NFQA_CFG_F_SECCTX = 16 +NFQA_CFG_F_UID_GID = 8 +NFQA_CFG_MASK = 4 +NFQA_CFG_PARAMS = 2 +NFQA_CFG_QUEUE_MAXLEN = 3 +NFQA_CT = 11 +NFQA_EXP = 15 +NFQA_MARK = 3 +NFQA_PAYLOAD = 10 +NFQA_VERDICT_HDR = 2 +NFQA_VLAN = 19 +NFQA_VLAN_PROTO = 1 +NFQA_VLAN_TCI = 2 +NFQNL_CFG_CMD_BIND = 1 +NFQNL_CFG_CMD_NONE = 0 +NFQNL_CFG_CMD_PF_BIND = 3 +NFQNL_CFG_CMD_PF_UNBIND = 4 +NFQNL_CFG_CMD_UNBIND = 2 +NFQNL_COPY_META = 1 +NFQNL_COPY_NONE = 0 +NFQNL_COPY_PACKET = 2 +NFQNL_MSG_CONFIG = 2 +NFQNL_MSG_VERDICT = 1 +NFQNL_MSG_VERDICT_BATCH = 3 +__NR_sendmsg = 5045 diff --git a/sys/linux/socket_netlink_netfilter_queue_ppc64le.const b/sys/linux/socket_netlink_netfilter_queue_ppc64le.const new file mode 100644 index 000000000..3f7fb2c77 --- /dev/null +++ b/sys/linux/socket_netlink_netfilter_queue_ppc64le.const @@ -0,0 +1,33 @@ +# AUTOGENERATED FILE +NFNL_SUBSYS_QUEUE = 3 +NFQA_CFG_CMD = 1 +NFQA_CFG_FLAGS = 5 +NFQA_CFG_F_CONNTRACK = 2 +NFQA_CFG_F_FAIL_OPEN = 1 +NFQA_CFG_F_GSO = 4 +NFQA_CFG_F_MAX = 32 +NFQA_CFG_F_SECCTX = 16 +NFQA_CFG_F_UID_GID = 8 +NFQA_CFG_MASK = 4 +NFQA_CFG_PARAMS = 2 +NFQA_CFG_QUEUE_MAXLEN = 3 +NFQA_CT = 11 +NFQA_EXP = 15 +NFQA_MARK = 3 +NFQA_PAYLOAD = 10 +NFQA_VERDICT_HDR = 2 +NFQA_VLAN = 19 +NFQA_VLAN_PROTO = 1 +NFQA_VLAN_TCI = 2 +NFQNL_CFG_CMD_BIND = 1 +NFQNL_CFG_CMD_NONE = 0 +NFQNL_CFG_CMD_PF_BIND = 3 +NFQNL_CFG_CMD_PF_UNBIND = 4 +NFQNL_CFG_CMD_UNBIND = 2 +NFQNL_COPY_META = 1 +NFQNL_COPY_NONE = 0 +NFQNL_COPY_PACKET = 2 +NFQNL_MSG_CONFIG = 2 +NFQNL_MSG_VERDICT = 1 +NFQNL_MSG_VERDICT_BATCH = 3 +__NR_sendmsg = 341 diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt index e80b12221..a34f61021 100644 --- a/sys/linux/socket_netlink_route.txt +++ b/sys/linux/socket_netlink_route.txt @@ -777,11 +777,9 @@ ifla_vf_vlan_info { vf int32 vlan int32[0:4095] qos int32 - vlan_proto flags[ifla_vf_vlan_proto, int16be] + vlan_proto flags[vlan_proto, int16be] } -ifla_vf_vlan_proto = ETH_P_8021Q, ETH_P_8021AD - ifla_port_policy [ IFLA_PORT_VF nlattr[IFLA_PORT_VF, int32] IFLA_PORT_PROFILE nlattr[IFLA_PORT_PROFILE, string] diff --git a/sys/linux/socket_netlink_route_386.const b/sys/linux/socket_netlink_route_386.const index 24724e6c8..d1986c787 100644 --- a/sys/linux/socket_netlink_route_386.const +++ b/sys/linux/socket_netlink_route_386.const @@ -28,8 +28,6 @@ CGW_MOD_UID = 14 CGW_MOD_XOR = 3 CGW_SRC_IF = 9 CGW_TYPE_CAN_CAN = 1 -ETH_P_8021AD = 34984 -ETH_P_8021Q = 33024 FIB_RULE_FIND_SADDR = 65536 FIB_RULE_IIF_DETACHED = 8 FIB_RULE_INVERT = 2 diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const index facb6cacc..eb780e569 100644 --- a/sys/linux/socket_netlink_route_amd64.const +++ b/sys/linux/socket_netlink_route_amd64.const @@ -28,8 +28,6 @@ CGW_MOD_UID = 14 CGW_MOD_XOR = 3 CGW_SRC_IF = 9 CGW_TYPE_CAN_CAN = 1 -ETH_P_8021AD = 34984 -ETH_P_8021Q = 33024 FIB_RULE_FIND_SADDR = 65536 FIB_RULE_IIF_DETACHED = 8 FIB_RULE_INVERT = 2 diff --git a/sys/linux/socket_netlink_route_arm.const b/sys/linux/socket_netlink_route_arm.const index 0d7cc5623..ef841496f 100644 --- a/sys/linux/socket_netlink_route_arm.const +++ b/sys/linux/socket_netlink_route_arm.const @@ -28,8 +28,6 @@ CGW_MOD_UID = 14 CGW_MOD_XOR = 3 CGW_SRC_IF = 9 CGW_TYPE_CAN_CAN = 1 -ETH_P_8021AD = 34984 -ETH_P_8021Q = 33024 FIB_RULE_FIND_SADDR = 65536 FIB_RULE_IIF_DETACHED = 8 FIB_RULE_INVERT = 2 diff --git a/sys/linux/socket_netlink_route_arm64.const b/sys/linux/socket_netlink_route_arm64.const index 41cdc20fa..b089fc2e8 100644 --- a/sys/linux/socket_netlink_route_arm64.const +++ b/sys/linux/socket_netlink_route_arm64.const @@ -28,8 +28,6 @@ CGW_MOD_UID = 14 CGW_MOD_XOR = 3 CGW_SRC_IF = 9 CGW_TYPE_CAN_CAN = 1 -ETH_P_8021AD = 34984 -ETH_P_8021Q = 33024 FIB_RULE_FIND_SADDR = 65536 FIB_RULE_IIF_DETACHED = 8 FIB_RULE_INVERT = 2 diff --git a/sys/linux/socket_netlink_route_mips64le.const b/sys/linux/socket_netlink_route_mips64le.const index 7d81b8b26..2368b17f1 100644 --- a/sys/linux/socket_netlink_route_mips64le.const +++ b/sys/linux/socket_netlink_route_mips64le.const @@ -28,8 +28,6 @@ CGW_MOD_UID = 14 CGW_MOD_XOR = 3 CGW_SRC_IF = 9 CGW_TYPE_CAN_CAN = 1 -ETH_P_8021AD = 34984 -ETH_P_8021Q = 33024 FIB_RULE_FIND_SADDR = 65536 FIB_RULE_IIF_DETACHED = 8 FIB_RULE_INVERT = 2 diff --git a/sys/linux/socket_netlink_route_ppc64le.const b/sys/linux/socket_netlink_route_ppc64le.const index 67e965b13..a4d13a587 100644 --- a/sys/linux/socket_netlink_route_ppc64le.const +++ b/sys/linux/socket_netlink_route_ppc64le.const @@ -28,8 +28,6 @@ CGW_MOD_UID = 14 CGW_MOD_XOR = 3 CGW_SRC_IF = 9 CGW_TYPE_CAN_CAN = 1 -ETH_P_8021AD = 34984 -ETH_P_8021Q = 33024 FIB_RULE_FIND_SADDR = 65536 FIB_RULE_IIF_DETACHED = 8 FIB_RULE_INVERT = 2 diff --git a/sys/linux/socket_ppc64le.const b/sys/linux/socket_ppc64le.const index 5962b6123..d43421d18 100644 --- a/sys/linux/socket_ppc64le.const +++ b/sys/linux/socket_ppc64le.const @@ -1,15 +1,34 @@ # AUTOGENERATED FILE ADD_VLAN_CMD = 0 +AF_ALG = 38 AF_APPLETALK = 5 AF_ATMPVC = 8 AF_AX25 = 3 +AF_BLUETOOTH = 31 +AF_CAIF = 37 +AF_CAN = 29 AF_INET = 2 AF_INET6 = 10 AF_IPX = 4 +AF_ISDN = 34 +AF_KCM = 41 +AF_KEY = 15 +AF_LLC = 26 AF_NETLINK = 16 +AF_NETROM = 6 +AF_NFC = 39 AF_PACKET = 17 +AF_PHONET = 35 +AF_PPPOX = 24 +AF_RDS = 21 +AF_ROSE = 11 +AF_RXRPC = 33 +AF_SMC = 43 +AF_TIPC = 30 AF_UNIX = 1 +AF_VSOCK = 40 AF_X25 = 9 +AF_XDP = 44 AH_ESP_V4_FLOW = 4 AH_ESP_V6_FLOW = 8 AH_V4_FLOW = 9 |
