Use scratch space to store consts passed to helpers

This commit is contained in:
Pragyansh Chaturvedi
2025-10-12 04:17:37 +05:30
parent 5dcf670f49
commit 207f714027
3 changed files with 17 additions and 13 deletions

View File

@ -1,9 +1,10 @@
from .helper_utils import HelperHandlerRegistry
from .helper_utils import HelperHandlerRegistry, reset_scratch_pool
from .bpf_helper_handler import handle_helper_call
from .helpers import ktime, pid, deref, XDP_DROP, XDP_PASS
__all__ = [
"HelperHandlerRegistry",
"reset_scratch_pool",
"handle_helper_call",
"ktime",
"pid",