#include <RouteResponse.h>
Public Member Functions | |
int | GetCrc32 (const std::string &my_string) |
std::string | getResponseAsNetworkString (unsigned char source_mac[6]) |
RouteResponse (RouteRequest req, unsigned char mac[6], uint8_t root_distance) | |
RouteResponse (unsigned char *buffer) | |
virtual | ~RouteResponse () |
Public Attributes | |
bool | correct_crc_ |
uint32_t | current_hop_ |
struct ethhdr | eh_ |
uint32_t | hop_count_ |
std::string | hostname_source_ |
unsigned char | mac_current_hop_ [6] |
unsigned char | mac_next_hop_ [6] |
unsigned char | mac_previous_hop_ [6] |
uint8_t | mc_flag_ |
std::list< mac > | path_l_ |
uint32_t | request_id_ |
uint8_t | root_distance |
Static Public Attributes | |
static uint32_t | HEADER_FIXED_LEN = 37 |
Definition at line 11 of file RouteResponse.h.
RouteResponse::RouteResponse | ( | RouteRequest | req, |
unsigned char | mac[6], | ||
uint8_t | root_distance | ||
) |
Definition at line 156 of file RouteResponse.cpp.
RouteResponse::RouteResponse | ( | unsigned char * | buffer | ) |
Definition at line 40 of file RouteResponse.cpp.
RouteResponse::~RouteResponse | ( | ) | [virtual] |
Definition at line 261 of file RouteResponse.cpp.
int RouteResponse::GetCrc32 | ( | const std::string & | my_string | ) |
Definition at line 266 of file RouteResponse.cpp.
std::string RouteResponse::getResponseAsNetworkString | ( | unsigned char | source_mac[6] | ) |
Definition at line 173 of file RouteResponse.cpp.
Definition at line 28 of file RouteResponse.h.
uint32_t RouteResponse::current_hop_ |
Definition at line 26 of file RouteResponse.h.
struct ethhdr RouteResponse::eh_ |
Definition at line 19 of file RouteResponse.h.
uint32_t RouteResponse::HEADER_FIXED_LEN = 37 [static] |
Definition at line 33 of file RouteResponse.h.
uint32_t RouteResponse::hop_count_ |
Definition at line 25 of file RouteResponse.h.
std::string RouteResponse::hostname_source_ |
Definition at line 24 of file RouteResponse.h.
unsigned char RouteResponse::mac_current_hop_[6] |
Definition at line 20 of file RouteResponse.h.
unsigned char RouteResponse::mac_next_hop_[6] |
Definition at line 21 of file RouteResponse.h.
unsigned char RouteResponse::mac_previous_hop_[6] |
Definition at line 22 of file RouteResponse.h.
uint8_t RouteResponse::mc_flag_ |
Definition at line 29 of file RouteResponse.h.
std::list<mac> RouteResponse::path_l_ |
Definition at line 27 of file RouteResponse.h.
uint32_t RouteResponse::request_id_ |
Definition at line 23 of file RouteResponse.h.
uint8_t RouteResponse::root_distance |
Definition at line 30 of file RouteResponse.h.