Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
b69fe977
Commit
b69fe977
authored
Mar 03, 2017
by
Brenden Blanco
Committed by
GitHub
Mar 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1018 from GabrielGanne/python-xdp-return-values
add XDP return values to python interface
parents
d7a5ff09
78b05e07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/python/bcc/__init__.py
src/python/bcc/__init__.py
+6
-0
No files found.
src/python/bcc/__init__.py
View file @
b69fe977
...
@@ -118,6 +118,12 @@ class BPF(object):
...
@@ -118,6 +118,12 @@ class BPF(object):
XDP
=
6
XDP
=
6
PERF_EVENT
=
7
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_]"
)
_probe_repl
=
re
.
compile
(
"[^a-zA-Z0-9_]"
)
_sym_caches
=
{}
_sym_caches
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment