Package dpkt :: Module radius :: Class RADIUS
[hide private]
[frames] | no frames]

Class RADIUS

source code

object --+        
         |        
   ??.Temp --+    
             |    
   dpkt.Packet --+
                 |
                RADIUS

Remote Authentication Dial-In User Service.

TODO: Longer class information....

Attributes:
    __hdr__: Header fields of RADIUS.
    TODO.

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

Inherited from dpkt.Packet: __bytes__, __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]
  __hdr__ = (('code', 'B', 0), ('id', 'B', 0), ('len', 'H', 4), ...
  attrs = ''
  __hdr_defaults__ = {'auth': '', 'code': 0, 'id': 0, 'len': 4}
  __hdr_fields__ = ['code', 'id', 'len', 'auth']
  __hdr_fmt__ = '>BBH16s'
  __hdr_len__ = 20
Properties [hide private]
  auth
  code
  data
  id
  len

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:
(('code', 'B', 0),
 ('id', 'B', 0),
 ('len', 'H', 4),
 ('auth', '16s', ''))