#include <users.h>
Inheritance diagram for ConnectClass:
Public Member Functions | |
ConnectClass () | |
Public Attributes | |
char | type |
Type of line, either CC_ALLOW or CC_DENY. | |
int | registration_timeout |
Max time to register the connection in seconds. | |
int | flood |
Number of lines in buffer before excess flood is triggered. | |
char | host [MAXBUF] |
Host mask for this line. | |
int | pingtime |
Number of seconds between pings for this line. | |
char | pass [MAXBUF] |
(Optional) Password for this line | |
int | threshold |
Threshold value for flood disconnect. | |
long | sendqmax |
Maximum size of sendq for users in this class (bytes). | |
long | recvqmax |
Maximum size of recvq for users in this class (bytes). |
Definition at line 48 of file users.h.
|
Definition at line 82 of file users.h. References flood, host, pass, pingtime, recvqmax, registration_timeout, sendqmax, and threshold. 00083 { 00084 registration_timeout = 0; 00085 flood = 0; 00086 pingtime = 0; 00087 threshold = 0; 00088 sendqmax = 0; 00089 recvqmax = 0; 00090 strlcpy(host,"",MAXBUF); 00091 strlcpy(pass,"",MAXBUF); 00092 }
|
|
Number of lines in buffer before excess flood is triggered.
Definition at line 59 of file users.h. Referenced by ConnectClass(). |
|
Host mask for this line.
Definition at line 62 of file users.h. Referenced by ConnectClass(). |
|
(Optional) Password for this line
Definition at line 68 of file users.h. Referenced by ConnectClass(). |
|
Number of seconds between pings for this line.
Definition at line 65 of file users.h. Referenced by ConnectClass(). |
|
Maximum size of recvq for users in this class (bytes).
Definition at line 80 of file users.h. Referenced by ConnectClass(). |
|
Max time to register the connection in seconds.
Definition at line 56 of file users.h. Referenced by ConnectClass(). |
|
Maximum size of sendq for users in this class (bytes).
Definition at line 76 of file users.h. Referenced by ConnectClass(). |
|
Threshold value for flood disconnect.
Definition at line 72 of file users.h. Referenced by ConnectClass(). |
|
Type of line, either CC_ALLOW or CC_DENY.
|