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

Method register

scapy/config.py:357–360  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

355 return "\n".join(s)
356
357 def register(self, cmd):
358 # type: (DecoratorCallable) -> DecoratorCallable
359 self.append(cmd)
360 return cmd # return cmd so that method can be used as a decorator
361
362
363def lsc():

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected