|
DESERT 4.0.0
|
#include <sun-hdr-pathestablishment.h>

Public Member Functions | |
| uint8_t & | sinkAssociated () |
| packet_path_est & | ptype () |
| uint8_t * | list_of_hops () |
| u_int8_t & | list_of_hops_length () |
| int8_t & | pointer () |
| float & | quality () |
Static Public Member Functions | |
| static int & | offset () |
| static struct hdr_sun_path_est * | access (const Packet *p) |
Public Attributes | |
| uint8_t | sink_associated_ |
| packet_path_est | ptype_ |
| uint8_t | list_of_hops_ [MAX_HOP_NUMBER] |
| int8_t | pointer_to_list_of_hops_ |
| uint8_t | list_of_hops_length_ |
| float | quality_ |
Static Public Attributes | |
| static int | offset_ = 0 |
hdr_sun_path_est describes path establishment packets used by UWSUN
|
inlinestatic |
|
inline |
Pointer to the list_of_hops_ variable
References list_of_hops_.
Referenced by SunIPRoutingNode::addMyIpInList(), SunIPRoutingNode::createRouteError(), SunIPRoutingNode::evaluatePath(), SunIPRoutingNode::initPktPathEstAnswer(), SunIPRoutingNode::initPktPathEstSearch(), SunIPRoutingNode::isMyIpInList(), SunIPRoutingNode::sendRouteBack(), and SunIPRoutingNode::sendRouteErrorBack().
|
inline |
Reference to the list_of_hops_length_ variable
References list_of_hops_length_.
Referenced by SunIPRoutingNode::addMyIpInList(), SunIPRoutingNode::answerPath(), SunIPRoutingNode::createRouteError(), SunIPRoutingNode::evaluatePath(), SunIPRoutingNode::initPktPathEstAnswer(), SunIPRoutingNode::initPktPathEstSearch(), SunIPRoutingNode::isMyIpInList(), SunIPRoutingNode::sendRouteBack(), and SunIPRoutingNode::sendRouteErrorBack().
|
inlinestatic |
Reference to the offset_ variable
References offset_.
|
inline |
Reference to the pointer_to_list_of_hops_ variable
References pointer_to_list_of_hops_.
Referenced by SunIPRoutingNode::addMyIpInList(), SunIPRoutingNode::createRouteError(), SunIPRoutingNode::initPktPathEstAnswer(), SunIPRoutingNode::sendRouteBack(), and SunIPRoutingNode::sendRouteErrorBack().
|
inline |
Reference to the ptype_ variable
References ptype_.
Referenced by SunIPRoutingNode::createRouteError(), SunIPRoutingNode::initPktPathEstAnswer(), SunIPRoutingNode::initPktPathEstSearch(), SunIPRoutingNode::recv(), and SunIPRoutingNode::sendRouteBack().
|
inline |
Reference to the quality_ variable
References quality_.
Referenced by SunIPRoutingNode::evaluatePath(), SunIPRoutingNode::initPktPathEstAnswer(), SunIPRoutingNode::initPktPathEstSearch(), SunIPRoutingNode::sendRouteBack(), and SunIPRoutingNode::updateQuality().
|
inline |
Reference to the sink_associated_ variable
References sink_associated_.
Referenced by SunIPRoutingNode::evaluatePath(), SunIPRoutingNode::initPktPathEstAnswer(), and SunIPRoutingNode::sendRouteBack().
| uint8_t hdr_sun_path_est::list_of_hops_[MAX_HOP_NUMBER] |
List of IPs saved in the header
Referenced by list_of_hops().
| uint8_t hdr_sun_path_est::list_of_hops_length_ |
Current number of IPs stored in the header
Referenced by list_of_hops_length().
|
static |
Required by the PacketHeaderManager
Offset used to access in hdr_sun_path_est packets header.
| int8_t hdr_sun_path_est::pointer_to_list_of_hops_ |
Pointer used to keep track of the last IPs processed
Referenced by pointer().
| packet_path_est hdr_sun_path_est::ptype_ |
Idientifier of the packet type: PATH_SEARCH, PATH_ANSWER or PATH_ERROR
Referenced by ptype(), and SunIPRoutingNode::replyPathEstSearch().
| float hdr_sun_path_est::quality_ |
Used to save information about the "quality" of the metric used
Referenced by quality().
| uint8_t hdr_sun_path_est::sink_associated_ |
IP of the sink associated with the packet
Referenced by sinkAssociated().