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

#include <RouteResponse.h>

List of all members.

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< macpath_l_
uint32_t request_id_
uint8_t root_distance

Static Public Attributes

static uint32_t HEADER_FIXED_LEN = 37

Detailed Description

Definition at line 11 of file RouteResponse.h.


Constructor & Destructor Documentation

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.

Definition at line 261 of file RouteResponse.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 28 of file RouteResponse.h.

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.

Definition at line 25 of file RouteResponse.h.

Definition at line 24 of file RouteResponse.h.

Definition at line 20 of file RouteResponse.h.

unsigned char RouteResponse::mac_next_hop_[6]

Definition at line 21 of file RouteResponse.h.

Definition at line 22 of file RouteResponse.h.

Definition at line 29 of file RouteResponse.h.

Definition at line 27 of file RouteResponse.h.

Definition at line 23 of file RouteResponse.h.

Definition at line 30 of file RouteResponse.h.


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


adhoc_communication
Author(s): Guenter Cwioro , Torsten Andre
autogenerated on Thu Aug 27 2015 11:56:40