aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2019-10-24 00:02:01 -0400
committerDmitry Vyukov <dvyukov@google.com>2019-10-24 09:30:50 +0200
commit910e03ca15ea4b364c3cfb1b5af4c1f5f54ec7aa (patch)
tree4aba2582d968f7777cd3926549d30925c667161b /sys/linux
parentb602d64b5991c147af88f1e0f8d961c8b4b4a748 (diff)
sys/linux/socket_netlink_route_sched: add chain actions
Update #533 Chain actions also use filter policies, so we can add them easily. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/bpf_386.const2
-rw-r--r--sys/linux/bpf_amd64.const2
-rw-r--r--sys/linux/bpf_arm.const2
-rw-r--r--sys/linux/bpf_arm64.const2
-rw-r--r--sys/linux/bpf_ppc64le.const2
-rw-r--r--sys/linux/gen/386.go45
-rw-r--r--sys/linux/gen/amd64.go39
-rw-r--r--sys/linux/gen/arm.go45
-rw-r--r--sys/linux/gen/arm64.go39
-rw-r--r--sys/linux/gen/ppc64le.go39
-rw-r--r--sys/linux/socket_netlink_route_sched.txt3
-rw-r--r--sys/linux/socket_netlink_route_sched_386.const3
-rw-r--r--sys/linux/socket_netlink_route_sched_amd64.const3
-rw-r--r--sys/linux/socket_netlink_route_sched_arm.const3
-rw-r--r--sys/linux/socket_netlink_route_sched_arm64.const3
-rw-r--r--sys/linux/socket_netlink_route_sched_ppc64le.const3
-rw-r--r--sys/linux/watch_queue_386.const1
-rw-r--r--sys/linux/watch_queue_arm.const1
18 files changed, 217 insertions, 20 deletions
diff --git a/sys/linux/bpf_386.const b/sys/linux/bpf_386.const
index 01249d6ba..a5b577d02 100644
--- a/sys/linux/bpf_386.const
+++ b/sys/linux/bpf_386.const
@@ -198,7 +198,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 111
+__BPF_FUNC_MAX_ID = 112
__MAX_BPF_REG = 11
__NR_bpf = 357
bpf_call_code = 133
diff --git a/sys/linux/bpf_amd64.const b/sys/linux/bpf_amd64.const
index 4acdd495b..9b579a2ff 100644
--- a/sys/linux/bpf_amd64.const
+++ b/sys/linux/bpf_amd64.const
@@ -198,7 +198,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 111
+__BPF_FUNC_MAX_ID = 112
__MAX_BPF_REG = 11
__NR_bpf = 321
bpf_call_code = 133
diff --git a/sys/linux/bpf_arm.const b/sys/linux/bpf_arm.const
index 4e5db94e4..deaf3213a 100644
--- a/sys/linux/bpf_arm.const
+++ b/sys/linux/bpf_arm.const
@@ -198,7 +198,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 111
+__BPF_FUNC_MAX_ID = 112
__MAX_BPF_REG = 11
__NR_bpf = 386
bpf_call_code = 133
diff --git a/sys/linux/bpf_arm64.const b/sys/linux/bpf_arm64.const
index 86c0f5226..b2e3d9e93 100644
--- a/sys/linux/bpf_arm64.const
+++ b/sys/linux/bpf_arm64.const
@@ -198,7 +198,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 111
+__BPF_FUNC_MAX_ID = 112
__MAX_BPF_REG = 11
__NR_bpf = 280
bpf_call_code = 133
diff --git a/sys/linux/bpf_ppc64le.const b/sys/linux/bpf_ppc64le.const
index 96e90ba4d..d4ecd4647 100644
--- a/sys/linux/bpf_ppc64le.const
+++ b/sys/linux/bpf_ppc64le.const
@@ -198,7 +198,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 111
+__BPF_FUNC_MAX_ID = 112
__MAX_BPF_REG = 11
__NR_bpf = 361
bpf_call_code = 133
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index b2120dd04..62cbb111c 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -1127,7 +1127,7 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 111},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 112},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -12667,6 +12667,9 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newtfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "deltfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETTFILTER, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "gettfilter"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "delchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "getchain"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWACTION, int16], tcamsg[AF_UNSPEC], nlattr[TCA_ACT_TAB, tca_actions]]"}, FldName: "newtaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"},
@@ -12752,6 +12755,15 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 101},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 17},
@@ -12916,6 +12928,15 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]", 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: 2}}, Val: 102},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CHAIN, int16], int32]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 18},
@@ -13156,6 +13177,15 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 100},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
@@ -44597,6 +44627,11 @@ var syscalls_386 = []*Syscall{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wait_options", FldName: "options", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 4, 2, 8, 1, 16777216, 2147483648, 1073741824, 536870912}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ru", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "rusage", Dir: 1}}},
}},
+ {NR: 436, Name: "watch_devices", CallName: "watch_devices", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_watch_queue", FldName: "watch_fd", TypeSize: 4}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "watch_id", TypeSize: 4}}, Kind: 2, RangeBegin: 18446744073709551615, RangeEnd: 255},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ }},
{NR: 4, Name: "write", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
@@ -49791,6 +49826,7 @@ var consts_386 = []ConstValue{
{Name: "RTF_WINDOW", Value: 128},
{Name: "RTM_DELACTION", Value: 49},
{Name: "RTM_DELADDR", Value: 21},
+ {Name: "RTM_DELCHAIN", Value: 101},
{Name: "RTM_DELLINK", Value: 17},
{Name: "RTM_DELNEIGH", Value: 29},
{Name: "RTM_DELQDISC", Value: 37},
@@ -49807,6 +49843,7 @@ var consts_386 = []ConstValue{
{Name: "RTM_GETACTION", Value: 50},
{Name: "RTM_GETADDR", Value: 22},
{Name: "RTM_GETANYCAST", Value: 62},
+ {Name: "RTM_GETCHAIN", Value: 102},
{Name: "RTM_GETLINK", Value: 18},
{Name: "RTM_GETMULTICAST", Value: 58},
{Name: "RTM_GETNEIGH", Value: 30},
@@ -49821,6 +49858,7 @@ var consts_386 = []ConstValue{
{Name: "RTM_GETTFILTER", Value: 46},
{Name: "RTM_NEWACTION", Value: 48},
{Name: "RTM_NEWADDR", Value: 20},
+ {Name: "RTM_NEWCHAIN", Value: 100},
{Name: "RTM_NEWLINK", Value: 16},
{Name: "RTM_NEWNEIGH", Value: 28},
{Name: "RTM_NEWNSID", Value: 88},
@@ -53204,7 +53242,7 @@ var consts_386 = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 111},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 112},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept4", Value: 364},
{Name: "__NR_acct", Value: 51},
@@ -53511,6 +53549,7 @@ var consts_386 = []ConstValue{
{Name: "__NR_vmsplice", Value: 316},
{Name: "__NR_wait4", Value: 114},
{Name: "__NR_waitid", Value: 284},
+ {Name: "__NR_watch_devices", Value: 436},
{Name: "__NR_write", Value: 4},
{Name: "__NR_writev", Value: 146},
{Name: "__O_TMPFILE", Value: 4194304},
@@ -53522,4 +53561,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "92fc7e6fd70eb1c6eff9510a3950694bfd004eaa"
+const revision_386 = "238b7dc5623d9c76c0a746cc94732564dd843cda"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index e2424e44a..1ec0cb5b7 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -1130,7 +1130,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 111},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 112},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -12964,6 +12964,9 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newtfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "deltfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETTFILTER, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "gettfilter"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "delchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "getchain"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWACTION, int16], tcamsg[AF_UNSPEC], nlattr[TCA_ACT_TAB, tca_actions]]"}, FldName: "newtaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"},
@@ -13049,6 +13052,15 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 101},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 17},
@@ -13213,6 +13225,15 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]", 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: 2}}, Val: 102},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CHAIN, int16], int32]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 18},
@@ -13453,6 +13474,15 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 100},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
@@ -50326,6 +50356,7 @@ var consts_amd64 = []ConstValue{
{Name: "RTF_WINDOW", Value: 128},
{Name: "RTM_DELACTION", Value: 49},
{Name: "RTM_DELADDR", Value: 21},
+ {Name: "RTM_DELCHAIN", Value: 101},
{Name: "RTM_DELLINK", Value: 17},
{Name: "RTM_DELNEIGH", Value: 29},
{Name: "RTM_DELQDISC", Value: 37},
@@ -50342,6 +50373,7 @@ var consts_amd64 = []ConstValue{
{Name: "RTM_GETACTION", Value: 50},
{Name: "RTM_GETADDR", Value: 22},
{Name: "RTM_GETANYCAST", Value: 62},
+ {Name: "RTM_GETCHAIN", Value: 102},
{Name: "RTM_GETLINK", Value: 18},
{Name: "RTM_GETMULTICAST", Value: 58},
{Name: "RTM_GETNEIGH", Value: 30},
@@ -50356,6 +50388,7 @@ var consts_amd64 = []ConstValue{
{Name: "RTM_GETTFILTER", Value: 46},
{Name: "RTM_NEWACTION", Value: 48},
{Name: "RTM_NEWADDR", Value: 20},
+ {Name: "RTM_NEWCHAIN", Value: 100},
{Name: "RTM_NEWLINK", Value: 16},
{Name: "RTM_NEWNEIGH", Value: 28},
{Name: "RTM_NEWNSID", Value: 88},
@@ -53753,7 +53786,7 @@ var consts_amd64 = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 111},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 112},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 43},
{Name: "__NR_accept4", Value: 288},
@@ -54073,4 +54106,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "e68df44a75ffa2dbdc6ce78af81469d616c4deb6"
+const revision_amd64 = "7330120bdee27717f8e19d43096cee7ef68f4086"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 56f30f2ae..1eb1326f9 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -1127,7 +1127,7 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 111},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 112},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -12484,6 +12484,9 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newtfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "deltfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETTFILTER, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "gettfilter"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "delchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "getchain"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWACTION, int16], tcamsg[AF_UNSPEC], nlattr[TCA_ACT_TAB, tca_actions]]"}, FldName: "newtaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"},
@@ -12569,6 +12572,15 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 101},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 17},
@@ -12733,6 +12745,15 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]", 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: 2}}, Val: 102},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CHAIN, int16], int32]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 18},
@@ -12973,6 +12994,15 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 100},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
@@ -44246,6 +44276,11 @@ var syscalls_arm = []*Syscall{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wait_options", FldName: "options", TypeSize: 4}}, Vals: []uint64{1, 2, 8, 4, 2, 8, 1, 16777216, 2147483648, 1073741824, 536870912}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ru", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "rusage", Dir: 1}}},
}},
+ {NR: 436, Name: "watch_devices", CallName: "watch_devices", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_watch_queue", FldName: "watch_fd", TypeSize: 4}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "watch_id", TypeSize: 4}}, Kind: 2, RangeBegin: 18446744073709551615, RangeEnd: 255},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ }},
{NR: 4, Name: "write", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
@@ -49378,6 +49413,7 @@ var consts_arm = []ConstValue{
{Name: "RTF_WINDOW", Value: 128},
{Name: "RTM_DELACTION", Value: 49},
{Name: "RTM_DELADDR", Value: 21},
+ {Name: "RTM_DELCHAIN", Value: 101},
{Name: "RTM_DELLINK", Value: 17},
{Name: "RTM_DELNEIGH", Value: 29},
{Name: "RTM_DELQDISC", Value: 37},
@@ -49394,6 +49430,7 @@ var consts_arm = []ConstValue{
{Name: "RTM_GETACTION", Value: 50},
{Name: "RTM_GETADDR", Value: 22},
{Name: "RTM_GETANYCAST", Value: 62},
+ {Name: "RTM_GETCHAIN", Value: 102},
{Name: "RTM_GETLINK", Value: 18},
{Name: "RTM_GETMULTICAST", Value: 58},
{Name: "RTM_GETNEIGH", Value: 30},
@@ -49408,6 +49445,7 @@ var consts_arm = []ConstValue{
{Name: "RTM_GETTFILTER", Value: 46},
{Name: "RTM_NEWACTION", Value: 48},
{Name: "RTM_NEWADDR", Value: 20},
+ {Name: "RTM_NEWCHAIN", Value: 100},
{Name: "RTM_NEWLINK", Value: 16},
{Name: "RTM_NEWNEIGH", Value: 28},
{Name: "RTM_NEWNSID", Value: 88},
@@ -52791,7 +52829,7 @@ var consts_arm = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 111},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 112},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 285},
{Name: "__NR_accept4", Value: 366},
@@ -53088,6 +53126,7 @@ var consts_arm = []ConstValue{
{Name: "__NR_vmsplice", Value: 343},
{Name: "__NR_wait4", Value: 114},
{Name: "__NR_waitid", Value: 280},
+ {Name: "__NR_watch_devices", Value: 436},
{Name: "__NR_write", Value: 4},
{Name: "__NR_writev", Value: 146},
{Name: "__O_TMPFILE", Value: 4194304},
@@ -53099,4 +53138,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "740c64f7c1ce0c9dd50c4dce7c9db5026aa270e5"
+const revision_arm = "38f6f7da322334a88a4f80416f714ff6d75a3b18"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index be3a59895..d0192d936 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -1130,7 +1130,7 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 111},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 112},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -12781,6 +12781,9 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newtfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "deltfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETTFILTER, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "gettfilter"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "delchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "getchain"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWACTION, int16], tcamsg[AF_UNSPEC], nlattr[TCA_ACT_TAB, tca_actions]]"}, FldName: "newtaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"},
@@ -12866,6 +12869,15 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 101},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 17},
@@ -13030,6 +13042,15 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]", 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: 2}}, Val: 102},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CHAIN, int16], int32]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 18},
@@ -13270,6 +13291,15 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 100},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
@@ -49719,6 +49749,7 @@ var consts_arm64 = []ConstValue{
{Name: "RTF_WINDOW", Value: 128},
{Name: "RTM_DELACTION", Value: 49},
{Name: "RTM_DELADDR", Value: 21},
+ {Name: "RTM_DELCHAIN", Value: 101},
{Name: "RTM_DELLINK", Value: 17},
{Name: "RTM_DELNEIGH", Value: 29},
{Name: "RTM_DELQDISC", Value: 37},
@@ -49735,6 +49766,7 @@ var consts_arm64 = []ConstValue{
{Name: "RTM_GETACTION", Value: 50},
{Name: "RTM_GETADDR", Value: 22},
{Name: "RTM_GETANYCAST", Value: 62},
+ {Name: "RTM_GETCHAIN", Value: 102},
{Name: "RTM_GETLINK", Value: 18},
{Name: "RTM_GETMULTICAST", Value: 58},
{Name: "RTM_GETNEIGH", Value: 30},
@@ -49749,6 +49781,7 @@ var consts_arm64 = []ConstValue{
{Name: "RTM_GETTFILTER", Value: 46},
{Name: "RTM_NEWACTION", Value: 48},
{Name: "RTM_NEWADDR", Value: 20},
+ {Name: "RTM_NEWCHAIN", Value: 100},
{Name: "RTM_NEWLINK", Value: 16},
{Name: "RTM_NEWNEIGH", Value: 28},
{Name: "RTM_NEWNSID", Value: 88},
@@ -53146,7 +53179,7 @@ var consts_arm64 = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 111},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 112},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 202},
{Name: "__NR_accept4", Value: 242},
@@ -53425,4 +53458,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "a91c28d3c7e5af90d54e53eefc925761205044e8"
+const revision_arm64 = "0dd9fdb4dfcbb61b02b5a07255ca6de1804e13c2"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index b98d4dc6d..1d9d94a29 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -1129,7 +1129,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 111},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 112},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -12733,6 +12733,9 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newtfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELTFILTER, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "deltfilter"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETTFILTER, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "gettfilter"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "newchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, FldName: "delchain"},
+ &StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, FldName: "getchain"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWACTION, int16], tcamsg[AF_UNSPEC], nlattr[TCA_ACT_TAB, tca_actions]]"}, FldName: "newtaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELACTION, int16], tcamsg[AF_UNSPEC], action_gd_policy]"}, FldName: "deltaction"},
&StructType{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETACTION, int16], tcamsg[AF_UNSPEC], action_dump_policy]"}, FldName: "gettaction"},
@@ -12818,6 +12821,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 101},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_DELLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 17},
@@ -12982,6 +12994,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETCHAIN, int16], tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]", 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: 2}}, Val: 102},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_CHAIN, int16], int32]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_GETLINK, int16], ifinfomsg[AF_BRIDGE], ifla_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: 2}}, Val: 18},
@@ -13222,6 +13243,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "ifaddrmsg[AF_INET]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifa_ipv4_policy"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWCHAIN, int16], tcmsg[AF_UNSPEC], filter_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: 2}}, Val: 100},
+ &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: 2, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "tcmsg[AF_UNSPEC]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "filter_policy"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[RTM_NEWLINK, int16], ifinfomsg[AF_UNSPEC], ifla_policy]", IsVarlen: true}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16},
@@ -49712,6 +49742,7 @@ var consts_ppc64le = []ConstValue{
{Name: "RTF_WINDOW", Value: 128},
{Name: "RTM_DELACTION", Value: 49},
{Name: "RTM_DELADDR", Value: 21},
+ {Name: "RTM_DELCHAIN", Value: 101},
{Name: "RTM_DELLINK", Value: 17},
{Name: "RTM_DELNEIGH", Value: 29},
{Name: "RTM_DELQDISC", Value: 37},
@@ -49728,6 +49759,7 @@ var consts_ppc64le = []ConstValue{
{Name: "RTM_GETACTION", Value: 50},
{Name: "RTM_GETADDR", Value: 22},
{Name: "RTM_GETANYCAST", Value: 62},
+ {Name: "RTM_GETCHAIN", Value: 102},
{Name: "RTM_GETLINK", Value: 18},
{Name: "RTM_GETMULTICAST", Value: 58},
{Name: "RTM_GETNEIGH", Value: 30},
@@ -49742,6 +49774,7 @@ var consts_ppc64le = []ConstValue{
{Name: "RTM_GETTFILTER", Value: 46},
{Name: "RTM_NEWACTION", Value: 48},
{Name: "RTM_NEWADDR", Value: 20},
+ {Name: "RTM_NEWCHAIN", Value: 100},
{Name: "RTM_NEWLINK", Value: 16},
{Name: "RTM_NEWNEIGH", Value: 28},
{Name: "RTM_NEWNSID", Value: 88},
@@ -53075,7 +53108,7 @@ var consts_ppc64le = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 111},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 112},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 330},
{Name: "__NR_accept4", Value: 344},
@@ -53390,4 +53423,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "9e3f5b4a675285543e20a0c7fe41ed40f58ff2c7"
+const revision_ppc64le = "4d046e97a4eb3020af68128e653549e13e161084"
diff --git a/sys/linux/socket_netlink_route_sched.txt b/sys/linux/socket_netlink_route_sched.txt
index 39238f59b..c694bbd08 100644
--- a/sys/linux/socket_netlink_route_sched.txt
+++ b/sys/linux/socket_netlink_route_sched.txt
@@ -43,6 +43,9 @@ netlink_msg_route_sched [
newtfilter netlink_msg[RTM_NEWTFILTER, tcmsg[AF_UNSPEC], filter_policy]
deltfilter netlink_msg[RTM_DELTFILTER, tcmsg[AF_UNSPEC], filter_policy]
gettfilter netlink_msg[RTM_GETTFILTER, tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]
+ newchain netlink_msg[RTM_NEWCHAIN, tcmsg[AF_UNSPEC], filter_policy]
+ delchain netlink_msg[RTM_DELCHAIN, tcmsg[AF_UNSPEC], filter_policy]
+ getchain netlink_msg[RTM_GETCHAIN, tcmsg[AF_UNSPEC], nlattr[TCA_CHAIN, int32]]
newtaction netlink_msg[RTM_NEWACTION, tcamsg[AF_UNSPEC], nlattr[TCA_ACT_TAB, tca_actions]]
deltaction netlink_msg[RTM_DELACTION, tcamsg[AF_UNSPEC], action_gd_policy]
gettaction netlink_msg[RTM_GETACTION, tcamsg[AF_UNSPEC], action_dump_policy]
diff --git a/sys/linux/socket_netlink_route_sched_386.const b/sys/linux/socket_netlink_route_sched_386.const
index 5b9a834e8..625d69f54 100644
--- a/sys/linux/socket_netlink_route_sched_386.const
+++ b/sys/linux/socket_netlink_route_sched_386.const
@@ -27,14 +27,17 @@ PGACT_DETERM = 2
PGACT_NETRAND = 1
PGACT_NONE = 0
RTM_DELACTION = 49
+RTM_DELCHAIN = 101
RTM_DELQDISC = 37
RTM_DELTCLASS = 41
RTM_DELTFILTER = 45
RTM_GETACTION = 50
+RTM_GETCHAIN = 102
RTM_GETQDISC = 38
RTM_GETTCLASS = 42
RTM_GETTFILTER = 46
RTM_NEWACTION = 48
+RTM_NEWCHAIN = 100
RTM_NEWQDISC = 36
RTM_NEWTCLASS = 40
RTM_NEWTFILTER = 44
diff --git a/sys/linux/socket_netlink_route_sched_amd64.const b/sys/linux/socket_netlink_route_sched_amd64.const
index 890ea0dc4..881308f8c 100644
--- a/sys/linux/socket_netlink_route_sched_amd64.const
+++ b/sys/linux/socket_netlink_route_sched_amd64.const
@@ -27,14 +27,17 @@ PGACT_DETERM = 2
PGACT_NETRAND = 1
PGACT_NONE = 0
RTM_DELACTION = 49
+RTM_DELCHAIN = 101
RTM_DELQDISC = 37
RTM_DELTCLASS = 41
RTM_DELTFILTER = 45
RTM_GETACTION = 50
+RTM_GETCHAIN = 102
RTM_GETQDISC = 38
RTM_GETTCLASS = 42
RTM_GETTFILTER = 46
RTM_NEWACTION = 48
+RTM_NEWCHAIN = 100
RTM_NEWQDISC = 36
RTM_NEWTCLASS = 40
RTM_NEWTFILTER = 44
diff --git a/sys/linux/socket_netlink_route_sched_arm.const b/sys/linux/socket_netlink_route_sched_arm.const
index 59209a8be..dc43a1263 100644
--- a/sys/linux/socket_netlink_route_sched_arm.const
+++ b/sys/linux/socket_netlink_route_sched_arm.const
@@ -27,14 +27,17 @@ PGACT_DETERM = 2
PGACT_NETRAND = 1
PGACT_NONE = 0
RTM_DELACTION = 49
+RTM_DELCHAIN = 101
RTM_DELQDISC = 37
RTM_DELTCLASS = 41
RTM_DELTFILTER = 45
RTM_GETACTION = 50
+RTM_GETCHAIN = 102
RTM_GETQDISC = 38
RTM_GETTCLASS = 42
RTM_GETTFILTER = 46
RTM_NEWACTION = 48
+RTM_NEWCHAIN = 100
RTM_NEWQDISC = 36
RTM_NEWTCLASS = 40
RTM_NEWTFILTER = 44
diff --git a/sys/linux/socket_netlink_route_sched_arm64.const b/sys/linux/socket_netlink_route_sched_arm64.const
index e089ab0fd..a3e9b95de 100644
--- a/sys/linux/socket_netlink_route_sched_arm64.const
+++ b/sys/linux/socket_netlink_route_sched_arm64.const
@@ -27,14 +27,17 @@ PGACT_DETERM = 2
PGACT_NETRAND = 1
PGACT_NONE = 0
RTM_DELACTION = 49
+RTM_DELCHAIN = 101
RTM_DELQDISC = 37
RTM_DELTCLASS = 41
RTM_DELTFILTER = 45
RTM_GETACTION = 50
+RTM_GETCHAIN = 102
RTM_GETQDISC = 38
RTM_GETTCLASS = 42
RTM_GETTFILTER = 46
RTM_NEWACTION = 48
+RTM_NEWCHAIN = 100
RTM_NEWQDISC = 36
RTM_NEWTCLASS = 40
RTM_NEWTFILTER = 44
diff --git a/sys/linux/socket_netlink_route_sched_ppc64le.const b/sys/linux/socket_netlink_route_sched_ppc64le.const
index b3dfbe08e..ca45b799d 100644
--- a/sys/linux/socket_netlink_route_sched_ppc64le.const
+++ b/sys/linux/socket_netlink_route_sched_ppc64le.const
@@ -27,14 +27,17 @@ PGACT_DETERM = 2
PGACT_NETRAND = 1
PGACT_NONE = 0
RTM_DELACTION = 49
+RTM_DELCHAIN = 101
RTM_DELQDISC = 37
RTM_DELTCLASS = 41
RTM_DELTFILTER = 45
RTM_GETACTION = 50
+RTM_GETCHAIN = 102
RTM_GETQDISC = 38
RTM_GETTCLASS = 42
RTM_GETTFILTER = 46
RTM_NEWACTION = 48
+RTM_NEWCHAIN = 100
RTM_NEWQDISC = 36
RTM_NEWTCLASS = 40
RTM_NEWTFILTER = 44
diff --git a/sys/linux/watch_queue_386.const b/sys/linux/watch_queue_386.const
index a499f9489..90ac59cb3 100644
--- a/sys/linux/watch_queue_386.const
+++ b/sys/linux/watch_queue_386.const
@@ -6,3 +6,4 @@ __NR_ioctl = 54
__NR_mmap = 192
__NR_mmap2 = 192
__NR_openat = 295
+__NR_watch_devices = 436
diff --git a/sys/linux/watch_queue_arm.const b/sys/linux/watch_queue_arm.const
index a0062b24a..d7850096d 100644
--- a/sys/linux/watch_queue_arm.const
+++ b/sys/linux/watch_queue_arm.const
@@ -6,3 +6,4 @@ __NR_ioctl = 54
__NR_mmap = 192
__NR_mmap2 = 192
__NR_openat = 322
+__NR_watch_devices = 436