mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Remove redundant TODO from return_utils
This commit is contained in:
@ -5,11 +5,6 @@ from llvmlite import ir
|
|||||||
|
|
||||||
logger: logging.Logger = logging.getLogger(__name__)
|
logger: logging.Logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# TODO: Ideally there should be only 3 cases:
|
|
||||||
# - Return none
|
|
||||||
# - Return XDP
|
|
||||||
# - Return expr
|
|
||||||
|
|
||||||
XDP_ACTIONS = {
|
XDP_ACTIONS = {
|
||||||
"XDP_ABORTED": 0,
|
"XDP_ABORTED": 0,
|
||||||
"XDP_DROP": 1,
|
"XDP_DROP": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user