| 111 |
|
unsigned int hopcount; /* number of servers to this 0 = local */ |
| 112 |
|
unsigned int status; /* Client type */ |
| 113 |
|
unsigned int handler; /* Handler index */ |
| 114 |
– |
unsigned int serial; /* used to enforce 1 send per nick */ |
| 114 |
|
|
| 115 |
|
dlink_list channel; /* chain of channel pointer blocks */ |
| 116 |
|
|
| 142 |
|
* gcos field in /etc/passwd but anything can go here. |
| 143 |
|
*/ |
| 144 |
|
char info[REALLEN + 1]; /* Free form additional client info */ |
| 146 |
– |
char client_host[HOSTLEN + 1]; |
| 147 |
– |
char client_server[HOSTLEN + 1]; |
| 145 |
|
|
| 146 |
< |
/* client->sockhost contains the ip address gotten from the socket as a |
| 146 |
> |
/* |
| 147 |
> |
* client->sockhost contains the ip address gotten from the socket as a |
| 148 |
|
* string, this field should be considered read-only once the connection |
| 149 |
|
* has been made. (set in s_bsd.c only) |
| 150 |
|
*/ |
| 158 |
|
* The following fields are allocated only for local clients |
| 159 |
|
* (directly connected to *this* server with a socket. |
| 160 |
|
*/ |
| 161 |
< |
dlink_node lclient_node; |
| 164 |
< |
|
| 161 |
> |
dlink_node lclient_node; |
| 162 |
|
|
| 163 |
+ |
char client_host[HOSTLEN + 1]; |
| 164 |
+ |
char client_server[HOSTLEN + 1]; |
| 165 |
|
|
| 166 |
|
unsigned int registration; |
| 167 |
|
unsigned int cap_client; /* Client capabilities (from us) */ |
| 170 |
|
unsigned int operflags; /* oper priv flags */ |
| 171 |
|
unsigned int random_ping; |
| 172 |
|
|
| 173 |
+ |
unsigned int serial; /* used to enforce 1 send per nick */ |
| 174 |
|
|
| 175 |
|
/* Anti flooding part, all because of lamers... */ |
| 176 |
|
time_t last_knock; /* time of last knock */ |