mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Fix the number of args for skb_store_bytes by making the first arg implicit
This commit is contained in:
@ -47,7 +47,7 @@ def uid():
|
||||
return ctypes.c_int32(0)
|
||||
|
||||
|
||||
def skb_store_bytes(skb, offset, from_buf, size, flags=0):
|
||||
def skb_store_bytes(offset, from_buf, size, flags=0):
|
||||
"""store bytes into a socket buffer"""
|
||||
return ctypes.c_int64(0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user