OpenSDN source code
|
#include <test_xml_packet.h>
Public Member Functions | |
AgentUtXmlPacketUtils () | |
virtual | ~AgentUtXmlPacketUtils () |
bool | ReadXml (const pugi::xml_node &node) |
const string | ToString () |
bool | Inet6Packet (Interface *intf, Agent *agent, PktGen *pkt) |
bool | InetPacket (Interface *intf, Agent *agent, PktGen *pkt) |
bool | MakePacket (Agent *agent, PktGen *pkt) |
TunnelType::Type | GetTunnelType () const |
uint8_t | GetIpProto () const |
uint8_t | GetTrapCode () const |
PktHandler::PktModuleName | GetPacketModule () const |
bool | IsL2Mode () const |
bool | IsL3Mode () const |
Public Attributes | |
std::string | name_ |
uint32_t | len_ |
uint32_t | vrf_id_ |
std::string | vrf_str_ |
bool | ingress_ |
std::string | fwd_mode_ |
std::string | pkt_module_ |
uint32_t | intf_id_ |
std::string | intf_ |
std::string | tunnel_type_ |
std::string | tunnel_sip_ |
std::string | tunnel_dip_ |
uint32_t | label_ |
uint32_t | vxlan_id_ |
std::string | smac_ |
std::string | dmac_ |
std::string | sip_ |
std::string | dip_ |
uint16_t | proto_id_ |
std::string | proto_ |
uint16_t | sport_ |
uint16_t | dport_ |
bool | tcp_ack_ |
std::string | trap_code_ |
uint32_t | hash_id_ |
Definition at line 17 of file test_xml_packet.h.
AgentUtXmlPacketUtils::AgentUtXmlPacketUtils | ( | ) |
Definition at line 27 of file test_xml_packet.cc.
|
virtual |
Definition at line 59 of file test_xml_packet.cc.
uint8_t AgentUtXmlPacketUtils::GetIpProto | ( | ) | const |
Definition at line 73 of file test_xml_packet.cc.
PktHandler::PktModuleName AgentUtXmlPacketUtils::GetPacketModule | ( | ) | const |
Definition at line 92 of file test_xml_packet.cc.
uint8_t AgentUtXmlPacketUtils::GetTrapCode | ( | ) | const |
Definition at line 84 of file test_xml_packet.cc.
TunnelType::Type AgentUtXmlPacketUtils::GetTunnelType | ( | ) | const |
Definition at line 62 of file test_xml_packet.cc.
Definition at line 222 of file test_xml_packet.cc.
bool AgentUtXmlPacketUtils::IsL2Mode | ( | ) | const |
Definition at line 102 of file test_xml_packet.cc.
bool AgentUtXmlPacketUtils::IsL3Mode | ( | ) | const |
Definition at line 108 of file test_xml_packet.cc.
bool AgentUtXmlPacketUtils::MakePacket | ( | Agent * | agent, |
PktGen * | pkt | ||
) |
bool AgentUtXmlPacketUtils::ReadXml | ( | const pugi::xml_node & | node | ) |
const string AgentUtXmlPacketUtils::ToString | ( | ) |
Definition at line 147 of file test_xml_packet.cc.
std::string AgentUtXmlPacketUtils::dip_ |
Definition at line 57 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::dmac_ |
Definition at line 55 of file test_xml_packet.h.
uint16_t AgentUtXmlPacketUtils::dport_ |
Definition at line 61 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::fwd_mode_ |
Definition at line 42 of file test_xml_packet.h.
uint32_t AgentUtXmlPacketUtils::hash_id_ |
Definition at line 65 of file test_xml_packet.h.
bool AgentUtXmlPacketUtils::ingress_ |
Definition at line 41 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::intf_ |
Definition at line 46 of file test_xml_packet.h.
uint32_t AgentUtXmlPacketUtils::intf_id_ |
Definition at line 45 of file test_xml_packet.h.
uint32_t AgentUtXmlPacketUtils::label_ |
Definition at line 51 of file test_xml_packet.h.
uint32_t AgentUtXmlPacketUtils::len_ |
Definition at line 38 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::name_ |
Definition at line 37 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::pkt_module_ |
Definition at line 43 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::proto_ |
Definition at line 59 of file test_xml_packet.h.
uint16_t AgentUtXmlPacketUtils::proto_id_ |
Definition at line 58 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::sip_ |
Definition at line 56 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::smac_ |
Definition at line 54 of file test_xml_packet.h.
uint16_t AgentUtXmlPacketUtils::sport_ |
Definition at line 60 of file test_xml_packet.h.
bool AgentUtXmlPacketUtils::tcp_ack_ |
Definition at line 62 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::trap_code_ |
Definition at line 64 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::tunnel_dip_ |
Definition at line 50 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::tunnel_sip_ |
Definition at line 49 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::tunnel_type_ |
Definition at line 48 of file test_xml_packet.h.
uint32_t AgentUtXmlPacketUtils::vrf_id_ |
Definition at line 39 of file test_xml_packet.h.
std::string AgentUtXmlPacketUtils::vrf_str_ |
Definition at line 40 of file test_xml_packet.h.
uint32_t AgentUtXmlPacketUtils::vxlan_id_ |
Definition at line 52 of file test_xml_packet.h.