Package dpkt :: Module mrt :: Class TableDump
[hide private]
[frames] | no frames]

Class TableDump

source code

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

Instance Methods [hide private]
 
unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
source code

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

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

Class Variables [hide private]
  __hdr__ = (('view', 'H', 0), ('seq', 'H', 0), ('prefix', 'I', ...
  __hdr_defaults__ = {'attr_len': 0, 'originated_ts': 0, 'peer_a...
  __hdr_fields__ = ['view', 'seq', 'prefix', 'prefix_len', 'stat...
  __hdr_fmt__ = '>HHIBBIIHH'
  __hdr_len__ = 22
Properties [hide private]
  attr_len
  data
  originated_ts
  peer_as
  peer_ip
  prefix
  prefix_len
  seq
  status
  view

Inherited from object: __class__

Method Details [hide private]

unpack(self, buf)

source code 
Unpack packet header fields from buf, and set self.data.

Overrides: dpkt.Packet.unpack
(inherited documentation)

Class Variable Details [hide private]

__hdr__

Value:
(('view', 'H', 0),
 ('seq', 'H', 0),
 ('prefix', 'I', 0),
 ('prefix_len', 'B', 0),
 ('status', 'B', 1),
 ('originated_ts', 'I', 0),
 ('peer_ip', 'I', 0),
 ('peer_as', 'H', 0),
...

__hdr_defaults__

Value:
{'attr_len': 0,
 'originated_ts': 0,
 'peer_as': 0,
 'peer_ip': 0,
 'prefix': 0,
 'prefix_len': 0,
 'seq': 0,
 'status': 1,
...

__hdr_fields__

Value:
['view',
 'seq',
 'prefix',
 'prefix_len',
 'status',
 'originated_ts',
 'peer_ip',
 'peer_as',
...