OpenSDN source code
|
#include <traceroute.h>
Public Member Functions | |
TraceRoute (const TraceRouteReq *req, DiagTable *diag_table) | |
virtual | ~TraceRoute () |
virtual void | SendRequest () |
void | RequestTimedOut (uint32_t seqno) |
virtual void | HandleReply (DiagPktHandler *handler) |
void | ReplyLocalHop () |
void | SendSummary () |
virtual bool | IsDone () |
![]() | |
DiagEntry (const std::string &sip, const std::string &dip, uint8_t proto, uint16_t sport, uint16_t dport, const std::string &vrf_name, int timeout, int count, DiagTable *diag_table) | |
virtual | ~DiagEntry () |
void | Init () |
void | EnqueueForceDelete () |
bool | TimerExpiry (uint32_t seqno) |
void | RestartTimer () |
virtual bool | ResendOnTimerExpiry () |
DiagKey | GetKey () |
uint32_t | GetSeqNo () |
uint32_t | GetMaxAttempts () |
void | SetKey (DiagKey key) |
virtual void | Retry () |
bool | TimerCancel () |
DiagTable * | diag_table () const |
uint32_t | HashValUdpSourcePort () |
void | FillOamPktHeader (OverlayOamPktData *pktdata, uint32_t vxlan_id, const boost::posix_time::ptime &time) |
Static Public Member Functions | |
static void | HandleRequest (DiagPktHandler *) |
static void | SendSandeshReply (const std::string &address, const std::string &context, bool more) |
Static Public Attributes | |
static const int | kBufferSize = 1024 |
Private Member Functions | |
void | FillHeader (AgentDiagPktData *data) |
void | IncrementTtl () |
Private Attributes | |
bool | done_ |
uint8_t | ttl_ |
uint16_t | max_ttl_ |
std::string | context_ |
Additional Inherited Members | |
![]() | |
typedef uint16_t | DiagKey |
typedef Timer | DiagTimer |
![]() | |
IpAddress | sip_ |
IpAddress | dip_ |
uint8_t | proto_ |
uint16_t | sport_ |
uint16_t | dport_ |
std::string | vrf_name_ |
boost::system::error_code | ec_ |
DiagTable * | diag_table_ |
DiagKey | key_ |
int | timeout_ |
DiagTimer * | timer_ |
uint32_t | max_attempts_ |
uint32_t | seq_no_ |
Definition at line 13 of file traceroute.h.
TraceRoute::TraceRoute | ( | const TraceRouteReq * | req, |
DiagTable * | diag_table | ||
) |
Definition at line 33 of file traceroute.cc.
|
virtual |
Definition at line 45 of file traceroute.cc.
|
private |
Definition at line 48 of file traceroute.cc.
|
virtual |
Implements DiagEntry.
Definition at line 194 of file traceroute.cc.
|
static |
|
private |
Definition at line 216 of file traceroute.cc.
|
virtual |
Reimplemented from DiagEntry.
Definition at line 212 of file traceroute.cc.
void TraceRoute::ReplyLocalHop | ( | ) |
|
virtual |
Implements DiagEntry.
Definition at line 181 of file traceroute.cc.
|
virtual |
Implements DiagEntry.
Definition at line 56 of file traceroute.cc.
|
static |
Definition at line 22 of file traceroute.cc.
|
virtual |
Reimplemented from DiagEntry.
Definition at line 209 of file traceroute.cc.
|
private |
Definition at line 38 of file traceroute.h.
|
private |
Definition at line 35 of file traceroute.h.
|
static |
Definition at line 15 of file traceroute.h.
|
private |
Definition at line 37 of file traceroute.h.
|
private |
Definition at line 36 of file traceroute.h.