From fde88e12eb25ce1ff9b3bb7501d36c408e914f1e Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Mon, 26 Oct 2020 18:46:03 +0100 Subject: sys/linux: add BPF_LINK_DETACH bpf(2) command This new command was introduced in commit 73b11c2 ("bpf: Add support for forced LINK_DETACH command") upstream. Signed-off-by: Paul Chaignon --- sys/linux/bpf.txt.const | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/linux/bpf.txt.const') diff --git a/sys/linux/bpf.txt.const b/sys/linux/bpf.txt.const index c672ee1ec..7dda20e41 100644 --- a/sys/linux/bpf.txt.const +++ b/sys/linux/bpf.txt.const @@ -83,6 +83,7 @@ BPF_LD = 0 BPF_LDX = 1 BPF_LINE_INFO_SIZE = 16 BPF_LINK_CREATE = 28 +BPF_LINK_DETACH = 34 BPF_LINK_GET_FD_BY_ID = 30 BPF_LINK_GET_NEXT_ID = 31 BPF_LINK_UPDATE = 29 @@ -229,7 +230,7 @@ BTF_KIND_VOLATILE = 9 BTF_MAGIC = 60319 BTF_VERSION = 1 MAX_BPF_REG = 11 -__BPF_FUNC_MAX_ID = 142 +__BPF_FUNC_MAX_ID = 156 __MAX_BPF_REG = 11 __NR_bpf = 280, 386:357, amd64:321, arm:386, mips64le:5315, ppc64le:361, s390x:351 bpf_call_code = 133 -- cgit mrf-deployment