Public Member Functions | Public Attributes | Static Public Attributes
RouteRequest Class Reference

#include <RouteRequest.h>

Inheritance diagram for RouteRequest:
Inheritance graph
[legend]

List of all members.

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< macpath_l_

Static Public Attributes

static uint32_t HEADER_FIXED_LEN = sizeof(eh_header) + sizeof(rreq_header)
static uint32_t req_count_stat = 0

Detailed Description

Definition at line 28 of file RouteRequest.h.


Constructor & Destructor Documentation

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.

Definition at line 206 of file RouteRequest.cpp.


Member Function Documentation

std::string RouteRequest::getRequestAsNetworkString ( unsigned char  source_mac[6])

Definition at line 132 of file RouteRequest.cpp.

bool RouteRequest::isMacInPath ( unsigned char  mac[])

Member Data Documentation

Definition at line 41 of file RouteRequest.h.

Reimplemented from EthernetFrame.

Definition at line 43 of file RouteRequest.h.

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.

Definition at line 37 of file RouteRequest.h.

Definition at line 38 of file RouteRequest.h.

Definition at line 44 of file RouteRequest.h.

Definition at line 39 of file RouteRequest.h.

uint32_t RouteRequest::req_count_stat = 0 [static]

Definition at line 50 of file RouteRequest.h.


The documentation for this class was generated from the following files:


adhoc_communication
Author(s): Guenter Cwioro , Torsten Andre
autogenerated on Thu Jun 6 2019 20:59:43