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

Class PCapFileHeader

impacket/pcapfile.py:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23MAGIC = '"\xD4\xC3\xB2\xA1'
24
25class PCapFileHeader(structure.Structure):
26 structure = (
27 ('magic', MAGIC),
28 ('versionMajor', '<H=2'),
29 ('versionMinor', '<H=4'),
30 ('GMT2localCorrection', '<l=0'),
31 ('timeAccuracy', '<L=0'),
32 ('maxLength', '<L=0xffff'),
33 ('linkType', '<L=1'),
34 ('packets','*:=[]'),
35 )
36
37class PCapFilePacket(structure.Structure):
38 structure = (

Callers 1

createHeaderOnceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…