aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hdlc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/hdlc
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/linux/hdlc')
-rw-r--r--include/linux/hdlc/ioctl.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/include/linux/hdlc/ioctl.h b/include/linux/hdlc/ioctl.h
new file mode 100644
index 000000000000..78430ba3ea69
--- /dev/null
+++ b/include/linux/hdlc/ioctl.h
@@ -0,0 +1,48 @@
1#ifndef __HDLC_IOCTL_H__
2#define __HDLC_IOCTL_H__
3
4typedef 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 */
9
10typedef 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 */
16
17typedef struct {
18 unsigned short encoding;
19 unsigned short parity;
20} raw_hdlc_proto;
21
22typedef 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;
31
32typedef struct {
33 unsigned int dlci;
34} fr_proto_pvc; /* for creating/deleting FR PVCs */
35
36typedef struct {
37 unsigned int dlci;
38 char master[IFNAMSIZ]; /* Name of master FRAD device */
39}fr_proto_pvc_info; /* for returning PVC information only */
40
41typedef struct {
42 unsigned int interval;
43 unsigned int timeout;
44} cisco_proto;
45
46/* PPP doesn't need any info now - supply length = 0 to ioctl */
47
48#endif /* __HDLC_IOCTL_H__ */