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

#include <pkt_init.h>

Collaboration diagram for PktModule:

Public Types

typedef std::vector
< FlowMgmtManager * > 
FlowMgmtManagerList
 

Public Member Functions

 PktModule (Agent *agent)
 
virtual ~PktModule ()
 
void Init (bool run_with_vrouter)
 
void Shutdown ()
 
void IoShutdown ()
 
void FlushFlows ()
 
void InitDone ()
 
Agentagent () const
 
PktHandlerpkt_handler () const
 
FlowTableflow_table (uint16_t index) const
 
PacketBufferManagerpacket_buffer_manager () const
 
FlowMgmtManagerList flow_mgmt_manager_list () const
 
FlowMgmtManagerflow_mgmt_manager (uint16_t index) const
 
FlowProtoget_flow_proto () const
 
void set_control_interface (ControlInterface *val)
 
ControlInterfacecontrol_interface () const
 
std::vector< FlowMgmtManager * >
::const_iterator 
flow_mgmt_manager_iterator_begin () const
 
std::vector< FlowMgmtManager * >
::const_iterator 
flow_mgmt_manager_iterator_end () const
 
void CreateInterfaces ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (PktModule)
 

Private Attributes

Agentagent_
 
ControlInterfacecontrol_interface_
 
boost::scoped_ptr< PktHandlerpkt_handler_
 
boost::scoped_ptr< FlowProtoflow_proto_
 
boost::scoped_ptr
< PacketBufferManager
packet_buffer_manager_
 
FlowMgmtManagerList flow_mgmt_manager_list_
 

Detailed Description

Definition at line 18 of file pkt_init.h.

Member Typedef Documentation

Definition at line 23 of file pkt_init.h.

Constructor & Destructor Documentation

PktModule::PktModule ( Agent agent)

Definition at line 21 of file pkt_init.cc.

PktModule::~PktModule ( )
virtual

Definition at line 27 of file pkt_init.cc.

Member Function Documentation

Agent* PktModule::agent ( ) const
inline

Definition at line 30 of file pkt_init.h.

ControlInterface* PktModule::control_interface ( ) const
inline

Definition at line 46 of file pkt_init.h.

void PktModule::CreateInterfaces ( )

Definition at line 83 of file pkt_init.cc.

Here is the call graph for this function:

PktModule::DISALLOW_COPY_AND_ASSIGN ( PktModule  )
private
FlowMgmtManager* PktModule::flow_mgmt_manager ( uint16_t  index) const
inline

Definition at line 39 of file pkt_init.h.

std::vector<FlowMgmtManager *>::const_iterator PktModule::flow_mgmt_manager_iterator_begin ( ) const
inline

Definition at line 49 of file pkt_init.h.

std::vector<FlowMgmtManager *>::const_iterator PktModule::flow_mgmt_manager_iterator_end ( ) const
inline

Definition at line 53 of file pkt_init.h.

FlowMgmtManagerList PktModule::flow_mgmt_manager_list ( ) const
inline

Definition at line 36 of file pkt_init.h.

FlowTable * PktModule::flow_table ( uint16_t  index) const

Definition at line 97 of file pkt_init.cc.

void PktModule::FlushFlows ( )

Definition at line 79 of file pkt_init.cc.

FlowProto* PktModule::get_flow_proto ( ) const
inline

Definition at line 43 of file pkt_init.h.

void PktModule::Init ( bool  run_with_vrouter)

Definition at line 30 of file pkt_init.cc.

Here is the call graph for this function:

void PktModule::InitDone ( )

Definition at line 50 of file pkt_init.cc.

void PktModule::IoShutdown ( )

Definition at line 75 of file pkt_init.cc.

Here is the call graph for this function:

PacketBufferManager* PktModule::packet_buffer_manager ( ) const
inline

Definition at line 33 of file pkt_init.h.

PktHandler* PktModule::pkt_handler ( ) const
inline

Definition at line 31 of file pkt_init.h.

void PktModule::set_control_interface ( ControlInterface val)

Definition at line 54 of file pkt_init.cc.

void PktModule::Shutdown ( )

Definition at line 58 of file pkt_init.cc.

Here is the call graph for this function:

Member Data Documentation

Agent* PktModule::agent_
private

Definition at line 59 of file pkt_init.h.

ControlInterface* PktModule::control_interface_
private

Definition at line 60 of file pkt_init.h.

FlowMgmtManagerList PktModule::flow_mgmt_manager_list_
private

Definition at line 64 of file pkt_init.h.

boost::scoped_ptr<FlowProto> PktModule::flow_proto_
private

Definition at line 62 of file pkt_init.h.

boost::scoped_ptr<PacketBufferManager> PktModule::packet_buffer_manager_
private

Definition at line 63 of file pkt_init.h.

boost::scoped_ptr<PktHandler> PktModule::pkt_handler_
private

Definition at line 61 of file pkt_init.h.


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