Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ _evalcond
Method
_evalcond
scapy/fields.py:392–394 ·
view source on GitHub ↗
(self, pkt)
Source
from the content-addressed store, hash-verified
390
self.cond = cond
391
392
def
_evalcond(self, pkt):
393
# type: (Packet) -> bool
394
return
bool(self.cond(pkt))
395
396
def
any2i(self, pkt, x):
397
# type: (Optional[Packet], Any) -> Any
Callers
7
i2h
Method · 0.95
getfield
Method · 0.95
addfield
Method · 0.95
__repr__
Method · 0.80
do_build_ps
Method · 0.80
_show_or_dump
Method · 0.80
fuzz
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected