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

#include <icmpv6_error_proto.h>

Inheritance diagram for Icmpv6ErrorProto:
Collaboration diagram for Icmpv6ErrorProto:

Classes

struct  Stats
 

Public Member Functions

 Icmpv6ErrorProto (Agent *agent, boost::asio::io_context &io)
 
virtual ~Icmpv6ErrorProto ()
 
ProtoHandlerAllocProtoHandler (boost::shared_ptr< PktInfo > info, boost::asio::io_context &io)
 
void increment_drops ()
 
void increment_interface_errors ()
 
const StatsGetStats () const
 
void ClearStats ()
 
- Public Member Functions inherited from Proto
 Proto (Agent *agent, const char *task_name, PktHandler::PktModuleName mod, boost::asio::io_context &io)
 
virtual ~Proto ()
 
virtual bool Validate (PktInfo *msg)
 
virtual bool Enqueue (boost::shared_ptr< PktInfo > msg)
 
virtual void ProcessStats (PktStatsType::Type type)
 
void FreeBuffer (PktInfo *msg)
 
bool ProcessProto (boost::shared_ptr< PktInfo > msg_info)
 
bool RunProtoHandler (ProtoHandler *handler)
 
void set_trace (bool val)
 
void set_free_buffer (bool val)
 
boost::asio::io_context & get_io_service () const
 
Agentagent () const
 
const ProtoWorkQueuework_queue () const
 
virtual void TokenAvailable (TokenPool *pool)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (Icmpv6ErrorProto)
 

Private Attributes

Stats stats_
 

Additional Inherited Members

- Public Types inherited from Proto
typedef WorkQueue
< boost::shared_ptr< PktInfo > > 
ProtoWorkQueue
 
- Protected Attributes inherited from Proto
Agentagent_
 
PktHandler::PktModuleName module_
 
bool trace_
 
bool free_buffer_
 
boost::asio::io_context & io_
 
ProtoWorkQueue work_queue_
 

Detailed Description

Definition at line 10 of file icmpv6_error_proto.h.

Constructor & Destructor Documentation

Icmpv6ErrorProto::Icmpv6ErrorProto ( Agent agent,
boost::asio::io_context &  io 
)

Definition at line 10 of file icmpv6_error_proto.cc.

Here is the call graph for this function:

Icmpv6ErrorProto::~Icmpv6ErrorProto ( )
virtual

Definition at line 17 of file icmpv6_error_proto.cc.

Member Function Documentation

ProtoHandler * Icmpv6ErrorProto::AllocProtoHandler ( boost::shared_ptr< PktInfo info,
boost::asio::io_context &  io 
)
virtual

Implements Proto.

Definition at line 20 of file icmpv6_error_proto.cc.

Here is the call graph for this function:

void Icmpv6ErrorProto::ClearStats ( )
inline

Definition at line 32 of file icmpv6_error_proto.h.

Here is the call graph for this function:

Icmpv6ErrorProto::DISALLOW_COPY_AND_ASSIGN ( Icmpv6ErrorProto  )
private
const Stats& Icmpv6ErrorProto::GetStats ( ) const
inline

Definition at line 31 of file icmpv6_error_proto.h.

void Icmpv6ErrorProto::increment_drops ( )
inline

Definition at line 29 of file icmpv6_error_proto.h.

void Icmpv6ErrorProto::increment_interface_errors ( )
inline

Definition at line 30 of file icmpv6_error_proto.h.

Member Data Documentation

Stats Icmpv6ErrorProto::stats_
private

Definition at line 35 of file icmpv6_error_proto.h.


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