add support for single depth pointer resolution

This commit is contained in:
2025-10-11 23:18:51 +05:30
parent 3343bedd11
commit f8844104a6
3 changed files with 81 additions and 17 deletions

View File

@ -2,7 +2,7 @@ from pythonbpf import bpf, map, section, bpfglobal, compile, compile_to_ir
from pythonbpf.maps import HashMap
from pythonbpf.helper import XDP_PASS
from vmlinux import struct_xdp_md
from vmlinux import struct_ring_buffer_per_cpu # noqa: F401
# from vmlinux import struct_ring_buffer_per_cpu # noqa: F401
from vmlinux import struct_xdp_buff # noqa: F401
from ctypes import c_int64