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