47 #define MAX_IP_CONNECTIONS CLIENTS_PER_IP
volatile PIPLIST VOLATILE_PIPLIST
struct _iplist_t * PIPLIST
The purpose of this class is to store a list of IP-Addresses.
SINT32 insertIP(const UINT8 ip[4])
Inserts the IP-Address into the list.
~CAIPList()
Deletes the IPList and frees all used resources.
UINT32 m_allowedConnections
volatile VOLATILE_PIPLIST * m_HashTable
CAIPList()
TODO: Fix LOG_TRAFFIC output which is not done anymore, as per default no log message are ommited....
SINT32 removeIP(const UINT8 ip[4])
Removes the IP-Address from the list.
This structure is used for building the IP-List.
UINT8 ip[2]
Next element, NULL if element is the last one.
volatile UINT8 count
First two Bytes of the IP-Address.