#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 | serial_delay |
double | max_jitter |
double | prob_packet_loss |
double | prob_packet_collision_loss |
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 type of link, G1050_LAN_LINK or G_1050_ACCESS_LINK
1 if in the high loss state, or 0 if in the low loss state.
The probability of a loss rate change, for both loss rate states.
double g1050_segment_state_t::prob_impulse[2] |
The probability of a impulse occuring, for both loss rate states.
The maximum permitted height of impulses.
The impulse decay coefficient.
The basic serial delay due to the link.
Peak jitter in the segment.
The probability of packet loss.
The probability of packet loss due to collision.
The maximum addition delay due to congestion.
TRUE if QoS is enabled on the link.
TRUE if the link is a multiple access type (e.g. an ethernet hub).
The latest packet arrival time seen on the link.
double g1050_segment_state_t::delays[3 *G1050_TICKS_PER_SEC] |
3 seconds of predicted delays for the link
uint32_t g1050_segment_state_t::lost_packets |
A count of packets lost on the link.
An extra debug count of packets lost on the link.