OpenSDN source code
|
#include <icmpv6_error_proto.h>
Classes | |
struct | Stats |
Public Member Functions | |
Icmpv6ErrorProto (Agent *agent, boost::asio::io_context &io) | |
virtual | ~Icmpv6ErrorProto () |
ProtoHandler * | AllocProtoHandler (boost::shared_ptr< PktInfo > info, boost::asio::io_context &io) |
void | increment_drops () |
void | increment_interface_errors () |
const Stats & | GetStats () const |
void | ClearStats () |
![]() | |
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 |
Agent * | agent () const |
const ProtoWorkQueue * | work_queue () const |
virtual void | TokenAvailable (TokenPool *pool) |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (Icmpv6ErrorProto) | |
Private Attributes | |
Stats | stats_ |
Additional Inherited Members | |
![]() | |
typedef WorkQueue < boost::shared_ptr< PktInfo > > | ProtoWorkQueue |
![]() | |
Agent * | agent_ |
PktHandler::PktModuleName | module_ |
bool | trace_ |
bool | free_buffer_ |
boost::asio::io_context & | io_ |
ProtoWorkQueue | work_queue_ |
Definition at line 10 of file icmpv6_error_proto.h.
Icmpv6ErrorProto::Icmpv6ErrorProto | ( | Agent * | agent, |
boost::asio::io_context & | io | ||
) |
|
virtual |
Definition at line 17 of file icmpv6_error_proto.cc.
|
virtual |
Implements Proto.
Definition at line 20 of file icmpv6_error_proto.cc.
|
inline |
|
private |
|
inline |
Definition at line 31 of file icmpv6_error_proto.h.
|
inline |
Definition at line 29 of file icmpv6_error_proto.h.
|
inline |
Definition at line 30 of file icmpv6_error_proto.h.
|
private |
Definition at line 35 of file icmpv6_error_proto.h.