Skip to content

Commit

Permalink
Add the missing XDP_REDIRECT
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Lin <[email protected]>
  • Loading branch information
lcp committed Jun 7, 2018
1 parent db5fa47 commit 3ae15d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/bcc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class BPF(object):
XDP_DROP = 1
XDP_PASS = 2
XDP_TX = 3
XDP_REDIRECT = 4

_probe_repl = re.compile(b"[^a-zA-Z0-9_]")
_sym_caches = {}
Expand Down

0 comments on commit 3ae15d6

Please sign in to comment.