blob: f87783f57c0f58b7377dfd912efadf52d5165571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*
* Copyright 1996 The Australian National University.
* Copyright 1996 Fujitsu Laboratories Limited
*
* This software may be distributed under the terms of the Gnu
* Public License version 2 or later
*/
/*
* Definitions for PLC state structures etc.
*/
struct plc_info {
PortType port_type;
TimerTwosComplement c_min;
TimerTwosComplement tl_min;
TimerTwosComplement tb_min;
TimerTwosComplement t_out;
TimerTwosComplement lc_short;
TimerTwosComplement lc_medium;
TimerTwosComplement lc_long;
TimerTwosComplement lc_extended;
TimerTwosComplement t_scrub;
TimerTwosComplement ns_max;
Counter link_errors;
Counter viol_syms;
Counter mini_occur;
int min_idle_gap;
double link_error_rate;
};
void plc_init(struct plc_info *pip);
int plc_inited(struct plc_info *pip);
void pc_start(LoopbackType loopback);
void plc_sleep(void);
void plc_poll(void);
void pc_stop(void);
void pc_restart(void);
void pcm_dump_rtcodes(void);
void pcm_pseudo_code(void);
void pcm_lct_done(void);
void pcm_enabled(void);
void pcm_trace_prop(void);
|