Package pyrad :: Module packet
[show private | hide private]
[frames | no frames]

Module pyrad.packet

RADIUS packet
Classes
AcctPacket  
AuthPacket  
Packet Packet acts like a standard python map to provide simple access to the RADIUS attributes.

Exceptions
PacketError  

Function Summary
8 bit integer CreateID()
Generate a packet ID.

Variable Summary
int AccessAccept = 2                                                                     
int AccessChallenge = 11                                                                    
int AccessReject = 3                                                                     
int AccessRequest = 1                                                                     
int AccountingRequest = 4                                                                     
int AccountingResponse = 5                                                                     
int CurrentID = 186                                                                   
int StatusClient = 13                                                                    
int StatusServer = 12                                                                    

Function Details

CreateID()

Generate a packet ID.
Returns:
packet ID
           (type=8 bit integer)

Variable Details

AccessAccept

Type:
int
Value:
2                                                                     

AccessChallenge

Type:
int
Value:
11                                                                    

AccessReject

Type:
int
Value:
3                                                                     

AccessRequest

Type:
int
Value:
1                                                                     

AccountingRequest

Type:
int
Value:
4                                                                     

AccountingResponse

Type:
int
Value:
5                                                                     

CurrentID

Type:
int
Value:
186                                                                   

StatusClient

Type:
int
Value:
13                                                                    

StatusServer

Type:
int
Value:
12                                                                    

Generated by Epydoc 2.1 on Wed Jun 2 14:19:55 2004 http://epydoc.sf.net