DESERT 3.5.1
|
#include <mmac.h>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <queue>
#include <utility>
#include <fstream>
#include <mphy.h>
Go to the source code of this file.
Classes | |
struct | hdr_tlohi |
class | Timer |
class | DataTimer |
class | MMacTLOHI |
Macros | |
#define | HDR_TLOHI(P) (hdr_tlohi::access(P)) |
#define | TLOHI_DROP_REASON_WRONG_STATE "WST" |
#define | TLOHI_DROP_REASON_WRONG_RECEIVER "WRCV" |
#define | TLOHI_DROP_REASON_UNKNOWN_TYPE "UPT" |
#define | TLOHI_DROP_REASON_BUFFER_FULL "DBF" |
Typedefs | |
typedef struct hdr_tlohi | hdr_tlohi |
Variables | |
packet_t | PT_TLOHI |
static const int | prop_speed |
Provides the declaration of uw-mac-TLohi MAC protocol.
Definition in file uw-mac-TLohi.h.
#define HDR_TLOHI | ( | P | ) | (hdr_tlohi::access(P)) |
Definition at line 54 of file uw-mac-TLohi.h.
#define TLOHI_DROP_REASON_BUFFER_FULL "DBF" |
Definition at line 59 of file uw-mac-TLohi.h.
#define TLOHI_DROP_REASON_UNKNOWN_TYPE "UPT" |
Definition at line 58 of file uw-mac-TLohi.h.
#define TLOHI_DROP_REASON_WRONG_RECEIVER "WRCV" |
Definition at line 57 of file uw-mac-TLohi.h.
#define TLOHI_DROP_REASON_WRONG_STATE "WST" |
Definition at line 56 of file uw-mac-TLohi.h.
enum TIMER_STATUS |
Enumeration that indicates the possible state of the timers, namely: RUNNING, STOPPED or FREEZED.
Enumerator | |
---|---|
RUNNING | |
STOPPED | |
FREEZED |
Definition at line 143 of file uw-mac-TLohi.h.
enum TLOHI_ACK_MODE |
Enumeration that indicates the possible type of ACK MODE, namely: ACK_MODE or NO_ACK_MODE.
Enumerator | |
---|---|
ACK_MODE | |
NO_ACK_MODE |
Definition at line 125 of file uw-mac-TLohi.h.
enum TLOHI_MODE |
Enumeration that indicates the possible modality of T-LOHI protocol, namely: CONSERVATIVE_UNSYNC_MODE or AGGRESSIVE_UNSYNC_MODE.
Enumerator | |
---|---|
CONSERVATIVE_UNSYNC_MODE | |
AGGRESSIVE_UNSYNC_MODE | |
SYNC_MODE |
Definition at line 132 of file uw-mac-TLohi.h.
enum TLOHI_PKT_TYPE |
Enumeration that indicates the possibile type of packets in T-LOHI MAC protocol.
Enumerator | |
---|---|
TONE_PKT | |
ACK_PKT | |
DATA_PKT | |
DATAMAX_PKT |
Definition at line 119 of file uw-mac-TLohi.h.
enum TLOHI_REASON_STATUS |
Enumeration that indicates the possibile reason for the change of state in T-LOHI MAC protocol.
Definition at line 91 of file uw-mac-TLohi.h.
enum TLOHI_STATUS |
Enumeration that indicates the possible state of T-LOHI MAC.
Definition at line 69 of file uw-mac-TLohi.h.
|
static |
typical sound speed in underwater scenario
Definition at line 63 of file uw-mac-TLohi.h.
|
extern |
Definition at line 47 of file DESERT_Framework/DESERT/data_link/uw-t-lohi/initlib.cpp.