All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
radutmp.h File Reference

Definitions for session tracking with a 'UTMP' file. More...

Go to the source code of this file.

Data Structures

struct  radutmp
 

Macros

#define P_AUTOPPP   'A'
 
#define P_CONSOLE   '!'
 
#define P_CSLIP   'C'
 
#define P_IDLE   0
 
#define P_LOCAL   'L'
 
#define P_LOGIN   1
 
#define P_PPP   'P'
 
#define P_RLOGIN   'R'
 
#define P_SHELL   'X'
 
#define P_SLIP   'S'
 
#define P_TCPCLEAR   'T'
 
#define P_TCPLOGIN   'U'
 
#define P_TELNET   'E'
 
#define P_UNKNOWN   0
 
#define RUT_NAMESIZE   sizeof(((struct radutmp *) NULL)->login)
 
#define RUT_SESSSIZE   sizeof(((struct radutmp *) NULL)->session_id)
 

Detailed Description

Definitions for session tracking with a 'UTMP' file.

Id:
3cce15525cd51f30f90d5e3592c5a393bc248224

Definition in file radutmp.h.


Data Structure Documentation

struct radutmp

Definition at line 53 of file radutmp.h.

Data Fields
char caller_id[16]
time_t delay
unsigned int framed_address
char login[32]
unsigned int nas_address
unsigned int nas_port
char porttype
int proto
char res1
char res2
char res3
char reserved[12]
char session_id[8]
time_t time
int type

Macro Definition Documentation

#define P_AUTOPPP   'A'

Definition at line 42 of file radutmp.h.

#define P_CONSOLE   '!'

Definition at line 46 of file radutmp.h.

#define P_CSLIP   'C'

Definition at line 40 of file radutmp.h.

#define P_IDLE   0

Definition at line 50 of file radutmp.h.

#define P_LOCAL   'L'

Definition at line 37 of file radutmp.h.

#define P_LOGIN   1

Definition at line 51 of file radutmp.h.

#define P_PPP   'P'

Definition at line 41 of file radutmp.h.

#define P_RLOGIN   'R'

Definition at line 38 of file radutmp.h.

#define P_SHELL   'X'

Definition at line 47 of file radutmp.h.

#define P_SLIP   'S'

Definition at line 39 of file radutmp.h.

#define P_TCPCLEAR   'T'

Definition at line 44 of file radutmp.h.

#define P_TCPLOGIN   'U'

Definition at line 45 of file radutmp.h.

#define P_TELNET   'E'

Definition at line 43 of file radutmp.h.

#define P_UNKNOWN   0

Definition at line 36 of file radutmp.h.

#define RUT_NAMESIZE   sizeof(((struct radutmp *) NULL)->login)

Definition at line 74 of file radutmp.h.

#define RUT_SESSSIZE   sizeof(((struct radutmp *) NULL)->session_id)

Definition at line 75 of file radutmp.h.