From 8b88555225e877e51e8cbc9a90c30f315525dde6 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Sat, 4 Nov 2023 13:11:18 +0100 Subject: sys/linux: cover new BPF link_create fields These new fields were introduced upstream in commit [1]. 1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=35dfaad7188cd Signed-off-by: Paul Chaignon --- sys/linux/bpf.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/linux') diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index 877644022..64c69b9ff 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -259,6 +259,11 @@ link_create_uprobe_multi { pid pid } +link_create_netkit { + relative id_or_fd + exp_revision bpf_revision +} + link_create_arg_extra [ target_btf_id bpf_btf_id iter link_create_iter @@ -268,6 +273,7 @@ link_create_arg_extra [ netfilter link_create_netfilter tcx link_create_tcx uprobe_multi link_create_uprobe_multi + netkit link_create_netkit ] type bpf_link_create_arg_t[PROG_FD, TARGET_FD, ATTACH_TYPE, FLAGS] { -- cgit mrf-deployment