-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General improvements #27
Conversation
BPF_NETFILTER program type support introduced 2-step BPF program loading, but the post-unload callback for TC wasn't available. Signed-off-by: Quentin Deslandes <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #27 +/- ##
==========================================
- Coverage 13.77% 13.49% -0.29%
==========================================
Files 33 33
Lines 2388 2283 -105
==========================================
- Hits 329 308 -21
+ Misses 2059 1975 -84
☔ View full report in Codecov by Sentry. |
BPF_EXIT_INSN() is added to the codegen by the rules, or the program itself. The flavour doesn't need to add a BPF_EXIT_INSN(). Signed-off-by: Quentin Deslandes <[email protected]>
Install bpfilter.pc into CMake's libdir instead of datadir. Add ubsan and asan to bpfilter.pc in debug mode. Signed-off-by: Quentin Deslandes <[email protected]>
ipt_getinfo and ipt_get_entries are both used (as a pointer) but undefined in bpfilter.h. Forward-declare both structure to prevent compilation warning. Signed-off-by: Quentin Deslandes <[email protected]>
Signed-off-by: Quentin Deslandes <[email protected]>
Do not read bf_response.data_len in bf_recv_response() if bf_response.status is not successful. Signed-off-by: Quentin Deslandes <[email protected]>
87fc416
to
24e3d9c
Compare
No description provided.