Public Types | Public Member Functions | Static Public Member Functions

ServerSessionPool::IPHashing Struct Reference

Interface class for IP map. More...

#include <HttpSessionManager.h>

Public Types

typedef uint32_t ID
typedef sockaddr const * Key
typedef HttpServerSession Value

Public Member Functions

typedef DList (HttpServerSession, ip_hash_link) ListHead

Static Public Member Functions

static ID hash (Key key)
static Key key (Value const *value)
static bool equal (Key lhs, Key rhs)

Detailed Description

Interface class for IP map.

Definition at line 66 of file HttpSessionManager.h.


Member Typedef Documentation

Definition at line 68 of file HttpSessionManager.h.

typedef sockaddr const* ServerSessionPool::IPHashing::Key

Definition at line 69 of file HttpSessionManager.h.

Definition at line 70 of file HttpSessionManager.h.


Member Function Documentation

typedef ServerSessionPool::IPHashing::DList ( HttpServerSession  ,
ip_hash_link   
)
static bool ServerSessionPool::IPHashing::equal ( Key  lhs,
Key  rhs 
) [inline, static]

Definition at line 75 of file HttpSessionManager.h.

References ats_ip_addr_port_eq().

static ID ServerSessionPool::IPHashing::hash ( Key  key  )  [inline, static]

Definition at line 73 of file HttpSessionManager.h.

References ats_ip_hash().

static Key ServerSessionPool::IPHashing::key ( Value const *  value  )  [inline, static]

Definition at line 74 of file HttpSessionManager.h.

References IpEndpoint::sa, and HttpServerSession::server_ip.


The documentation for this struct was generated from the following file: