MCPcopy Create free account
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/scapypipes.py:102–106  ·  view source on GitHub ↗
(self, fname, name=None)

Source from the content-addressed store, hash-verified

100 """
101
102 def __init__(self, fname, name=None):
103 # type: (str, Optional[Any]) -> None
104 Source.__init__(self, name=name)
105 self.fname = fname
106 self.f = PcapReader(self.fname)
107
108 def start(self):
109 # type: () -> None

Callers

nothing calls this directly

Calls 2

PcapReaderClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected