Package dpkt :: Module udp :: Class UDP
[hide private]
[frames] | no frames]

Class UDP

source code

 object --+    
          |    
dpkt.Packet --+
              |
             UDP

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__ = (('sport', 'H', 57005), ('dport', 'H', 0), ('ulen', ...
  __hdr_defaults__ = {'dport': 0, 'sport': 57005, 'sum': 0, 'ule...
  __hdr_fields__ = ['sport', 'dport', 'ulen', 'sum']
  __hdr_fmt__ = '>HHHH'
  __hdr_len__ = 8
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
(('sport', 'H', 57005),
 ('dport', 'H', 0),
 ('ulen', 'H', 8),
 ('sum', 'H', 0))

__hdr_defaults__

Value:
{'dport': 0, 'sport': 57005, 'sum': 0, 'ulen': 8}