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

Function load_layer

scapy/main.py:340–347  ·  view source on GitHub ↗

Loads a Scapy layer module to make variables, objects and functions available globally.

(name, globals_dict=None, symb_list=None)

Source from the content-addressed store, hash-verified

338
339
340def load_layer(name, globals_dict=None, symb_list=None):
341 # type: (str, Optional[Dict[str, Any]], Optional[List[str]]) -> None
342 """Loads a Scapy layer module to make variables, objects and functions
343 available globally.
344
345 """
346 _load("scapy.layers." + LAYER_ALIASES.get(name, name),
347 globals_dict=globals_dict, symb_list=symb_list)
348
349
350def load_contrib(name, globals_dict=None, symb_list=None):

Callers 4

all.pyFile · 0.90
all.pyFile · 0.90
load_contribFunction · 0.85

Calls 2

_loadFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected