OpenSDN source code
PortTableManager Class Reference

#include <flow_entry.h>

Collaboration diagram for PortTableManager:

Public Types

typedef boost::shared_ptr< PortTablePortTablePtr
 

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

◆ PortTablePtr

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

Definition at line 1105 of file flow_entry.h.

Constructor & Destructor Documentation

◆ PortTableManager()

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::~PortTableManager ( )

Definition at line 4134 of file flow_entry.cc.

Member Function Documentation

◆ Allocate()

uint16_t PortTableManager::Allocate ( const FlowKey key)

Definition at line 4139 of file flow_entry.cc.

◆ Free()

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

Definition at line 4147 of file flow_entry.cc.

◆ GetPortTable()

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

Definition at line 1115 of file flow_entry.h.

◆ PortConfigHandler()

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:

◆ UpdatePortConfig()

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

Definition at line 4155 of file flow_entry.cc.

Member Data Documentation

◆ agent_

Agent* PortTableManager::agent_
private

Definition at line 1119 of file flow_entry.h.

◆ port_table_list_

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: