The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
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
3eafb379528d775bdfd437df4418d7096e92c63b

Definition in file radutmp.h.


Data Structure Documentation

◆ radutmp

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

◆ P_AUTOPPP

#define P_AUTOPPP   'A'

Definition at line 42 of file radutmp.h.

◆ P_CONSOLE

#define P_CONSOLE   '!'

Definition at line 46 of file radutmp.h.

◆ P_CSLIP

#define P_CSLIP   'C'

Definition at line 40 of file radutmp.h.

◆ P_IDLE

#define P_IDLE   0

Definition at line 50 of file radutmp.h.

◆ P_LOCAL

#define P_LOCAL   'L'

Definition at line 37 of file radutmp.h.

◆ P_LOGIN

#define P_LOGIN   1

Definition at line 51 of file radutmp.h.

◆ P_PPP

#define P_PPP   'P'

Definition at line 41 of file radutmp.h.

◆ P_RLOGIN

#define P_RLOGIN   'R'

Definition at line 38 of file radutmp.h.

◆ P_SHELL

#define P_SHELL   'X'

Definition at line 47 of file radutmp.h.

◆ P_SLIP

#define P_SLIP   'S'

Definition at line 39 of file radutmp.h.

◆ P_TCPCLEAR

#define P_TCPCLEAR   'T'

Definition at line 44 of file radutmp.h.

◆ P_TCPLOGIN

#define P_TCPLOGIN   'U'

Definition at line 45 of file radutmp.h.

◆ P_TELNET

#define P_TELNET   'E'

Definition at line 43 of file radutmp.h.

◆ P_UNKNOWN

#define P_UNKNOWN   0

Definition at line 36 of file radutmp.h.

◆ RUT_NAMESIZE

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

Definition at line 74 of file radutmp.h.

◆ RUT_SESSSIZE

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

Definition at line 75 of file radutmp.h.