Package dpkt :: Module snoop :: Class FileHdr
[hide private]
[frames] | no frames]

Class FileHdr

source code

object --+        
         |        
   ??.Temp --+    
             |    
   dpkt.Packet --+
                 |
                FileHdr

snoop file header.

TODO: Longer class information....

Attributes:
    __hdr__: Header fields of snoop file header.
    TODO.

Instance Methods [hide private]

Inherited from dpkt.Packet: __bytes__, __getitem__, __init__, __len__, __repr__, __str__, pack, pack_hdr, unpack

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __byte_order__ = '!'
  __hdr__ = (('magic', 'Q', 8317708086210985984), ('v', 'I', 2),...
  __hdr_defaults__ = {'linktype': 4, 'magic': 831770808621098598...
  __hdr_fields__ = ['magic', 'v', 'linktype']
  __hdr_fmt__ = '!QII'
  __hdr_len__ = 16
Properties [hide private]
  data
  linktype
  magic
  v

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
(('magic', 'Q', 8317708086210985984),
 ('v', 'I', 2),
 ('linktype', 'I', 4))

__hdr_defaults__

Value:
{'linktype': 4, 'magic': 8317708086210985984, 'v': 2}