Commit Graph

32 Commits

Author SHA1 Message Date
Christian Deacon
bf761af250 Implement new logging system. 2025-02-26 09:56:28 -05:00
Christian Deacon
de429d143f Build the project using LIBXDP_STATIC=1 by default. 2025-02-24 15:59:29 -05:00
Christian Deacon
d288a78775 Restructure includes. 2025-02-24 15:35:23 -05:00
Christian Deacon
f5d9d3a8d5 Update workflow and Makefile. 2025-02-23 17:31:36 -05:00
Christian Deacon
816960bf39 Add build/install scripts and improve README. 2025-02-23 17:27:27 -05:00
Christian Deacon
6b9b101a62 Organize Makefile. 2025-02-23 07:32:59 -05:00
Christian Deacon
b27558cee7 Update Makefile. 2025-02-23 06:34:06 -05:00
Christian Deacon
2a1dbc6626 Remove unused variables inside of Makefile. 2025-02-22 12:22:21 -05:00
Christian Deacon
422d23e87b Fix build error with LIBBPF_LIBXDP_STATIC=1 due to missing LibBPF and LibXDP object files when linking and simplify build process further. 2025-02-22 12:15:57 -05:00
Christian Deacon
fd765890e9 Rename loader.c to prog.c for organization. 2025-02-22 11:50:13 -05:00
Christian Deacon
179cbeab6a Add support for linking LibBPF and LibXDP object files inside of Makefile if LIBBPF_LIBXDP_STATIC is 1. 2025-02-22 10:56:49 -05:00
Christian Deacon
8a4ddf5184 We don't need to specifically link LibBPF and LibXDP object files. 2025-02-22 10:02:08 -05:00
Christian Deacon
8756892791 Restructure project and organize code. 2025-02-22 09:50:57 -05:00
Christian Deacon
82d3c50bf3 Add flow-based client stats by default for rate limits and organize/clean code. 2025-02-11 07:51:40 -05:00
Christian Deacon
3640c6a840 Elf object is included in later LibBPF libraries. 2023-11-22 20:00:02 +00:00
Christian Deacon
512b4393ff Add comment to Makefile. 2023-11-22 19:55:23 +00:00
Christian Deacon
907408be7a Link new static LibBPF objects in our loader. 2023-11-22 19:53:43 +00:00
Christian Deacon
810bc6b3c7 Only build LibXDP from xdp-tools. 2023-11-22 19:49:45 +00:00
Christian Deacon
0601364233 Revert "fix linker issue (#42)"
This reverts commit cc1e033a7f.
2023-10-11 23:04:53 +00:00
pettai
cc1e033a7f fix linker issue (#42)
fix linker issue
"undefined reference to `zip_archive_open'" ...
2023-10-11 18:47:52 -04:00
Christian Deacon
0583b0f8f2 Add comment to Makefile regarding using shared objects over static for LibXDP. 2023-06-06 21:30:03 +00:00
Christian Deacon
3d79c20479 Use LibXDP to build the projects instead. 2023-06-06 21:20:41 +00:00
gamemann
8b49ba87e0 Use LLVM to compile XDP program. 2021-11-13 01:39:43 +00:00
gamemann
8eee71d366 Organize Makefile further. 2021-11-12 21:34:00 +00:00
gamemann
1e11016bdf Organize Makefile. 2021-11-12 21:33:20 +00:00
gamemann
55f19dd192 Adjust Makefile for libbpf. 2021-11-12 21:25:19 +00:00
gamemann
d787114a9f Use Clang to compile BPF object/program. 2021-11-12 20:30:34 +00:00
gamemann
90a79e0338 Update Makefile; Add command line compile and remove unneeded flags. 2021-11-12 16:57:39 +00:00
gamemann
255db241a7 Update Makefile. 2021-11-12 16:26:55 +00:00
Christian Deacon
5a2589b178 Cleaned Makefile. 2020-05-05 16:39:04 +00:00
Christian Deacon
cb387888d0 Completed Makefile. 2020-05-05 02:52:13 +00:00
Christian Deacon
59864eedf9 Add empty Makefile. 2020-05-04 18:11:20 +00:00