Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / hdlc / ioctl.h
blob78430ba3ea69ecb6adbcf31888473a867529af8f
1 #ifndef __HDLC_IOCTL_H__
2 #define __HDLC_IOCTL_H__
4 typedef struct {
5 unsigned int clock_rate; /* bits per second */
6 unsigned int clock_type; /* internal, external, TX-internal etc. */
7 unsigned short loopback;
8 } sync_serial_settings; /* V.35, V.24, X.21 */
10 typedef struct {
11 unsigned int clock_rate; /* bits per second */
12 unsigned int clock_type; /* internal, external, TX-internal etc. */
13 unsigned short loopback;
14 unsigned int slot_map;
15 } te1_settings; /* T1, E1 */
17 typedef struct {
18 unsigned short encoding;
19 unsigned short parity;
20 } raw_hdlc_proto;
22 typedef struct {
23 unsigned int t391;
24 unsigned int t392;
25 unsigned int n391;
26 unsigned int n392;
27 unsigned int n393;
28 unsigned short lmi;
29 unsigned short dce; /* 1 for DCE (network side) operation */
30 } fr_proto;
32 typedef struct {
33 unsigned int dlci;
34 } fr_proto_pvc; /* for creating/deleting FR PVCs */
36 typedef struct {
37 unsigned int dlci;
38 char master[IFNAMSIZ]; /* Name of master FRAD device */
39 }fr_proto_pvc_info; /* for returning PVC information only */
41 typedef struct {
42 unsigned int interval;
43 unsigned int timeout;
44 } cisco_proto;
46 /* PPP doesn't need any info now - supply length = 0 to ioctl */
48 #endif /* __HDLC_IOCTL_H__ */