#include <g1050.h>
Public Attributes | |
| int | link_type |
| int | high_loss |
| double | prob_loss_rate_change [2] |
| double | prob_impulse [2] |
| double | impulse_height |
| double | impulse_coeff |
| double | prob_packet_loss |
| double | prob_packet_collision_loss |
| double | serial_delay |
| double | congestion_delay |
| int | qos_enabled |
| int | multiple_access |
| double | last_arrival_time |
| double | delays [3 *G1050_TICKS_PER_SEC] |
| uint32_t | lost_packets |
| uint32_t | lost_packets_2 |
|
|
The maximum addition delay due to congestion. |
|
|
3 seconds of predicted delays for the link |
|
|
1 if in the high loss state, or 0 if in the low loss state. |
|
|
The impulse decay coefficient. |
|
|
The maximum permitted height of impulses. |
|
|
The latest packet arrival time seen on the link. |
|
|
The type of link, G1050_LAN_LINK or G_1050_ACCESS_LINK |
|
|
A count of packets lost on the link. |
|
|
An extra debug count of packets lost on the link. |
|
|
TRUE if the link is a multiple access type (e.g. an ethernet hub). |
|
|
The probability of a impulse occuring, for both loss rate states. |
|
|
The probability of a loss rate change, for both loss rate states. |
|
|
The probability of packet loss due to collision. |
|
|
The probability of packet loss. |
|
|
TRUE if QoS is enabled on the link. |
|
|
The basic serial delay due to the link. |
1.4.6