summaryrefslogtreecommitdiff
path: root/libdde_linux26/contrib/include/linux/hdlc
diff options
context:
space:
mode:
Diffstat (limited to 'libdde_linux26/contrib/include/linux/hdlc')
-rw-r--r--libdde_linux26/contrib/include/linux/hdlc/.svn/all-wcprops17
-rw-r--r--libdde_linux26/contrib/include/linux/hdlc/.svn/entries96
-rw-r--r--libdde_linux26/contrib/include/linux/hdlc/.svn/format1
-rw-r--r--libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/Kbuild.svn-base1
-rw-r--r--libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/ioctl.h.svn-base81
-rw-r--r--libdde_linux26/contrib/include/linux/hdlc/Kbuild1
-rw-r--r--libdde_linux26/contrib/include/linux/hdlc/ioctl.h81
7 files changed, 278 insertions, 0 deletions
diff --git a/libdde_linux26/contrib/include/linux/hdlc/.svn/all-wcprops b/libdde_linux26/contrib/include/linux/hdlc/.svn/all-wcprops
new file mode 100644
index 00000000..3776c4ff
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/hdlc/.svn/all-wcprops
@@ -0,0 +1,17 @@
+K 25
+svn:wc:ra_dav:version-url
+V 77
+/repos/tudos/!svn/ver/174/trunk/l4/pkg/dde/linux26/contrib/include/linux/hdlc
+END
+ioctl.h
+K 25
+svn:wc:ra_dav:version-url
+V 85
+/repos/tudos/!svn/ver/174/trunk/l4/pkg/dde/linux26/contrib/include/linux/hdlc/ioctl.h
+END
+Kbuild
+K 25
+svn:wc:ra_dav:version-url
+V 84
+/repos/tudos/!svn/ver/174/trunk/l4/pkg/dde/linux26/contrib/include/linux/hdlc/Kbuild
+END
diff --git a/libdde_linux26/contrib/include/linux/hdlc/.svn/entries b/libdde_linux26/contrib/include/linux/hdlc/.svn/entries
new file mode 100644
index 00000000..16f64f54
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/hdlc/.svn/entries
@@ -0,0 +1,96 @@
+9
+
+dir
+465
+http://svn.tudos.org/repos/tudos/trunk/l4/pkg/dde/linux26/contrib/include/linux/hdlc
+http://svn.tudos.org/repos/tudos
+
+
+
+2007-09-08T19:44:13.897747Z
+174
+l4check
+
+
+svn:special svn:externals svn:needs-lock
+
+
+
+
+
+
+
+
+
+
+
+a704ac0b-3a55-4d43-a2a9-7be6f07c34fb
+
+ioctl.h
+file
+
+
+
+
+2009-11-15T17:16:09.000000Z
+ca34b1fb9d9d3114b5986fc443ccc16c
+2007-09-08T19:44:13.897747Z
+174
+l4check
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2548
+
+Kbuild
+file
+
+
+
+
+2009-11-15T17:16:09.000000Z
+e896f5b01bccb21c891754e3415cbe5f
+2007-09-08T19:44:13.897747Z
+174
+l4check
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+20
+
diff --git a/libdde_linux26/contrib/include/linux/hdlc/.svn/format b/libdde_linux26/contrib/include/linux/hdlc/.svn/format
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/hdlc/.svn/format
@@ -0,0 +1 @@
+9
diff --git a/libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/Kbuild.svn-base b/libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/Kbuild.svn-base
new file mode 100644
index 00000000..1fb26448
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/Kbuild.svn-base
@@ -0,0 +1 @@
+header-y += ioctl.h
diff --git a/libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/ioctl.h.svn-base b/libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/ioctl.h.svn-base
new file mode 100644
index 00000000..58397236
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/hdlc/.svn/text-base/ioctl.h.svn-base
@@ -0,0 +1,81 @@
+#ifndef __HDLC_IOCTL_H__
+#define __HDLC_IOCTL_H__
+
+
+#define GENERIC_HDLC_VERSION 4 /* For synchronization with sethdlc utility */
+
+#define CLOCK_DEFAULT 0 /* Default setting */
+#define CLOCK_EXT 1 /* External TX and RX clock - DTE */
+#define CLOCK_INT 2 /* Internal TX and RX clock - DCE */
+#define CLOCK_TXINT 3 /* Internal TX and external RX clock */
+#define CLOCK_TXFROMRX 4 /* TX clock derived from external RX clock */
+
+
+#define ENCODING_DEFAULT 0 /* Default setting */
+#define ENCODING_NRZ 1
+#define ENCODING_NRZI 2
+#define ENCODING_FM_MARK 3
+#define ENCODING_FM_SPACE 4
+#define ENCODING_MANCHESTER 5
+
+
+#define PARITY_DEFAULT 0 /* Default setting */
+#define PARITY_NONE 1 /* No parity */
+#define PARITY_CRC16_PR0 2 /* CRC16, initial value 0x0000 */
+#define PARITY_CRC16_PR1 3 /* CRC16, initial value 0xFFFF */
+#define PARITY_CRC16_PR0_CCITT 4 /* CRC16, initial 0x0000, ITU-T version */
+#define PARITY_CRC16_PR1_CCITT 5 /* CRC16, initial 0xFFFF, ITU-T version */
+#define PARITY_CRC32_PR0_CCITT 6 /* CRC32, initial value 0x00000000 */
+#define PARITY_CRC32_PR1_CCITT 7 /* CRC32, initial value 0xFFFFFFFF */
+
+#define LMI_DEFAULT 0 /* Default setting */
+#define LMI_NONE 1 /* No LMI, all PVCs are static */
+#define LMI_ANSI 2 /* ANSI Annex D */
+#define LMI_CCITT 3 /* ITU-T Annex A */
+#define LMI_CISCO 4 /* The "original" LMI, aka Gang of Four */
+
+typedef struct {
+ unsigned int clock_rate; /* bits per second */
+ unsigned int clock_type; /* internal, external, TX-internal etc. */
+ unsigned short loopback;
+} sync_serial_settings; /* V.35, V.24, X.21 */
+
+typedef struct {
+ unsigned int clock_rate; /* bits per second */
+ unsigned int clock_type; /* internal, external, TX-internal etc. */
+ unsigned short loopback;
+ unsigned int slot_map;
+} te1_settings; /* T1, E1 */
+
+typedef struct {
+ unsigned short encoding;
+ unsigned short parity;
+} raw_hdlc_proto;
+
+typedef struct {
+ unsigned int t391;
+ unsigned int t392;
+ unsigned int n391;
+ unsigned int n392;
+ unsigned int n393;
+ unsigned short lmi;
+ unsigned short dce; /* 1 for DCE (network side) operation */
+} fr_proto;
+
+typedef struct {
+ unsigned int dlci;
+} fr_proto_pvc; /* for creating/deleting FR PVCs */
+
+typedef struct {
+ unsigned int dlci;
+ char master[IFNAMSIZ]; /* Name of master FRAD device */
+}fr_proto_pvc_info; /* for returning PVC information only */
+
+typedef struct {
+ unsigned int interval;
+ unsigned int timeout;
+} cisco_proto;
+
+/* PPP doesn't need any info now - supply length = 0 to ioctl */
+
+#endif /* __HDLC_IOCTL_H__ */
diff --git a/libdde_linux26/contrib/include/linux/hdlc/Kbuild b/libdde_linux26/contrib/include/linux/hdlc/Kbuild
new file mode 100644
index 00000000..1fb26448
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/hdlc/Kbuild
@@ -0,0 +1 @@
+header-y += ioctl.h
diff --git a/libdde_linux26/contrib/include/linux/hdlc/ioctl.h b/libdde_linux26/contrib/include/linux/hdlc/ioctl.h
new file mode 100644
index 00000000..58397236
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/hdlc/ioctl.h
@@ -0,0 +1,81 @@
+#ifndef __HDLC_IOCTL_H__
+#define __HDLC_IOCTL_H__
+
+
+#define GENERIC_HDLC_VERSION 4 /* For synchronization with sethdlc utility */
+
+#define CLOCK_DEFAULT 0 /* Default setting */
+#define CLOCK_EXT 1 /* External TX and RX clock - DTE */
+#define CLOCK_INT 2 /* Internal TX and RX clock - DCE */
+#define CLOCK_TXINT 3 /* Internal TX and external RX clock */
+#define CLOCK_TXFROMRX 4 /* TX clock derived from external RX clock */
+
+
+#define ENCODING_DEFAULT 0 /* Default setting */
+#define ENCODING_NRZ 1
+#define ENCODING_NRZI 2
+#define ENCODING_FM_MARK 3
+#define ENCODING_FM_SPACE 4
+#define ENCODING_MANCHESTER 5
+
+
+#define PARITY_DEFAULT 0 /* Default setting */
+#define PARITY_NONE 1 /* No parity */
+#define PARITY_CRC16_PR0 2 /* CRC16, initial value 0x0000 */
+#define PARITY_CRC16_PR1 3 /* CRC16, initial value 0xFFFF */
+#define PARITY_CRC16_PR0_CCITT 4 /* CRC16, initial 0x0000, ITU-T version */
+#define PARITY_CRC16_PR1_CCITT 5 /* CRC16, initial 0xFFFF, ITU-T version */
+#define PARITY_CRC32_PR0_CCITT 6 /* CRC32, initial value 0x00000000 */
+#define PARITY_CRC32_PR1_CCITT 7 /* CRC32, initial value 0xFFFFFFFF */
+
+#define LMI_DEFAULT 0 /* Default setting */
+#define LMI_NONE 1 /* No LMI, all PVCs are static */
+#define LMI_ANSI 2 /* ANSI Annex D */
+#define LMI_CCITT 3 /* ITU-T Annex A */
+#define LMI_CISCO 4 /* The "original" LMI, aka Gang of Four */
+
+typedef struct {
+ unsigned int clock_rate; /* bits per second */
+ unsigned int clock_type; /* internal, external, TX-internal etc. */
+ unsigned short loopback;
+} sync_serial_settings; /* V.35, V.24, X.21 */
+
+typedef struct {
+ unsigned int clock_rate; /* bits per second */
+ unsigned int clock_type; /* internal, external, TX-internal etc. */
+ unsigned short loopback;
+ unsigned int slot_map;
+} te1_settings; /* T1, E1 */
+
+typedef struct {
+ unsigned short encoding;
+ unsigned short parity;
+} raw_hdlc_proto;
+
+typedef struct {
+ unsigned int t391;
+ unsigned int t392;
+ unsigned int n391;
+ unsigned int n392;
+ unsigned int n393;
+ unsigned short lmi;
+ unsigned short dce; /* 1 for DCE (network side) operation */
+} fr_proto;
+
+typedef struct {
+ unsigned int dlci;
+} fr_proto_pvc; /* for creating/deleting FR PVCs */
+
+typedef struct {
+ unsigned int dlci;
+ char master[IFNAMSIZ]; /* Name of master FRAD device */
+}fr_proto_pvc_info; /* for returning PVC information only */
+
+typedef struct {
+ unsigned int interval;
+ unsigned int timeout;
+} cisco_proto;
+
+/* PPP doesn't need any info now - supply length = 0 to ioctl */
+
+#endif /* __HDLC_IOCTL_H__ */