Package dpkt :: Module stp :: Class STP
[hide private]
[frames] | no frames]

Class STP

source code

 object --+    
          |    
dpkt.Packet --+
              |
             STP

Nested Classes [hide private]

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]

Inherited from dpkt.Packet: __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]
  __hdr__ = (('proto_id', 'H', 0), ('v', 'B', 0), ('type', 'B', ...
  __hdr_defaults__ = {'age': 0, 'bridge_id': '', 'fd': 0, 'flags...
  __hdr_fields__ = ['proto_id', 'v', 'type', 'flags', 'root_id',...
  __hdr_fmt__ = '>HBBB8sI8sHHHHH'
  __hdr_len__ = 35
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
(('proto_id', 'H', 0),
 ('v', 'B', 0),
 ('type', 'B', 0),
 ('flags', 'B', 0),
 ('root_id', '8s', ''),
 ('root_path', 'I', 0),
 ('bridge_id', '8s', ''),
 ('port_id', 'H', 0),
...

__hdr_defaults__

Value:
{'age': 0,
 'bridge_id': '',
 'fd': 0,
 'flags': 0,
 'hello': 0,
 'max_age': 0,
 'port_id': 0,
 'proto_id': 0,
...

__hdr_fields__

Value:
['proto_id',
 'v',
 'type',
 'flags',
 'root_id',
 'root_path',
 'bridge_id',
 'port_id',
...