DESERT 3.5.1
Loading...
Searching...
No Matches
uw-mac-DACAP-alter.h File Reference
#include <mmac.h>
#include <queue>
#include <string>
#include <map>
#include <fstream>
#include <iostream>
#include <mphy.h>
Include dependency graph for uw-mac-DACAP-alter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hdr_dacap
 
class  DACAPTimer
 
class  DACAPBTimer
 
class  MMacDACAP
 

Macros

#define HDR_DACAP(P)   (hdr_dacap::access(P))
 
#define DACAP_DROP_REASON_WRONG_STATE    "WST"
 
#define DACAP_DROP_REASON_WRONG_RECEIVER    "WRCV"
 
#define DACAP_DROP_REASON_UNKNOWN_TYPE    "UPT"
 
#define DACAP_DROP_REASON_BUFFER_FULL    "DBF"
 

Typedefs

typedef struct hdr_dacap hdr_dacap
 

Variables

packet_t PT_DACAP
 

Detailed Description

Provides the DACAP Class header description.

Author
Federico Guerra
Version
1.0.0

Definition in file uw-mac-DACAP-alter.h.

Macro Definition Documentation

◆ DACAP_DROP_REASON_BUFFER_FULL

#define DACAP_DROP_REASON_BUFFER_FULL    "DBF"

The buffer of the node is full.

Definition at line 60 of file uw-mac-DACAP-alter.h.

◆ DACAP_DROP_REASON_UNKNOWN_TYPE

#define DACAP_DROP_REASON_UNKNOWN_TYPE    "UPT"

The type of the packet is unknown.

Definition at line 58 of file uw-mac-DACAP-alter.h.

◆ DACAP_DROP_REASON_WRONG_RECEIVER

#define DACAP_DROP_REASON_WRONG_RECEIVER    "WRCV"

The packet is intended for another receiver.

Definition at line 56 of file uw-mac-DACAP-alter.h.

◆ DACAP_DROP_REASON_WRONG_STATE

#define DACAP_DROP_REASON_WRONG_STATE    "WST"

The protocol cannot receive this kind of packet in this state .

Definition at line 54 of file uw-mac-DACAP-alter.h.

◆ HDR_DACAP

#define HDR_DACAP (   P)    (hdr_dacap::access(P))

Definition at line 50 of file uw-mac-DACAP-alter.h.

Typedef Documentation

◆ hdr_dacap

typedef struct hdr_dacap hdr_dacap

Definition of the header of DACAP packets.

Variable Documentation

◆ PT_DACAP

packet_t PT_DACAP
extern