55fb6d6b9a
Core: Export every XDP action from pythonbpf.helper
...
helpers.py defined all five and return_utils mapped them, but only
XDP_DROP and XDP_PASS were exported, so the xdp_tx port had to import
XDP_TX from vmlinux and live under vmlinux/, skipped on any host without
a generated module. It imports from pythonbpf.helper and lives under
xdp/ now, returning XDP_TX bare like its siblings and the C original,
which is the shape the return fast path resolves without vmlinux.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-25 01:25:35 +05:30
ec4a6852ec
PythonBPF: Add Compilation Context to allow parallel compilation of multiple bpf programs
2026-02-21 18:59:33 +05:30
536ea4855e
add cgroup helper
2025-11-28 14:47:01 +05:30
2b3635fe20
format chore
2025-11-22 01:48:44 +05:30
6f25c554a9
fix CO-RE read for cast structs
2025-11-22 01:47:25 +05:30
a10da4a277
Implement bpf_get_stack handler
2025-11-13 00:59:50 +05:30
67c9d9b932
Fix imports for bpf_skb_store_bytes
2025-11-02 04:33:45 +05:30
4884ed7577
Fix imports for bpf_get_current_uid_gid
2025-11-02 03:35:41 +05:30
dabb8bf0df
Fix imports for BPF_GET_SMP_PROCESSOR_ID
2025-11-01 14:07:47 +05:30
ec2ea835e5
Fix imports and type issues for bpf_probe_read
2025-11-01 13:50:23 +05:30
5cbd9a531e
Add bpf_get_prandom_u32 helper
2025-10-27 01:08:56 +05:30
009b11aca6
Implement bpf_probe_read_kernel_str helper, Allow i8* to i8 ArrayType conversion
2025-10-15 23:52:15 +05:30
13a804f7ac
Implement bpf_get_current_comm_emitter
2025-10-15 14:03:09 +05:30
74d8014ade
Move HelperHandlerRegistry to helper_registry.py
2025-10-13 18:21:50 +05:30
fc058c4341
Use dependency inversion to remove handler delayed import in eval_expr
2025-10-13 02:28:00 +05:30
207f714027
Use scratch space to store consts passed to helpers
2025-10-12 04:17:37 +05:30
1a66887f48
move helper annotations to helpers module
2025-10-02 01:55:32 +05:30
23f3cbcea7
add type annotations
2025-10-02 01:43:05 +05:30
59b3d6514b
fix ruff errors
2025-10-02 01:23:55 +05:30
61f6743f0a
Use HelperHandleRegitry
2025-10-01 03:53:11 +05:30