update helpers and change examples.

This commit is contained in:
2025-10-08 13:57:09 +05:30
parent 8d07a4cd05
commit d84ce0c6fa
5 changed files with 47 additions and 248447 deletions

View File

@ -15,5 +15,8 @@ def deref(ptr):
return result if result is not None else 0
XDP_ABORTED = ctypes.c_int64(0)
XDP_DROP = ctypes.c_int64(1)
XDP_PASS = ctypes.c_int64(2)
XDP_TX = ctypes.c_int64(3)
XDP_REDIRECT = ctypes.c_int64(4)