Commit 3ae15d60 authored by Gary Lin's avatar Gary Lin

Add the missing XDP_REDIRECT

Signed-off-by: default avatarGary Lin <glin@suse.com>
parent db5fa477
...@@ -152,6 +152,7 @@ class BPF(object): ...@@ -152,6 +152,7 @@ class BPF(object):
XDP_DROP = 1 XDP_DROP = 1
XDP_PASS = 2 XDP_PASS = 2
XDP_TX = 3 XDP_TX = 3
XDP_REDIRECT = 4
_probe_repl = re.compile(b"[^a-zA-Z0-9_]") _probe_repl = re.compile(b"[^a-zA-Z0-9_]")
_sym_caches = {} _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