OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PortTableManager Class Reference

#include <flow_entry.h>

Collaboration diagram for PortTableManager:

Public Types

typedef boost::shared_ptr
< PortTable
PortTablePtr
 

Public Member Functions

 PortTableManager (Agent *agent, uint16_t hash_table_size)
 
 ~PortTableManager ()
 
uint16_t Allocate (const FlowKey &key)
 
void Free (const FlowKey &key, uint16_t port, bool release)
 
void UpdatePortConfig (uint8_t protocol, const PortConfig *config)
 
const PortTableGetPortTable (uint8_t proto)
 

Static Public Member Functions

static void PortConfigHandler (Agent *agent, uint8_t protocol, const PortConfig *pc)
 

Private Attributes

Agentagent_
 
PortTablePtr port_table_list_ [IPPROTO_MAX]
 

Detailed Description

Definition at line 1103 of file flow_entry.h.

Member Typedef Documentation

typedef boost::shared_ptr<PortTable> PortTableManager::PortTablePtr

Definition at line 1105 of file flow_entry.h.

Constructor & Destructor Documentation

PortTableManager::PortTableManager ( Agent agent,
uint16_t  hash_table_size 
)

Definition at line 4125 of file flow_entry.cc.

Here is the call graph for this function:

PortTableManager::~PortTableManager ( )

Definition at line 4134 of file flow_entry.cc.

Member Function Documentation

uint16_t PortTableManager::Allocate ( const FlowKey key)

Definition at line 4139 of file flow_entry.cc.

void PortTableManager::Free ( const FlowKey key,
uint16_t  port,
bool  release 
)

Definition at line 4147 of file flow_entry.cc.

const PortTable* PortTableManager::GetPortTable ( uint8_t  proto)
inline

Definition at line 1115 of file flow_entry.h.

void PortTableManager::PortConfigHandler ( Agent agent,
uint8_t  protocol,
const PortConfig pc 
)
static

Definition at line 4163 of file flow_entry.cc.

Here is the call graph for this function:

void PortTableManager::UpdatePortConfig ( uint8_t  protocol,
const PortConfig config 
)

Definition at line 4155 of file flow_entry.cc.

Member Data Documentation

Agent* PortTableManager::agent_
private

Definition at line 1119 of file flow_entry.h.

PortTablePtr PortTableManager::port_table_list_[IPPROTO_MAX]
private

Definition at line 1120 of file flow_entry.h.


The documentation for this class was generated from the following files: