Package dpkt :: Module pcapng :: Class InterfaceDescriptionBlock
[hide private]
[frames] | no frames]

Class InterfaceDescriptionBlock

source code

object --+            
         |            
   ??.Temp --+        
             |        
   dpkt.Packet --+    
                 |    
      _PcapngBlock --+
                     |
                    InterfaceDescriptionBlock
Known Subclasses:

Interface Description block

Instance Methods [hide private]

Inherited from _PcapngBlock: __bytes__, __len__, unpack, unpack_hdr

Inherited from _PcapngBlock (private): _do_pack_options, _do_unpack_options

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

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

Class Variables [hide private]
  __hdr__ = (('type', 'I', 1), ('len', 'I', 20), ('linktype', 'H...
  __hdr_defaults__ = {'_len': 20, '_reserved': 0, 'len': 20, 'li...
  __hdr_fields__ = ['type', 'len', 'linktype', '_reserved', 'sna...
  __hdr_fmt__ = '>IIHHII'
  __hdr_len__ = 20
Properties [hide private]
  _len
  _reserved
  data
  len
  linktype
  snaplen
  type

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
(('type', 'I', 1),
 ('len', 'I', 20),
 ('linktype', 'H', 1),
 ('_reserved', 'H', 0),
 ('snaplen', 'I', 1500),
 ('_len', 'I', 20))

__hdr_defaults__

Value:
{'_len': 20,
 '_reserved': 0,
 'len': 20,
 'linktype': 1,
 'snaplen': 1500,
 'type': 1}

__hdr_fields__

Value:
['type', 'len', 'linktype', '_reserved', 'snaplen', '_len']