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

Method set_from_hook

scapy/config.py:123–126  ·  view source on GitHub ↗
(obj, name, val)

Source from the content-addressed store, hash-verified

121
122 @staticmethod
123 def set_from_hook(obj, name, val):
124 # type: (Conf, str, bool) -> None
125 int_name = "_intercepted_%s" % name
126 setattr(obj, int_name, val)
127
128 def __set__(self, obj, val):
129 # type: (Conf, Any) -> None

Callers 4

_readonlyFunction · 0.80
_prompt_changerFunction · 0.80
_set_conf_socketsFunction · 0.80
_socket_changerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected