Package dpkt :: Module ospf :: Class OSPF
[hide private]
[frames] | no frames]

Class OSPF

source code

 object --+    
          |    
dpkt.Packet --+
              |
             OSPF

Nested Classes [hide private]

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]
 
__str__(self)
str(x)
source code

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

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

Class Variables [hide private]
  __hdr__ = (('v', 'B', 0), ('type', 'B', 0), ('len', 'H', 0), (...
  __hdr_defaults__ = {'area': 0, 'atype': 0, 'auth': '', 'len': ...
  __hdr_fields__ = ['v', 'type', 'len', 'router', 'area', 'sum',...
  __hdr_fmt__ = '>BBHIIHH8s'
  __hdr_len__ = 24
Properties [hide private]
  area
  atype
  auth
  data
  len
  router
  sum
  type
  v

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

__hdr__

Value:
(('v', 'B', 0),
 ('type', 'B', 0),
 ('len', 'H', 0),
 ('router', 'I', 0),
 ('area', 'I', 0),
 ('sum', 'H', 0),
 ('atype', 'H', 0),
 ('auth', '8s', ''))

__hdr_defaults__

Value:
{'area': 0,
 'atype': 0,
 'auth': '',
 'len': 0,
 'router': 0,
 'sum': 0,
 'type': 0,
 'v': 0}

__hdr_fields__

Value:
['v', 'type', 'len', 'router', 'area', 'sum', 'atype', 'auth']