Fix imports for bpf_skb_store_bytes

This commit is contained in:
Pragyansh Chaturvedi
2025-11-02 04:33:45 +05:30
parent f757a32a63
commit 67c9d9b932
2 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,11 @@ def uid():
return ctypes.c_int32(0)
def skb_store_bytes(skb, offset, from_buf, size, flags=0):
"""store bytes into a socket buffer"""
return ctypes.c_int64(0)
XDP_ABORTED = ctypes.c_int64(0)
XDP_DROP = ctypes.c_int64(1)
XDP_PASS = ctypes.c_int64(2)