OpenSDN source code
|
#include <dhcpv6_proto.h>
Classes | |
struct | DhcpStats |
struct | Duid |
Public Member Functions | |
Dhcpv6Proto (Agent *agent, boost::asio::io_context &io, bool run_with_vrouter) | |
virtual | ~Dhcpv6Proto () |
ProtoHandler * | AllocProtoHandler (boost::shared_ptr< PktInfo > info, boost::asio::io_context &io) |
void | Shutdown () |
const Duid * | server_duid () const |
void | IncrStatsSolicit () |
void | IncrStatsAdvertise () |
void | IncrStatsRequest () |
void | IncrStatsConfirm () |
void | IncrStatsRenew () |
void | IncrStatsRebind () |
void | IncrStatsReply () |
void | IncrStatsRelease () |
void | IncrStatsDecline () |
void | IncrStatsReconfigure () |
void | IncrStatsInformationRequest () |
void | IncrStatsError () |
const DhcpStats & | 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) |
Static Public Attributes | |
static const uint32_t | kDhcpMaxPacketSize = 1024 |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (Dhcpv6Proto) | |
Private Attributes | |
bool | run_with_vrouter_ |
DhcpStats | stats_ |
Duid | server_duid_ |
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 23 of file dhcpv6_proto.h.
Dhcpv6Proto::Dhcpv6Proto | ( | Agent * | agent, |
boost::asio::io_context & | io, | ||
bool | run_with_vrouter | ||
) |
|
virtual |
Definition at line 29 of file dhcpv6_proto.cc.
|
virtual |
Implements Proto.
Definition at line 32 of file dhcpv6_proto.cc.
|
inline |
|
private |
|
inline |
Definition at line 75 of file dhcpv6_proto.h.
|
inline |
Definition at line 64 of file dhcpv6_proto.h.
|
inline |
Definition at line 66 of file dhcpv6_proto.h.
|
inline |
Definition at line 71 of file dhcpv6_proto.h.
|
inline |
Definition at line 74 of file dhcpv6_proto.h.
|
inline |
Definition at line 73 of file dhcpv6_proto.h.
|
inline |
Definition at line 68 of file dhcpv6_proto.h.
|
inline |
Definition at line 72 of file dhcpv6_proto.h.
|
inline |
Definition at line 70 of file dhcpv6_proto.h.
|
inline |
Definition at line 67 of file dhcpv6_proto.h.
|
inline |
Definition at line 69 of file dhcpv6_proto.h.
|
inline |
Definition at line 65 of file dhcpv6_proto.h.
|
inline |
Definition at line 63 of file dhcpv6_proto.h.
|
inline |
Definition at line 61 of file dhcpv6_proto.h.
void Dhcpv6Proto::Shutdown | ( | ) |
Definition at line 37 of file dhcpv6_proto.cc.
|
static |
Definition at line 25 of file dhcpv6_proto.h.
|
private |
Definition at line 79 of file dhcpv6_proto.h.
|
private |
Definition at line 81 of file dhcpv6_proto.h.
|
private |
Definition at line 80 of file dhcpv6_proto.h.