Commit 78b05e07 authored by Gabriel Ganne's avatar Gabriel Ganne

add XDP return values to python interface

Signed-off-by: default avatarGabriel Ganne <gabriel.ganne@enea.com>
Signed-off-by: default avatarRomain Ly <romain.ly@enea.com>
parent 601a13fd
......@@ -118,6 +118,12 @@ class BPF(object):
XDP = 6
PERF_EVENT = 7
# from xdp_action uapi/linux/bpf.h
XDP_ABORTED = 0
XDP_DROP = 1
XDP_PASS = 2
XDP_TX = 3
_probe_repl = re.compile("[^a-zA-Z0-9_]")
_sym_caches = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment