Improve ebpf connection listener

This commit is contained in:
Daniel
2023-07-20 14:01:58 +02:00
parent dc033c3933
commit 4c21c87b8a
5 changed files with 107 additions and 170 deletions

View File

@@ -2,7 +2,8 @@
#ifndef __BPF_TRACING_H__
#define __BPF_TRACING_H__
#include <bpf/bpf_helpers.h>
// #include <bpf/bpf_helpers.h>
#include "bpf_helpers.h"
/* Scan the ARCH passed in from ARCH env variable (see Makefile) */
#if defined(__TARGET_ARCH_x86)