MCPcopy Create free account
hub / github.com/fortra/impacket / readHeaderOnce

Method readHeaderOnce

impacket/pcapfile.py:86–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

84 return self.hdr['linkType']
85
86 def readHeaderOnce(self):
87 if self.hdr is None:
88 self.hdr = PCapFileHeader.fromFile(self.file)
89
90 def createHeaderOnce(self):
91 if self.hdr is None:

Callers 3

getSnapLenMethod · 0.95
getLinkTypeMethod · 0.95
readMethod · 0.95

Calls 1

fromFileMethod · 0.80

Tested by

no test coverage detected