summaryrefslogtreecommitdiff
path: root/maps.bpf.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-02-13 11:58:27 +0200
committerPaul Buetow <paul@buetow.org>2024-02-13 11:58:27 +0200
commit39aa916833b81df498c4dab8e6168e62276e31b5 (patch)
tree579a4218c3e7247b0608246da2ac346d75be4137 /maps.bpf.h
parentcf73e5aa79cc6f6e147a5df55bad52f30706a5c3 (diff)
can pass config struct and also have a generic filter function in BPF
Diffstat (limited to 'maps.bpf.h')
-rw-r--r--maps.bpf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/maps.bpf.h b/maps.bpf.h
index bb44627..9e3d65f 100644
--- a/maps.bpf.h
+++ b/maps.bpf.h
@@ -5,8 +5,7 @@
#define MAX_PROGNAME_LENGTH 16
struct config {
- int x;
- char y;
+ __u32 uid_filter;
};
struct {