aboutsummaryrefslogtreecommitdiffstats
path: root/utils/keytable/bpf_load.h
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2021-01-08 23:36:08 +0000
committerSean Young <sean@mess.org>2021-01-13 15:21:54 +0000
commit39374ef223e490c4fee4827146011e839ffaeae2 (patch)
tree094c193a20ebec29181271e7f2a1af23d476b43f /utils/keytable/bpf_load.h
parentf4316861d164a4fbd097eaf703e862835f396486 (diff)
Build with libbpf, remove local sources
libbpf is nowadays widely available in all distros that enable BPF, and it is a standalone library with a release cycle and a stable API. Remove the old sync of bpf.c/bpf.h and check for the library via pkg-config and use it instead. Only a minor modification is needed to make it compile. Signed-off-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Sean Young <sean@mess.org>
Diffstat (limited to 'utils/keytable/bpf_load.h')
-rw-r--r--utils/keytable/bpf_load.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/keytable/bpf_load.h b/utils/keytable/bpf_load.h
index 47b57b25..fe0b3e58 100644
--- a/utils/keytable/bpf_load.h
+++ b/utils/keytable/bpf_load.h
@@ -2,8 +2,6 @@
#ifndef __BPF_LOAD_H
#define __BPF_LOAD_H
-#define BPF_LOG_BUF_SIZE (256 * 1024)
-
#define MAX_MAPS 32
#define MAX_PROGS 64

Privacy Policy