summaryrefslogtreecommitdiff
path: root/kernel/bpf/preload/iterators/bpf_preload_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/bpf/preload/iterators/bpf_preload_common.h')
-rw-r--r--kernel/bpf/preload/iterators/bpf_preload_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/bpf/preload/iterators/bpf_preload_common.h b/kernel/bpf/preload/iterators/bpf_preload_common.h
new file mode 100644
index 000000000000..8464d1a48c05
--- /dev/null
+++ b/kernel/bpf/preload/iterators/bpf_preload_common.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _BPF_PRELOAD_COMMON_H
+#define _BPF_PRELOAD_COMMON_H
+
+#define BPF_PRELOAD_START 0x5555
+#define BPF_PRELOAD_END 0xAAAA
+
+struct bpf_preload_info {
+ char link_name[16];
+ int link_id;
+};
+
+#endif