aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-09 15:01:23 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-09 15:13:17 +0100
commit4de4e9f01d7139b72102ae0b8a1e810730467774 (patch)
tree8d79e599adaab3b7fe74020ad10f23adcaa828c2 /sys/linux/gen
parenta41d89c7c9c1d0f683ea9884d33d094247eda218 (diff)
sys/linux: add NFNL_SUBSYS_ULOG descriptions
Diffstat (limited to 'sys/linux/gen')
-rw-r--r--sys/linux/gen/386.go107
-rw-r--r--sys/linux/gen/amd64.go109
-rw-r--r--sys/linux/gen/arm.go107
-rw-r--r--sys/linux/gen/arm64.go109
-rw-r--r--sys/linux/gen/mips64le.go109
-rw-r--r--sys/linux/gen/ppc64le.go109
6 files changed, 644 insertions, 6 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index f21da7083..7640c4424 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -9292,6 +9292,10 @@ var structDescs_386 = []*KeyedStruct{
&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_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_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"}},
@@ -13900,6 +13904,15 @@ 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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_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_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"}},
@@ -15821,6 +15834,16 @@ 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: "nfqa_verdict_batch_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 4},
+ &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: "nfula_cfg_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"},
@@ -18209,6 +18232,19 @@ var structDescs_386 = []*KeyedStruct{
&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: "nfula_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfula_cfg_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, FldName: "NFULA_CFG_CMD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, FldName: "NFULA_CFG_MODE"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_TIMEOUT"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_QTHRESH"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_NLBUFSIZ"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, FldName: "NFULA_CFG_FLAGS"},
+ }}},
+ {Key: StructKey{Name: "nfulnl_msg_config_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_mode", TypeSize: 6}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_copy_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 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"},
@@ -22103,6 +22139,20 @@ var structDescs_386 = []*KeyedStruct{
&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[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]", 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},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_cmds", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4}},
+ &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[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]", 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: "nfulnl_msg_config_mode"}, FldName: "payload"},
+ &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_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},
@@ -27985,6 +28035,39 @@ var structDescs_386 = []*KeyedStruct{
&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[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, 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: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_cfg_flags", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 4}, BitMask: true},
+ &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[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, 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[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_QTHRESH, 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: 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}},
+ &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[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_TIMEOUT, 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: 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}},
+ &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[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},
@@ -53062,6 +53145,11 @@ 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_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$NFULNL_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_ULOG, NFULNL_MSG_CONFIG, nfula_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$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]]"}}},
@@ -62211,6 +62299,23 @@ var consts_386 = []ConstValue{
{Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3},
{Name: "NFQ_FLAG_BYPASS", Value: 1},
{Name: "NFQ_FLAG_CPU_FANOUT", Value: 2},
+ {Name: "NFULA_CFG_CMD", Value: 1},
+ {Name: "NFULA_CFG_FLAGS", Value: 6},
+ {Name: "NFULA_CFG_MODE", Value: 2},
+ {Name: "NFULA_CFG_NLBUFSIZ", Value: 3},
+ {Name: "NFULA_CFG_QTHRESH", Value: 5},
+ {Name: "NFULA_CFG_TIMEOUT", Value: 4},
+ {Name: "NFULNL_CFG_CMD_BIND", Value: 1},
+ {Name: "NFULNL_CFG_CMD_PF_BIND", Value: 3},
+ {Name: "NFULNL_CFG_CMD_PF_UNBIND", Value: 4},
+ {Name: "NFULNL_CFG_CMD_UNBIND", Value: 2},
+ {Name: "NFULNL_CFG_F_CONNTRACK", Value: 4},
+ {Name: "NFULNL_CFG_F_SEQ", Value: 1},
+ {Name: "NFULNL_CFG_F_SEQ_GLOBAL", Value: 2},
+ {Name: "NFULNL_COPY_META", Value: 1},
+ {Name: "NFULNL_COPY_NONE"},
+ {Name: "NFULNL_COPY_PACKET", Value: 2},
+ {Name: "NFULNL_MSG_CONFIG", Value: 1},
{Name: "NF_ACCEPT", Value: 1},
{Name: "NF_ACCEPT_VERDICT", Value: 18446744073709551614},
{Name: "NF_ARP_NUMHOOKS", Value: 3},
@@ -67481,4 +67586,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "7e9f60a470e1dc13cdf8018684fe3e64ec39d495"
+const revision_386 = "e93775626bbc56ad4a8f076dcc31ec2e98ee0f15"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index ef2fe988d..50729903c 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -9443,6 +9443,10 @@ var structDescs_amd64 = []*KeyedStruct{
&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_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_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"}},
@@ -14152,6 +14156,17 @@ 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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_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_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"}},
@@ -16394,6 +16409,16 @@ 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: "nfqa_verdict_batch_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 4},
+ &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: "nfula_cfg_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"},
@@ -18784,6 +18809,19 @@ var structDescs_amd64 = []*KeyedStruct{
&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: "nfula_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfula_cfg_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, FldName: "NFULA_CFG_CMD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, FldName: "NFULA_CFG_MODE"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_TIMEOUT"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_QTHRESH"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_NLBUFSIZ"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, FldName: "NFULA_CFG_FLAGS"},
+ }}},
+ {Key: StructKey{Name: "nfulnl_msg_config_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_mode", TypeSize: 6}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_copy_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 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"},
@@ -22678,6 +22716,20 @@ var structDescs_amd64 = []*KeyedStruct{
&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[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]", 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},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_cmds", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4}},
+ &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[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]", 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: "nfulnl_msg_config_mode"}, FldName: "payload"},
+ &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_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},
@@ -28560,6 +28612,39 @@ var structDescs_amd64 = []*KeyedStruct{
&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[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, 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: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_cfg_flags", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 4}, BitMask: true},
+ &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[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, 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[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_QTHRESH, 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: 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}},
+ &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[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_TIMEOUT, 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: 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}},
+ &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[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},
@@ -53896,6 +53981,11 @@ 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_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$NFULNL_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_ULOG, NFULNL_MSG_CONFIG, nfula_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$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]]"}}},
@@ -63041,6 +63131,23 @@ var consts_amd64 = []ConstValue{
{Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3},
{Name: "NFQ_FLAG_BYPASS", Value: 1},
{Name: "NFQ_FLAG_CPU_FANOUT", Value: 2},
+ {Name: "NFULA_CFG_CMD", Value: 1},
+ {Name: "NFULA_CFG_FLAGS", Value: 6},
+ {Name: "NFULA_CFG_MODE", Value: 2},
+ {Name: "NFULA_CFG_NLBUFSIZ", Value: 3},
+ {Name: "NFULA_CFG_QTHRESH", Value: 5},
+ {Name: "NFULA_CFG_TIMEOUT", Value: 4},
+ {Name: "NFULNL_CFG_CMD_BIND", Value: 1},
+ {Name: "NFULNL_CFG_CMD_PF_BIND", Value: 3},
+ {Name: "NFULNL_CFG_CMD_PF_UNBIND", Value: 4},
+ {Name: "NFULNL_CFG_CMD_UNBIND", Value: 2},
+ {Name: "NFULNL_CFG_F_CONNTRACK", Value: 4},
+ {Name: "NFULNL_CFG_F_SEQ", Value: 1},
+ {Name: "NFULNL_CFG_F_SEQ_GLOBAL", Value: 2},
+ {Name: "NFULNL_COPY_META", Value: 1},
+ {Name: "NFULNL_COPY_NONE"},
+ {Name: "NFULNL_COPY_PACKET", Value: 2},
+ {Name: "NFULNL_MSG_CONFIG", Value: 1},
{Name: "NF_ACCEPT", Value: 1},
{Name: "NF_ACCEPT_VERDICT", Value: 18446744073709551614},
{Name: "NF_ARP_NUMHOOKS", Value: 3},
@@ -68322,4 +68429,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "15411c81ef641fcf9080d67c756f64069c906107"
+const revision_amd64 = "9379e6a4f7401c7a3bd47136748a239c05caba40"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index e71bb8887..0181dea55 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -9327,6 +9327,10 @@ var structDescs_arm = []*KeyedStruct{
&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_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_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"}},
@@ -13758,6 +13762,15 @@ 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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_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_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"}},
@@ -15679,6 +15692,16 @@ 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: "nfqa_verdict_batch_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 4},
+ &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: "nfula_cfg_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"},
@@ -18067,6 +18090,19 @@ var structDescs_arm = []*KeyedStruct{
&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: "nfula_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfula_cfg_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, FldName: "NFULA_CFG_CMD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, FldName: "NFULA_CFG_MODE"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_TIMEOUT"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_QTHRESH"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_NLBUFSIZ"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, FldName: "NFULA_CFG_FLAGS"},
+ }}},
+ {Key: StructKey{Name: "nfulnl_msg_config_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_mode", TypeSize: 6}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_copy_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 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"},
@@ -21961,6 +21997,20 @@ var structDescs_arm = []*KeyedStruct{
&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[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]", 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},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_cmds", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4}},
+ &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[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]", 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: "nfulnl_msg_config_mode"}, FldName: "payload"},
+ &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_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},
@@ -27843,6 +27893,39 @@ var structDescs_arm = []*KeyedStruct{
&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[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, 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: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_cfg_flags", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 4}, BitMask: true},
+ &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[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, 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[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_QTHRESH, 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: 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}},
+ &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[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_TIMEOUT, 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: 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}},
+ &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[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},
@@ -52803,6 +52886,11 @@ 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_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$NFULNL_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_ULOG, NFULNL_MSG_CONFIG, nfula_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$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]]"}}},
@@ -61876,6 +61964,23 @@ var consts_arm = []ConstValue{
{Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3},
{Name: "NFQ_FLAG_BYPASS", Value: 1},
{Name: "NFQ_FLAG_CPU_FANOUT", Value: 2},
+ {Name: "NFULA_CFG_CMD", Value: 1},
+ {Name: "NFULA_CFG_FLAGS", Value: 6},
+ {Name: "NFULA_CFG_MODE", Value: 2},
+ {Name: "NFULA_CFG_NLBUFSIZ", Value: 3},
+ {Name: "NFULA_CFG_QTHRESH", Value: 5},
+ {Name: "NFULA_CFG_TIMEOUT", Value: 4},
+ {Name: "NFULNL_CFG_CMD_BIND", Value: 1},
+ {Name: "NFULNL_CFG_CMD_PF_BIND", Value: 3},
+ {Name: "NFULNL_CFG_CMD_PF_UNBIND", Value: 4},
+ {Name: "NFULNL_CFG_CMD_UNBIND", Value: 2},
+ {Name: "NFULNL_CFG_F_CONNTRACK", Value: 4},
+ {Name: "NFULNL_CFG_F_SEQ", Value: 1},
+ {Name: "NFULNL_CFG_F_SEQ_GLOBAL", Value: 2},
+ {Name: "NFULNL_COPY_META", Value: 1},
+ {Name: "NFULNL_COPY_NONE"},
+ {Name: "NFULNL_COPY_PACKET", Value: 2},
+ {Name: "NFULNL_MSG_CONFIG", Value: 1},
{Name: "NF_ACCEPT", Value: 1},
{Name: "NF_ACCEPT_VERDICT", Value: 18446744073709551614},
{Name: "NF_ARP_NUMHOOKS", Value: 3},
@@ -67132,4 +67237,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "7eef1ae2e8bf1f2f9d70201dba9dcec166c7ef1d"
+const revision_arm = "3bed7c8c605f090bbec5343251c85c0509d3b338"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 7a70268b2..61d34ed0e 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -9443,6 +9443,10 @@ var structDescs_arm64 = []*KeyedStruct{
&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_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_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"}},
@@ -13961,6 +13965,17 @@ 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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_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_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"}},
@@ -16203,6 +16218,16 @@ 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: "nfqa_verdict_batch_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 4},
+ &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: "nfula_cfg_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"},
@@ -18593,6 +18618,19 @@ var structDescs_arm64 = []*KeyedStruct{
&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: "nfula_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfula_cfg_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, FldName: "NFULA_CFG_CMD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, FldName: "NFULA_CFG_MODE"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_TIMEOUT"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_QTHRESH"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_NLBUFSIZ"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, FldName: "NFULA_CFG_FLAGS"},
+ }}},
+ {Key: StructKey{Name: "nfulnl_msg_config_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_mode", TypeSize: 6}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_copy_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 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"},
@@ -22487,6 +22525,20 @@ var structDescs_arm64 = []*KeyedStruct{
&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[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]", 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},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_cmds", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4}},
+ &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[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]", 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: "nfulnl_msg_config_mode"}, FldName: "payload"},
+ &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_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},
@@ -28369,6 +28421,39 @@ var structDescs_arm64 = []*KeyedStruct{
&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[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, 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: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_cfg_flags", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 4}, BitMask: true},
+ &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[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, 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[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_QTHRESH, 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: 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}},
+ &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[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_TIMEOUT, 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: 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}},
+ &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[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},
@@ -53392,6 +53477,11 @@ 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_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$NFULNL_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_ULOG, NFULNL_MSG_CONFIG, nfula_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$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]]"}}},
@@ -62438,6 +62528,23 @@ var consts_arm64 = []ConstValue{
{Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3},
{Name: "NFQ_FLAG_BYPASS", Value: 1},
{Name: "NFQ_FLAG_CPU_FANOUT", Value: 2},
+ {Name: "NFULA_CFG_CMD", Value: 1},
+ {Name: "NFULA_CFG_FLAGS", Value: 6},
+ {Name: "NFULA_CFG_MODE", Value: 2},
+ {Name: "NFULA_CFG_NLBUFSIZ", Value: 3},
+ {Name: "NFULA_CFG_QTHRESH", Value: 5},
+ {Name: "NFULA_CFG_TIMEOUT", Value: 4},
+ {Name: "NFULNL_CFG_CMD_BIND", Value: 1},
+ {Name: "NFULNL_CFG_CMD_PF_BIND", Value: 3},
+ {Name: "NFULNL_CFG_CMD_PF_UNBIND", Value: 4},
+ {Name: "NFULNL_CFG_CMD_UNBIND", Value: 2},
+ {Name: "NFULNL_CFG_F_CONNTRACK", Value: 4},
+ {Name: "NFULNL_CFG_F_SEQ", Value: 1},
+ {Name: "NFULNL_CFG_F_SEQ_GLOBAL", Value: 2},
+ {Name: "NFULNL_COPY_META", Value: 1},
+ {Name: "NFULNL_COPY_NONE"},
+ {Name: "NFULNL_COPY_PACKET", Value: 2},
+ {Name: "NFULNL_MSG_CONFIG", Value: 1},
{Name: "NF_ACCEPT", Value: 1},
{Name: "NF_ACCEPT_VERDICT", Value: 18446744073709551614},
{Name: "NF_ARP_NUMHOOKS", Value: 3},
@@ -67667,4 +67774,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "1ca3b6db7c5fb3149a4f6ea7cc58cdddfd30c436"
+const revision_arm64 = "7daa986f94b343d2933b46e77aa3b6c89e0d412f"
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go
index d99338c5e..a25f9f4c5 100644
--- a/sys/linux/gen/mips64le.go
+++ b/sys/linux/gen/mips64le.go
@@ -9440,6 +9440,10 @@ var structDescs_mips64le = []*KeyedStruct{
&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_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_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"}},
@@ -13905,6 +13909,17 @@ 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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_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_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"}},
@@ -16147,6 +16162,16 @@ 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: "nfqa_verdict_batch_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 4},
+ &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: "nfula_cfg_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"},
@@ -18537,6 +18562,19 @@ var structDescs_mips64le = []*KeyedStruct{
&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: "nfula_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfula_cfg_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, FldName: "NFULA_CFG_CMD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, FldName: "NFULA_CFG_MODE"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_TIMEOUT"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_QTHRESH"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_NLBUFSIZ"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, FldName: "NFULA_CFG_FLAGS"},
+ }}},
+ {Key: StructKey{Name: "nfulnl_msg_config_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_mode", TypeSize: 6}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_copy_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 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"},
@@ -22431,6 +22469,20 @@ var structDescs_mips64le = []*KeyedStruct{
&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[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]", 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},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_cmds", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4}},
+ &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[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]", 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: "nfulnl_msg_config_mode"}, FldName: "payload"},
+ &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_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},
@@ -28313,6 +28365,39 @@ var structDescs_mips64le = []*KeyedStruct{
&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[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, 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: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_cfg_flags", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 4}, BitMask: true},
+ &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[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, 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[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_QTHRESH, 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: 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}},
+ &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[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_TIMEOUT, 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: 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}},
+ &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[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},
@@ -52007,6 +52092,11 @@ 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_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$NFULNL_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_ULOG, NFULNL_MSG_CONFIG, nfula_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$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]]"}}},
@@ -60992,6 +61082,23 @@ var consts_mips64le = []ConstValue{
{Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3},
{Name: "NFQ_FLAG_BYPASS", Value: 1},
{Name: "NFQ_FLAG_CPU_FANOUT", Value: 2},
+ {Name: "NFULA_CFG_CMD", Value: 1},
+ {Name: "NFULA_CFG_FLAGS", Value: 6},
+ {Name: "NFULA_CFG_MODE", Value: 2},
+ {Name: "NFULA_CFG_NLBUFSIZ", Value: 3},
+ {Name: "NFULA_CFG_QTHRESH", Value: 5},
+ {Name: "NFULA_CFG_TIMEOUT", Value: 4},
+ {Name: "NFULNL_CFG_CMD_BIND", Value: 1},
+ {Name: "NFULNL_CFG_CMD_PF_BIND", Value: 3},
+ {Name: "NFULNL_CFG_CMD_PF_UNBIND", Value: 4},
+ {Name: "NFULNL_CFG_CMD_UNBIND", Value: 2},
+ {Name: "NFULNL_CFG_F_CONNTRACK", Value: 4},
+ {Name: "NFULNL_CFG_F_SEQ", Value: 1},
+ {Name: "NFULNL_CFG_F_SEQ_GLOBAL", Value: 2},
+ {Name: "NFULNL_COPY_META", Value: 1},
+ {Name: "NFULNL_COPY_NONE"},
+ {Name: "NFULNL_COPY_PACKET", Value: 2},
+ {Name: "NFULNL_MSG_CONFIG", Value: 1},
{Name: "NF_ACCEPT", Value: 1},
{Name: "NF_ACCEPT_VERDICT", Value: 18446744073709551614},
{Name: "NF_ARP_NUMHOOKS", Value: 3},
@@ -65290,4 +65397,4 @@ var consts_mips64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_mips64le = "448dfc07470bcab49ab7d2a2ce47fda47073905f"
+const revision_mips64le = "4899f1d40450ca5e68f34c6c7243524a6b2f229a"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index edb098996..75e83017e 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -9442,6 +9442,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&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_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_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"}},
@@ -13907,6 +13911,17 @@ 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_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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_ULOG, NFULNL_MSG_CONFIG, nfula_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_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"}},
@@ -16149,6 +16164,16 @@ 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: "nfqa_verdict_batch_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_cfg_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter_t[NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, nfula_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: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subsys", TypeSize: 1}}, Val: 4},
+ &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: "nfula_cfg_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"},
@@ -18539,6 +18564,19 @@ var structDescs_ppc64le = []*KeyedStruct{
&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: "nfula_cfg_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfula_cfg_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, FldName: "NFULA_CFG_CMD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, FldName: "NFULA_CFG_MODE"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_TIMEOUT"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_QTHRESH"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, FldName: "NFULA_CFG_NLBUFSIZ"},
+ &StructType{Key: StructKey{Name: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, FldName: "NFULA_CFG_FLAGS"},
+ }}},
+ {Key: StructKey{Name: "nfulnl_msg_config_mode"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_mode", TypeSize: 6}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "copy_range", TypeSize: 4}, ArgFormat: 1}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_copy_mode", FldName: "copy_mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2}, BitMask: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "_pad", TypeSize: 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"},
@@ -22433,6 +22471,20 @@ var structDescs_ppc64le = []*KeyedStruct{
&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[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_CMD, int16], flags[nfulnl_msg_config_cmds, int8]]", 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},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfulnl_msg_config_cmds", FldName: "payload", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4}},
+ &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[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NFULA_CFG_MODE, int16], nfulnl_msg_config_mode]", 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: "nfulnl_msg_config_mode"}, FldName: "payload"},
+ &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_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},
@@ -28315,6 +28367,39 @@ var structDescs_ppc64le = []*KeyedStruct{
&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[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, int16be]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_FLAGS, int16:14], 1, 0, flags[nfula_cfg_flags, 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: 6},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfula_cfg_flags", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 4}, BitMask: true},
+ &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[NFULA_CFG_NLBUFSIZ, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_NLBUFSIZ, 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[NFULA_CFG_QTHRESH, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_QTHRESH, 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: 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}},
+ &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[NFULA_CFG_TIMEOUT, int16:14], 1, 0, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[NFULA_CFG_TIMEOUT, 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: 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}},
+ &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[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},
@@ -53340,6 +53425,11 @@ 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_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$NFULNL_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_ULOG, NFULNL_MSG_CONFIG, nfula_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$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]]"}}},
@@ -62413,6 +62503,23 @@ var consts_ppc64le = []ConstValue{
{Name: "NFQNL_MSG_VERDICT_BATCH", Value: 3},
{Name: "NFQ_FLAG_BYPASS", Value: 1},
{Name: "NFQ_FLAG_CPU_FANOUT", Value: 2},
+ {Name: "NFULA_CFG_CMD", Value: 1},
+ {Name: "NFULA_CFG_FLAGS", Value: 6},
+ {Name: "NFULA_CFG_MODE", Value: 2},
+ {Name: "NFULA_CFG_NLBUFSIZ", Value: 3},
+ {Name: "NFULA_CFG_QTHRESH", Value: 5},
+ {Name: "NFULA_CFG_TIMEOUT", Value: 4},
+ {Name: "NFULNL_CFG_CMD_BIND", Value: 1},
+ {Name: "NFULNL_CFG_CMD_PF_BIND", Value: 3},
+ {Name: "NFULNL_CFG_CMD_PF_UNBIND", Value: 4},
+ {Name: "NFULNL_CFG_CMD_UNBIND", Value: 2},
+ {Name: "NFULNL_CFG_F_CONNTRACK", Value: 4},
+ {Name: "NFULNL_CFG_F_SEQ", Value: 1},
+ {Name: "NFULNL_CFG_F_SEQ_GLOBAL", Value: 2},
+ {Name: "NFULNL_COPY_META", Value: 1},
+ {Name: "NFULNL_COPY_NONE"},
+ {Name: "NFULNL_COPY_PACKET", Value: 2},
+ {Name: "NFULNL_MSG_CONFIG", Value: 1},
{Name: "NF_ACCEPT", Value: 1},
{Name: "NF_ACCEPT_VERDICT", Value: 18446744073709551614},
{Name: "NF_ARP_NUMHOOKS", Value: 3},
@@ -67626,4 +67733,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "8f382810e126897db725134769e03031d986d5ef"
+const revision_ppc64le = "7b3c4592b2985529cef26d57868a5a84cd505620"