MCPcopy Index your code
hub / github.com/secdev/scapy / _scapy_exts

Function _scapy_exts

scapy/main.py:478–491  ·  view source on GitHub ↗

Load Scapy exts and return their builtins

()

Source from the content-addressed store, hash-verified

476
477
478def _scapy_exts():
479 # type: () -> Dict[str, Any]
480 """Load Scapy exts and return their builtins"""
481 from scapy.config import conf
482 res = {}
483 for modname, spec in conf.exts.all_specs.items():
484 if spec.default:
485 mod = sys.modules[modname]
486 res.update({
487 k: v
488 for k, v in mod.__dict__.copy().items()
489 if _validate_local(k)
490 })
491 return res
492
493
494@overload

Callers 1

init_sessionFunction · 0.85

Calls 4

_validate_localFunction · 0.85
itemsMethod · 0.80
updateMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…