t_client Struct Reference


Data Fields

struct _t_client * next
 Pointer to the next client.
char * ip
 Client Ip address.
char * mac
 Client Mac address.
char * token
 Client token.
unsigned int fw_connection_state
 Connection state in the firewall.
int fd
 Client HTTP socket (valid only during login before one of the _http_* function is called.
t_counters counters
 Counters for input/output of the client.

Detailed Description

Client node for the connected client linked list.

Definition at line 42 of file client_list.h.


Field Documentation

struct _t_client* t_client::next [read]

Pointer to the next client.

Definition at line 43 of file client_list.h.

Referenced by client_list_append(), client_list_delete(), client_list_find(), client_list_find_by_ip(), client_list_find_by_mac(), client_list_find_by_token(), fw_init(), fw_sync_with_authserver(), get_status_text(), and wdctl_restart().

char* t_client::ip

Client Ip address.

Definition at line 44 of file client_list.h.

Referenced by _client_list_free_node(), authenticate_client(), client_list_append(), client_list_find(), client_list_find_by_ip(), fw_init(), fw_sync_with_authserver(), get_status_text(), http_callback_auth(), wdctl_reset(), and wdctl_restart().

char* t_client::mac

Client Mac address.

Definition at line 45 of file client_list.h.

Referenced by _client_list_free_node(), authenticate_client(), client_list_append(), client_list_find(), client_list_find_by_mac(), fw_init(), fw_sync_with_authserver(), get_status_text(), http_callback_auth(), wdctl_reset(), and wdctl_restart().

char* t_client::token

Client token.

Definition at line 46 of file client_list.h.

Referenced by _client_list_free_node(), authenticate_client(), client_list_append(), client_list_find_by_token(), fw_sync_with_authserver(), get_status_text(), http_callback_auth(), and wdctl_restart().

unsigned int t_client::fw_connection_state

Connection state in the firewall.

Definition at line 47 of file client_list.h.

Referenced by authenticate_client(), fw_init(), fw_sync_with_authserver(), http_callback_auth(), wdctl_reset(), and wdctl_restart().

int t_client::fd

Client HTTP socket (valid only during login before one of the _http_* function is called.

Definition at line 49 of file client_list.h.

Referenced by wdctl_restart().

t_counters t_client::counters

Counters for input/output of the client.

Definition at line 52 of file client_list.h.

Referenced by client_list_append(), fw_sync_with_authserver(), get_status_text(), http_callback_auth(), iptables_fw_counters_update(), and wdctl_restart().


The documentation for this struct was generated from the following file:
Generated on Sun Apr 13 21:55:01 2008 for WifiDog by  doxygen 1.5.3