Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getSnapLen
Method · 0.95
getLinkType
Method · 0.95
read
Method · 0.95
Calls
1
fromFile
Method · 0.80
Tested by
no test coverage detected