Package dpkt :: Module sccp :: Class SCCP
[hide private]
[frames] | no frames]

Class SCCP

source code

 object --+    
          |    
dpkt.Packet --+
              |
             SCCP

Nested Classes [hide private]

Inherited from dpkt.Packet: __metaclass__

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

Inherited from dpkt.Packet: __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]
  __byte_order__ = '<'
  __hdr__ = (('len', 'I', 0), ('rsvd', 'I', 0), ('msgid', 'I', 0...
  _msgsw = {3: <class 'dpkt.sccp.KeypadButton'>, 34: <class 'dpk...
  __hdr_defaults__ = {'len': 0, 'msg': '', 'msgid': 0, 'rsvd': 0}
  __hdr_fields__ = ['len', 'rsvd', 'msgid', 'msg']
  __hdr_fmt__ = '<III0s'
  __hdr_len__ = 12
Properties [hide private]

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:
(('len', 'I', 0),
 ('rsvd', 'I', 0),
 ('msgid', 'I', 0),
 ('msg', '0s', ''))

_msgsw

Value:
{3: <class 'dpkt.sccp.KeypadButton'>,
 34: <class 'dpkt.sccp.OpenReceiveChannelAck'>,
 130: <class 'dpkt.sccp.StartTone'>,
 134: <class 'dpkt.sccp.SetLamp'>,
 138: <class 'dpkt.sccp.StartMediaTransmission'>,
 139: <class 'dpkt.sccp.StopMediaTransmission'>,
 143: <class 'dpkt.sccp.CallInfo'>,
 153: <class 'dpkt.sccp.DisplayText'>,
...