OpenSDN source code
|
#include <flow_entry.h>
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 PortTable * | GetPortTable (uint8_t proto) |
Static Public Member Functions | |
static void | PortConfigHandler (Agent *agent, uint8_t protocol, const PortConfig *pc) |
Private Attributes | |
Agent * | agent_ |
PortTablePtr | port_table_list_ [IPPROTO_MAX] |
Definition at line 1103 of file flow_entry.h.
typedef boost::shared_ptr<PortTable> PortTableManager::PortTablePtr |
Definition at line 1105 of file flow_entry.h.
PortTableManager::PortTableManager | ( | Agent * | agent, |
uint16_t | hash_table_size | ||
) |
PortTableManager::~PortTableManager | ( | ) |
Definition at line 4134 of file flow_entry.cc.
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.
|
inline |
Definition at line 1115 of file flow_entry.h.
|
static |
void PortTableManager::UpdatePortConfig | ( | uint8_t | protocol, |
const PortConfig * | config | ||
) |
Definition at line 4155 of file flow_entry.cc.
|
private |
Definition at line 1119 of file flow_entry.h.
|
private |
Definition at line 1120 of file flow_entry.h.