DESERT 3.5.1
|
#include <mmac.h>
#include <module.h>
#include <packet.h>
#include <list>
Go to the source code of this file.
Classes | |
struct | POLL_ID |
struct | hdr_TRIGGER |
struct | hdr_POLL |
struct | hdr_PROBE |
struct | hdr_PROBE_SINK |
struct | hdr_AUV_MULE |
struct | hdr_ACK_SINK |
Macros | |
#define | HDR_PROBE(p) (hdr_PROBE::access(p)) |
#define | HDR_TRIGGER(p) (hdr_TRIGGER::access(p)) |
#define | HDR_POLL(p) (hdr_POLL::access(p)) |
#define | HDR_AUV_MULE(p) (hdr_AUV_MULE::access(p) |
#define | HDR_ACK_SINK(p) (hdr_ACK_SINK::access(p) |
#define | HDR_PROBE_SINK(p) (hdr_PROBE_SINK::access(p) |
Typedefs | |
typedef struct POLL_ID | id_poll |
typedef struct hdr_TRIGGER | hdr_TRIGGER |
typedef struct hdr_POLL | hdr_POLL |
typedef struct hdr_PROBE | hdr_PROBE |
typedef struct hdr_PROBE_SINK | hdr_PROBE_SINK |
typedef struct hdr_AUV_MULE | hdr_AUV_MULE |
typedef struct hdr_ACK_SINK | hdr_ACK_SINK |
Variables | |
packet_t | PT_TRIGGER |
packet_t | PT_POLL |
packet_t | PT_PROBE |
packet_t | PT_PROBE_SINK |
packet_t | PT_AUV_MULE |
packet_t | PT_ACK_SINK |
static const int | MAX_POLLED_NODE = 4000 |
static const double | MIN_T_POLL = 5 |
static const double | MIN_T_DATA = 5 |
static const int | MAX_BUFFER_SIZE |
static const int | prop_speed |
Common structures and variables in the protocol.
Definition in file uwpolling_cmn_hdr.h.
#define HDR_ACK_SINK | ( | p | ) | (hdr_ACK_SINK::access(p) |
alias defined to access the ACK SINK HEADER
Definition at line 65 of file uwpolling_cmn_hdr.h.
#define HDR_AUV_MULE | ( | p | ) | (hdr_AUV_MULE::access(p) |
alias defined to access the AUV MULE HEADER
Definition at line 61 of file uwpolling_cmn_hdr.h.
#define HDR_POLL | ( | p | ) | (hdr_POLL::access(p)) |
alias defined to access the POLL HEADER
Definition at line 58 of file uwpolling_cmn_hdr.h.
#define HDR_PROBE | ( | p | ) | (hdr_PROBE::access(p)) |
alias defined to access the PROBE HEADER
Definition at line 51 of file uwpolling_cmn_hdr.h.
#define HDR_PROBE_SINK | ( | p | ) | (hdr_PROBE_SINK::access(p) |
alias defined to access the ACK SINK HEADER
Definition at line 68 of file uwpolling_cmn_hdr.h.
#define HDR_TRIGGER | ( | p | ) | (hdr_TRIGGER::access(p)) |
alias defined to access the TRIGGER HEADER \
Definition at line 55 of file uwpolling_cmn_hdr.h.
typedef struct hdr_ACK_SINK hdr_ACK_SINK |
Header of the ACK sent by the SINK.
typedef struct hdr_AUV_MULE hdr_AUV_MULE |
Header of the data sent from AUV MULE to SINK.
typedef struct hdr_PROBE_SINK hdr_PROBE_SINK |
Header of the PROBE message.
typedef struct hdr_TRIGGER hdr_TRIGGER |
Header of the TRIGGER message.
Single location of the POLL vector.
Each POLL_ID represent a polled node
|
static |
Maximum size of the queue in number of packets.
Definition at line 80 of file uwpolling_cmn_hdr.h.
|
static |
Maximum number of node to POLL.
Definition at line 77 of file uwpolling_cmn_hdr.h.
|
static |
Minimum duration of the DATA timer.
Definition at line 79 of file uwpolling_cmn_hdr.h.
|
static |
Minimum duration of the POLL timer.
Definition at line 78 of file uwpolling_cmn_hdr.h.
|
static |
Typical underwater sound propagation speed.
Definition at line 82 of file uwpolling_cmn_hdr.h.
|
extern |
Definition at line 58 of file DESERT_Framework/DESERT/data_link/uwpolling/initlib.cpp.
|
extern |
Definition at line 57 of file DESERT_Framework/DESERT/data_link/uwpolling/initlib.cpp.
|
extern |
Definition at line 56 of file DESERT_Framework/DESERT/data_link/uwpolling/initlib.cpp.
|
extern |
Definition at line 54 of file DESERT_Framework/DESERT/data_link/uwpolling/initlib.cpp.
|
extern |
Definition at line 55 of file DESERT_Framework/DESERT/data_link/uwpolling/initlib.cpp.
|
extern |
Definition at line 53 of file DESERT_Framework/DESERT/data_link/uwpolling/initlib.cpp.