OpenSDN source code
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< PacketBufferManagerpacket_buffer_manager_
 
FlowMgmtManagerList flow_mgmt_manager_list_
 

Detailed Description

Definition at line 18 of file pkt_init.h.

Member Typedef Documentation

◆ FlowMgmtManagerList

Definition at line 23 of file pkt_init.h.

Constructor & Destructor Documentation

◆ PktModule()

PktModule::PktModule ( Agent agent)

Definition at line 21 of file pkt_init.cc.

◆ ~PktModule()

PktModule::~PktModule ( )
virtual

Definition at line 27 of file pkt_init.cc.

Member Function Documentation

◆ agent()

Agent* PktModule::agent ( ) const
inline

Definition at line 30 of file pkt_init.h.

◆ control_interface()

ControlInterface* PktModule::control_interface ( ) const
inline

Definition at line 46 of file pkt_init.h.

◆ CreateInterfaces()

void PktModule::CreateInterfaces ( )

Definition at line 83 of file pkt_init.cc.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

PktModule::DISALLOW_COPY_AND_ASSIGN ( PktModule  )
private

◆ flow_mgmt_manager()

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

Definition at line 39 of file pkt_init.h.

◆ flow_mgmt_manager_iterator_begin()

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

Definition at line 49 of file pkt_init.h.

◆ flow_mgmt_manager_iterator_end()

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

Definition at line 53 of file pkt_init.h.

◆ flow_mgmt_manager_list()

FlowMgmtManagerList PktModule::flow_mgmt_manager_list ( ) const
inline

Definition at line 36 of file pkt_init.h.

◆ flow_table()

FlowTable * PktModule::flow_table ( uint16_t  index) const

Definition at line 97 of file pkt_init.cc.

◆ FlushFlows()

void PktModule::FlushFlows ( )

Definition at line 79 of file pkt_init.cc.

◆ get_flow_proto()

FlowProto* PktModule::get_flow_proto ( ) const
inline

Definition at line 43 of file pkt_init.h.

◆ Init()

void PktModule::Init ( bool  run_with_vrouter)

Definition at line 30 of file pkt_init.cc.

Here is the call graph for this function:

◆ InitDone()

void PktModule::InitDone ( )

Definition at line 50 of file pkt_init.cc.

◆ IoShutdown()

void PktModule::IoShutdown ( )

Definition at line 75 of file pkt_init.cc.

Here is the call graph for this function:

◆ packet_buffer_manager()

PacketBufferManager* PktModule::packet_buffer_manager ( ) const
inline

Definition at line 33 of file pkt_init.h.

◆ pkt_handler()

PktHandler* PktModule::pkt_handler ( ) const
inline

Definition at line 31 of file pkt_init.h.

◆ set_control_interface()

void PktModule::set_control_interface ( ControlInterface val)

Definition at line 54 of file pkt_init.cc.

◆ Shutdown()

void PktModule::Shutdown ( )

Definition at line 58 of file pkt_init.cc.

Here is the call graph for this function:

Member Data Documentation

◆ agent_

Agent* PktModule::agent_
private

Definition at line 59 of file pkt_init.h.

◆ control_interface_

ControlInterface* PktModule::control_interface_
private

Definition at line 60 of file pkt_init.h.

◆ flow_mgmt_manager_list_

FlowMgmtManagerList PktModule::flow_mgmt_manager_list_
private

Definition at line 64 of file pkt_init.h.

◆ flow_proto_

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

Definition at line 62 of file pkt_init.h.

◆ packet_buffer_manager_

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

Definition at line 63 of file pkt_init.h.

◆ pkt_handler_

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: