|
DESERT 3.6.1
|
#include <sun-ipr-common-structures.h>
Public Member Functions | |
| buffer_element () | |
| buffer_element (Packet *_p, int _id_pkt_=0, double _t_reception_=Scheduler::instance().clock(), double _t_last_tx_=0, int _num_retx_=0) | |
Public Attributes | |
| Packet * | p_ |
| int | id_pkt_ |
| double | t_reception_ |
| double | t_last_tx_ |
| int | num_attempts_ |
| unsigned int | retx_ |
buffer_element describes an entry in the buffer used by SUN.
Definition at line 103 of file sun-ipr-common-structures.h.
|
inline |
Constructor for buffer_element.
Definition at line 115 of file sun-ipr-common-structures.h.
|
inline |
Constructor for buffer_element.
Definition at line 118 of file sun-ipr-common-structures.h.
| int buffer_element::id_pkt_ |
ID of the packet buffered.
Definition at line 106 of file sun-ipr-common-structures.h.
| int buffer_element::num_attempts_ |
Number of transmission attempts.
Definition at line 109 of file sun-ipr-common-structures.h.
| Packet* buffer_element::p_ |
Pointer to the packet buffered.
Definition at line 105 of file sun-ipr-common-structures.h.
| unsigned int buffer_element::retx_ |
Real retransmission counter: incremented only if packet is sent donwlayer.
Definition at line 113 of file sun-ipr-common-structures.h.
| double buffer_element::t_last_tx_ |
Time instant of the last transmission attempt.
Definition at line 108 of file sun-ipr-common-structures.h.
| double buffer_element::t_reception_ |
Time instant in which the packet was buffered.
Definition at line 107 of file sun-ipr-common-structures.h.