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

Method __init__

scapy/scapypipes.py:206–212  ·  view source on GitHub ↗
(self, fname, name=None, linktype=None, **kwargs)

Source from the content-addressed store, hash-verified

204 """
205
206 def __init__(self, fname, name=None, linktype=None, **kwargs):
207 # type: (str, Optional[str], Optional[int], **Any) -> None
208 Sink.__init__(self, name=name)
209 self.fname = fname
210 self.f = None # type: Optional[PcapWriter]
211 self.linktype = linktype
212 self.kwargs = kwargs
213
214 def start(self):
215 # type: () -> None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected