#include <RouteRequest.h>
Public Member Functions | |
std::string | getRequestAsNetworkString (unsigned char source_mac[6]) |
bool | isMacInPath (unsigned char mac[]) |
RouteRequest (std::string my_hostname, std::string destination, uint16_t max_hops, bool is_multicast) | |
RouteRequest (route_request req) | |
RouteRequest (unsigned char *buffer) | |
virtual | ~RouteRequest () |
Public Attributes | |
uint16_t | buffer_str_len_ |
bool | correct_crc_ |
struct rreq_header | header_ |
std::string | hostname_destination_ |
std::string | hostname_source_ |
bool | mc_flag_ |
std::list< mac > | path_l_ |
Static Public Attributes | |
static uint32_t | HEADER_FIXED_LEN = sizeof(eh_header) + sizeof(rreq_header) |
static uint32_t | req_count_stat = 0 |
Definition at line 28 of file RouteRequest.h.
RouteRequest::RouteRequest | ( | std::string | my_hostname, |
std::string | destination, | ||
uint16_t | max_hops, | ||
bool | is_multicast | ||
) |
Definition at line 111 of file RouteRequest.cpp.
Definition at line 122 of file RouteRequest.cpp.
RouteRequest::RouteRequest | ( | unsigned char * | buffer | ) |
Definition at line 49 of file RouteRequest.cpp.
RouteRequest::~RouteRequest | ( | ) | [virtual] |
Definition at line 206 of file RouteRequest.cpp.
std::string RouteRequest::getRequestAsNetworkString | ( | unsigned char | source_mac[6] | ) |
Definition at line 132 of file RouteRequest.cpp.
bool RouteRequest::isMacInPath | ( | unsigned char | mac[] | ) |
uint16_t RouteRequest::buffer_str_len_ |
Definition at line 41 of file RouteRequest.h.
Reimplemented from EthernetFrame.
Definition at line 43 of file RouteRequest.h.
struct rreq_header RouteRequest::header_ |
Definition at line 36 of file RouteRequest.h.
uint32_t RouteRequest::HEADER_FIXED_LEN = sizeof(eh_header) + sizeof(rreq_header) [static] |
Definition at line 51 of file RouteRequest.h.
std::string RouteRequest::hostname_destination_ |
Definition at line 37 of file RouteRequest.h.
std::string RouteRequest::hostname_source_ |
Definition at line 38 of file RouteRequest.h.
Definition at line 44 of file RouteRequest.h.
std::list<mac> RouteRequest::path_l_ |
Definition at line 39 of file RouteRequest.h.
uint32_t RouteRequest::req_count_stat = 0 [static] |
Definition at line 50 of file RouteRequest.h.