|
OpenSDN source code
|
#include <vrouter_interface.h>


Public Member Functions | |
| VrouterControlInterface () | |
| virtual | ~VrouterControlInterface () |
| virtual void | InitControlInterface () |
| virtual uint32_t | EncapsulationLength () const |
| int | DecodeAgentHdr (AgentHdr *hdr, uint8_t *buff, uint32_t len) |
| bool | Process (const PacketBufferPtr &pkt) |
| int | EncodeAgentHdr (uint8_t *buff, const AgentHdr &hdr) |
| virtual int | Send (const AgentHdr &hdr, const PacketBufferPtr &pkt) |
| virtual int | Send (uint8_t *buff, uint16_t buf_len, const PacketBufferPtr &pkt)=0 |
Public Member Functions inherited from ControlInterface | |
| ControlInterface () | |
| virtual | ~ControlInterface () |
| void | Init (PktHandler *pkt_handler) |
| void | Shutdown () |
| void | IoShutdown () |
| virtual void | ShutdownControlInterface ()=0 |
| virtual void | IoShutdownControlInterface ()=0 |
| virtual const std::string & | Name () const =0 |
| bool | Process (const AgentHdr &hdr, const PacketBufferPtr &pkt) |
| PktHandler * | pkt_handler () const |
Static Public Attributes | |
| static const uint32_t | kAgentHdrLen |
Static Public Attributes inherited from ControlInterface | |
| static const uint32_t | kMaxPacketSize = 9060 |
Private Member Functions | |
| AgentHdr::PktCommand | VrCmdToAgentCmd (uint16_t vr_cmd) |
| AgentHdr::PktCommandParams | VrCmdParamtoAgentCmdParam (uint16_t param) |
| uint16_t | AgentCmdToVrCmd (AgentHdr::PktCommand agent_cmd) |
| DISALLOW_COPY_AND_ASSIGN (VrouterControlInterface) | |
Private Attributes | |
| std::vector< AgentHdr::PktCommand > | vr_cmd_list_ |
| std::vector< AgentHdr::PktCommandParams > | vr_cmd_params_list_ |
| std::vector< uint16_t > | agent_cmd_list_ |
Definition at line 16 of file vrouter_interface.h.
|
inline |
Definition at line 21 of file vrouter_interface.h.
|
inlinevirtual |
Definition at line 22 of file vrouter_interface.h.
|
inlineprivate |
Definition at line 173 of file vrouter_interface.h.
|
inline |
|
private |
|
inlinevirtual |
Implements ControlInterface.
Definition at line 70 of file vrouter_interface.h.
|
inline |
Definition at line 119 of file vrouter_interface.h.
|
inlinevirtual |
Implements ControlInterface.
Reimplemented in Pkt0Socket, Pkt0RawInterface, and Pkt0Interface.
Definition at line 28 of file vrouter_interface.h.
|
inline |
|
inlinevirtual |
Implements ControlInterface.
Definition at line 140 of file vrouter_interface.h.

|
pure virtual |
Implemented in Pkt0Socket, and Pkt0Interface.
|
inlineprivate |
Definition at line 164 of file vrouter_interface.h.
|
inlineprivate |
Definition at line 155 of file vrouter_interface.h.
|
private |
Definition at line 180 of file vrouter_interface.h.
|
static |
Definition at line 18 of file vrouter_interface.h.
|
private |
Definition at line 178 of file vrouter_interface.h.
|
private |
Definition at line 179 of file vrouter_interface.h.