MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / __init__

Method __init__

dshell/plugins/protocol/ip.py:11–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9class DshellPlugin(dshell.core.PacketPlugin):
10
11 def __init__(self):
12 super().__init__(
13 name='ip',
14 description='IPv4/IPv6 plugin',
15 bpf='ip or ip6',
16 author='twp',
17 output=AlertOutput(label=__name__),
18 )
19
20 def packet_handler(self, packet):
21 self.write(**packet.info(), dir_arrow='->')

Callers

nothing calls this directly

Calls 1

AlertOutputClass · 0.90

Tested by

no test coverage detected