MySQL 5.6.14 Source Code Document
|
#include <hostname.h>
Public Member Functions | |
Host_entry * | next () |
void | set_error_timestamps (ulonglong now) |
Public Member Functions inherited from hash_filo_element | |
hash_filo_element * | prev () |
Public Attributes | |
char | ip_key [HOST_ENTRY_KEY_SIZE] |
char | m_hostname [HOSTNAME_LENGTH+1] |
uint | m_hostname_length |
bool | m_host_validated |
ulonglong | m_first_seen |
ulonglong | m_last_seen |
ulonglong | m_first_error_seen |
ulonglong | m_last_error_seen |
Host_errors | m_errors |
An entry in the hostname hash table cache.
Host name cache does two things:
Host name can be empty (that means DNS look up failed), but errors still are counted.
Definition at line 125 of file hostname.h.
char Host_entry::ip_key[HOST_ENTRY_KEY_SIZE] |
Client IP address. This is the key used with the hash table.
The client IP address is always expressed in IPv6, even when the network IPv6 stack is not present.
This IP address is never used to connect to a socket.
Definition at line 139 of file hostname.h.
Host_errors Host_entry::m_errors |
Error statistics.
Definition at line 154 of file hostname.h.
bool Host_entry::m_host_validated |
The hostname is validated and used for authorization.
Definition at line 148 of file hostname.h.
char Host_entry::m_hostname[HOSTNAME_LENGTH+1] |
One of the host names for the IP address. May be a zero length string.
Definition at line 144 of file hostname.h.
uint Host_entry::m_hostname_length |
Length in bytes of m_hostname
.
Definition at line 146 of file hostname.h.