Go to the documentation of this file.
47 #if !defined(_G1050_H_)
51 #define G1050_TICKS_PER_SEC 1000
54 #define SEARCHBACK_PERIOD 200
56 #define G1050_LOW_LOSS 0
57 #define G1050_HIGH_LOSS 1
59 #define G1050_LAN_LINK 1
60 #define G1050_ACCESS_LINK 2
66 double prob_loss_rate_change[2];
68 double prob_impulse[2][2];
139 int sidea_lan_bit_rate;
140 int sidea_lan_multiple_access;
141 int sidea_access_link_bit_rate_ab;
142 int sidea_access_link_bit_rate_ba;
143 int sidea_access_link_qos_enabled;
144 int sideb_lan_bit_rate;
145 int sideb_lan_multiple_access;
146 int sideb_access_link_bit_rate_ab;
147 int sideb_access_link_bit_rate_ba;
148 int sideb_access_link_qos_enabled;
161 double prob_loss_rate_change[2];
163 double prob_impulse[2];
190 double delays[3*G1050_TICKS_PER_SEC];
202 int32_t route_flap_counter;
203 int32_t route_flap_interval;
204 double route_flap_delta;
207 int32_t link_failure_counter;
208 int32_t link_recovery_counter;
210 int32_t link_failure_interval_ticks;
211 int32_t link_failure_duration_ticks;
227 double delays[3*G1050_TICKS_PER_SEC];
241 double departure_time;
255 double arrival_times_1[3*G1050_TICKS_PER_SEC];
256 double arrival_times_2[3*G1050_TICKS_PER_SEC];
275 SPAN_DECLARE(
void) g1050_dump_parms(
int model,
int speed_pattern);
281 double departure_time);
288 double *departure_time,
289 double *arrival_time);
double delays[3 *1000]
Definition: g1050.h:190
double last_arrival_time
Definition: g1050.h:187
double prob_packet_loss
Definition: g1050.h:175
uint32_t lost_packets
Definition: g1050.h:193
double prob_packet_collision_loss
Definition: g1050.h:78
int high_loss
Definition: g1050.h:158
double link_failure_duration
Definition: g1050.h:117
double prob_loss_rate_change[2]
Definition: g1050.h:66
int link_type
Definition: g1050.h:156
void fsk_tx_set_modem_status_handler(fsk_tx_state_t *s, modem_status_func_t handler, void *user_data)
Change the modem status report function associated with an FSK modem transmit context.
Definition: fsk.c:231
double serial_delay
Definition: g1050.h:171
@ SIG_STATUS_CARRIER_UP
The carrier signal is up. This merely indicates that carrier energy has been seen....
Definition: async.h:58
double prob_packet_loss
Definition: g1050.h:119
Definition: line_model.h:121
int multiple_access
Definition: g1050.h:184
double percentage_packet_loss
Definition: g1050.h:107
double prob_loss_rate_change[2]
Definition: g1050.h:161
void(* put_bit_func_t)(void *user_data, int bit)
Definition: async.h:105
int32_t power_meter_update(power_meter_t *s, int16_t amp)
Update a power meter.
Definition: power_meter.c:84
double impulse_height
Definition: g1050.h:71
int baud_rate
Definition: fsk.h:99
uint32_t lost_packets
Definition: g1050.h:230
const char * signal_status_to_str(int status)
Convert a signal status to a short text description.
Definition: async.c:42
int mtu
Definition: g1050.h:93
Definition: private/bert.h:61
Definition: power_meter.h:49
double prob_packet_loss
Definition: g1050.h:76
uint32_t lost_packets_2
Definition: g1050.h:195
double max_jitter
Definition: g1050.h:109
double percentage_occupancy
Definition: g1050.h:91
void fsk_rx_set_modem_status_handler(fsk_rx_state_t *s, modem_status_func_t handler, void *user_data)
Change the modem status report function associated with an FSK modem receive context.
Definition: fsk.c:259
int(* get_bit_func_t)(void *user_data)
Definition: async.h:108
uint32_t lost_packets_2
Definition: g1050.h:232
double congestion_delay
Definition: g1050.h:179
@ SIG_STATUS_CARRIER_DOWN
The carrier signal has dropped.
Definition: async.h:54
double prob_packet_collision_loss
Definition: g1050.h:177
double prob_impulse[2][2]
Definition: g1050.h:68
double base_intercontinental_delay
Definition: g1050.h:104
double prob_oos
Definition: g1050.h:220
double route_flap_delay
Definition: g1050.h:113
double link_failure_interval
Definition: g1050.h:115
double last_arrival_time
Definition: g1050.h:223
double delays[3 *1000]
Definition: g1050.h:227
struct g1050_queue_element_s g1050_queue_element_t
Definition: private/tone_generate.h:43
double route_flap_interval
Definition: g1050.h:111
double impulse_coeff
Definition: g1050.h:73
double max_jitter
Definition: g1050.h:173
double max_jitter
Definition: g1050.h:216
double prob_impulse[2]
Definition: g1050.h:163
tone_gen_descriptor_t * tone_gen_descriptor_init(tone_gen_descriptor_t *s, int f1, int l1, int f2, int l2, int d1, int d2, int d3, int d4, int repeat)
Create a tone generator descriptor.
Definition: tone_generate.c:60
double impulse_height
Definition: g1050.h:166
fsk_rx_state_t * fsk_rx_init(fsk_rx_state_t *s, const fsk_spec_t *spec, int framing_mode, put_bit_func_t put_bit, void *user_data)
Initialise an FSK modem receive context.
Definition: fsk.c:314
double base_delay
Definition: g1050.h:214
fsk_tx_state_t * fsk_tx_init(fsk_tx_state_t *s, const fsk_spec_t *spec, get_bit_func_t get_bit, void *user_data)
Initialise an FSK modem transmit context.
Definition: fsk.c:153
void fsk_rx_signal_cutoff(fsk_rx_state_t *s, float cutoff)
Adjust an FSK modem receive context's carrier detect power threshold.
Definition: fsk.c:238
double max_jitter
Definition: g1050.h:95
double prob_packet_loss
Definition: g1050.h:218
Definition: private/fsk.h:34
int qos_enabled
Definition: g1050.h:182
double impulse_coeff
Definition: g1050.h:168
int loo[3]
Definition: g1050.h:128
Definition: private/tone_generate.h:54
double prob_oos
Definition: g1050.h:121
power_meter_t * power_meter_init(power_meter_t *s, int shift)
Initialise a power meter context.
Definition: power_meter.c:50
Definition: private/fsk.h:59
double base_regional_delay
Definition: g1050.h:102