Package dpkt :: Module pim :: Class PIM
[hide private]
[frames] | no frames]

Class PIM

source code

 object --+    
          |    
dpkt.Packet --+
              |
             PIM

Nested Classes [hide private]

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]
 
_get_v(self) source code
 
_set_v(self, v) source code
 
_get_type(self) source code
 
_set_type(self, type) source code
 
__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_type', 'B', 32), ('rsvd', 'B', 0), ('sum', 'H',...
  __hdr_defaults__ = {'rsvd': 0, 'sum': 0, 'v_type': 32}
  __hdr_fields__ = ['v_type', 'rsvd', 'sum']
  __hdr_fmt__ = '>BBH'
  __hdr_len__ = 4
Properties [hide private]
  v
  type
  data
  rsvd
  sum
  v_type

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_type', 'B', 32), ('rsvd', 'B', 0), ('sum', 'H', 0))

Property Details [hide private]

v

Get Method:
_get_v(self)
Set Method:
_set_v(self, v)

type

Get Method:
_get_type(self)
Set Method:
_set_type(self, type)