DESERT 3.5.1
|
#include "packet.h"
#include <iostream>
#include <sstream>
Go to the source code of this file.
Classes | |
struct | buffer_element |
Macros | |
#define | STACK_TRACE 0 |
#define | MIN_SNR -9999.9 |
#define | DROP_DEST_UNREACHABLE_REASON "DUR" |
#define | DROP_PATH_ALREADY_PROCESSED "PAP" |
#define | DROP_MAX_NUMBER_OF_HOP_IN_LIST_REACHED "MHR" |
#define | DROP_WRONG_NODE_PATH_EST "WNP" |
#define | DROP_DATA_HOPS_LENGTH_EQUALS_ZERO "DHZ" |
#define | DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_HOP_LIST_FULL "PSF" |
#define | DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_ALREADY_PROCESSED "PSA" |
#define | DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_WRONG_CHECKSUM "PWC" |
#define | DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_NO_ROUTE_TO_DESTINATION "PNR" |
#define | DROP_PATH_ESTABLISHMENT_ANSWER_PACKET_GARBAGE "PAG" |
#define | DROP_PATH_ESTABLISHMENT_ANSWER_NODE_ROUTING_TABLE_FULL "PAF" |
#define | DROP_SINK_PACKET_TYPE_UNSOPPORTED "SPU" |
#define | DROP_PACKET_NOT_FOR_ME "PNM" |
#define | DROP_PACKET_WITHOUT_DIRECTION "PWD" |
#define | DROP_BROKEN_LINK_DROP "BLD" |
#define | DROP_BUFFER_IS_FULL "BIF" |
Typedefs | |
typedef struct buffer_element | buffer_element |
Variables | |
static const int | MAX_HOP_NUMBER |
static int | sunuid_ = 0 |
Common structures and definition used by SUN.
Common structures and definition used by SUN
Definition in file sun-ipr-common-structures.h.
#define DROP_BROKEN_LINK_DROP "BLD" |
Reason for a drop in a UWSUN module.
Definition at line 86 of file sun-ipr-common-structures.h.
#define DROP_BUFFER_IS_FULL "BIF" |
Reason for a drop in a UWSUN module.
Definition at line 88 of file sun-ipr-common-structures.h.
#define DROP_DATA_HOPS_LENGTH_EQUALS_ZERO "DHZ" |
Reason for a drop in a UWSUN module.
Definition at line 58 of file sun-ipr-common-structures.h.
#define DROP_DEST_UNREACHABLE_REASON "DUR" |
Reason for a drop in a UWSUN module.
Definition at line 47 of file sun-ipr-common-structures.h.
#define DROP_MAX_NUMBER_OF_HOP_IN_LIST_REACHED "MHR" |
Reason for a drop in a UWSUN module.
Definition at line 52 of file sun-ipr-common-structures.h.
#define DROP_PACKET_NOT_FOR_ME "PNM" |
Reason for a drop in a UWSUN module.
Definition at line 82 of file sun-ipr-common-structures.h.
#define DROP_PACKET_WITHOUT_DIRECTION "PWD" |
Reason for a drop in a UWSUN module.
Definition at line 84 of file sun-ipr-common-structures.h.
#define DROP_PATH_ALREADY_PROCESSED "PAP" |
Reason for a drop in a UWSUN module.
Definition at line 50 of file sun-ipr-common-structures.h.
#define DROP_PATH_ESTABLISHMENT_ANSWER_NODE_ROUTING_TABLE_FULL "PAF" |
Reason for a drop in a UWSUN module.
Definition at line 74 of file sun-ipr-common-structures.h.
#define DROP_PATH_ESTABLISHMENT_ANSWER_PACKET_GARBAGE "PAG" |
Reason for a drop in a UWSUN module.
Definition at line 72 of file sun-ipr-common-structures.h.
#define DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_ALREADY_PROCESSED "PSA" |
Reason for a drop in a UWSUN module.
Definition at line 64 of file sun-ipr-common-structures.h.
#define DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_HOP_LIST_FULL "PSF" |
Reason for a drop in a UWSUN module.
Definition at line 62 of file sun-ipr-common-structures.h.
#define DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_NO_ROUTE_TO_DESTINATION "PNR" |
Reason for a drop in a UWSUN module.
Definition at line 68 of file sun-ipr-common-structures.h.
#define DROP_PATH_ESTABLISHMENT_SEARCH_PACKET_WRONG_CHECKSUM "PWC" |
Reason for a drop in a UWSUN module.
Definition at line 66 of file sun-ipr-common-structures.h.
#define DROP_SINK_PACKET_TYPE_UNSOPPORTED "SPU" |
Reason for a drop in a UWSUN module.
Definition at line 78 of file sun-ipr-common-structures.h.
#define DROP_WRONG_NODE_PATH_EST "WNP" |
Reason for a drop in a UWSUN module.
Definition at line 54 of file sun-ipr-common-structures.h.
#define MIN_SNR -9999.9 |
Reference variable for min values for the SNR.
Definition at line 44 of file sun-ipr-common-structures.h.
#define STACK_TRACE 0 |
Used to keep track of methods call.
Definition at line 43 of file sun-ipr-common-structures.h.
typedef struct buffer_element buffer_element |
buffer_element describes an entry in the buffer used by SUN.
|
static |
Maximum number of hops contained in a SUN Path Establishment packet.
Definition at line 95 of file sun-ipr-common-structures.h.
|
static |
Unique identifier for UWSUN packets.
Definition at line 98 of file sun-ipr-common-structures.h.