Package dpkt :: Module netbios :: Class Datagram
[hide private]
[frames] | no frames]

Class Datagram

source code

 object --+    
          |    
dpkt.Packet --+
              |
             Datagram

NetBIOS Datagram Service.

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__ = (('type', 'B', 0), ('flags', 'B', 0), ('id', 'H', 0)...
  __hdr_defaults__ = {'flags': 0, 'id': 0, 'len': 0, 'off': 0, '...
  __hdr_fields__ = ['type', 'flags', 'id', 'src', 'sport', 'len'...
  __hdr_fmt__ = '>BBHIHHH'
  __hdr_len__ = 14
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
(('type', 'B', 0),
 ('flags', 'B', 0),
 ('id', 'H', 0),
 ('src', 'I', 0),
 ('sport', 'H', 0),
 ('len', 'H', 0),
 ('off', 'H', 0))

__hdr_defaults__

Value:
{'flags': 0,
 'id': 0,
 'len': 0,
 'off': 0,
 'sport': 0,
 'src': 0,
 'type': 0}

__hdr_fields__

Value:
['type', 'flags', 'id', 'src', 'sport', 'len', 'off']