Commit Graph

30 Commits

Author SHA1 Message Date
Christian Deacon
5f60030721 Update help menu. 2025-02-26 20:41:42 -05:00
Christian Deacon
9d7549e39d Add CLI overrides for config values. 2025-02-26 20:29:53 -05:00
Christian Deacon
c567a028ed Add option to calculate packet counters per second. 2025-02-26 18:53:14 -05:00
Christian Deacon
ca933d4a12 Improve stdout when logging messages. 2025-02-26 17:59:47 -05:00
Christian Deacon
09e3665472 Move some logic from main loader program to logging source file. 2025-02-26 17:02:31 -05:00
Christian Deacon
353aedab42 Use filter ID + 1. 2025-02-26 16:30:37 -05:00
Christian Deacon
073f656da1 Improve stats output. 2025-02-26 12:31:16 -05:00
Christian Deacon
e54fb3fe79 Add more info to filter logging. 2025-02-26 12:16:33 -05:00
Christian Deacon
f27481fb3b Add comment to HandleRbEvent() function. 2025-02-26 12:01:10 -05:00
Christian Deacon
53e801be8f Set verbose to 2 by default. 2025-02-26 11:59:18 -05:00
Christian Deacon
b3a9693d80 Add tool info function. 2025-02-26 11:57:48 -05:00
Christian Deacon
24db0f6bda Fix error. 2025-02-26 11:49:53 -05:00
Christian Deacon
8b91e59364 Set custom LibXDP/LibBPF logging. 2025-02-26 11:48:38 -05:00
Christian Deacon
8596997b98 Add filter logging. 2025-02-26 11:13:59 -05:00
Christian Deacon
bf761af250 Implement new logging system. 2025-02-26 09:56:28 -05:00
Christian Deacon
e14f980107 Improve verbose output. 2025-02-24 16:03:37 -05:00
Christian Deacon
d288a78775 Restructure includes. 2025-02-24 15:35:23 -05:00
Christian Deacon
42738c7670 Optimize looping through filters when updating them. 2025-02-24 14:58:11 -05:00
Christian Deacon
6298d7ee17 conf_stat shouldn't be global and organize more code. 2025-02-23 07:26:51 -05:00
Christian Deacon
4e7c563274 Add better error handling to loader. 2025-02-23 07:15:12 -05:00
Christian Deacon
f093bf96c4 Add more error handling when detaching XDP program. 2025-02-23 06:42:37 -05:00
Christian Deacon
28c99fe1ec Check for detach mode before verbose output. 2025-02-23 06:42:16 -05:00
Christian Deacon
ea47a7a435 Cleanup and organize a lot of Loader code. 2025-02-23 06:34:37 -05:00
Christian Deacon
3b55e4dded Add Loader XDP source files. 2025-02-23 06:33:56 -05:00
Christian Deacon
b6b43b67c2 Add Loader stats source files. 2025-02-23 06:33:40 -05:00
Christian Deacon
1f1c76854b Improve generic code. 2025-02-22 21:31:45 -05:00
Christian Deacon
fd765890e9 Rename loader.c to prog.c for organization. 2025-02-22 11:50:13 -05:00
Christian Deacon
e3b1f04c11 Organize cmdline util. 2025-02-22 11:41:48 -05:00
Christian Deacon
09491e1462 Add typedefs and organize code. 2025-02-22 10:24:21 -05:00
Christian Deacon
8756892791 Restructure project and organize code. 2025-02-22 09:50:57 -05:00