Package dpkt :: Module sctp :: Class SCTP
[hide private]
[frames] | no frames]

Class SCTP

source code

 object --+    
          |    
dpkt.Packet --+
              |
             SCTP

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
 
__len__(self) source code
 
__str__(self)
str(x)
source code

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

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

Class Variables [hide private]
  __hdr__ = (('sport', 'H', 0), ('dport', 'H', 0), ('vtag', 'I',...
  __hdr_defaults__ = {'dport': 0, 'sport': 0, 'sum': 0, 'vtag': 0}
  __hdr_fields__ = ['sport', 'dport', 'vtag', 'sum']
  __hdr_fmt__ = '>HHII'
  __hdr_len__ = 12
Properties [hide private]
  data
  dport
  sport
  sum
  vtag

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)

__len__(self)
(Length operator)

source code 
Overrides: dpkt.Packet.__len__

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

__hdr__

Value:
(('sport', 'H', 0),
 ('dport', 'H', 0),
 ('vtag', 'I', 0),
 ('sum', 'I', 0))