blob: c15a67f39b2bca0c8d098f5d44ee56e9a616d2b9 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef __HDLC_IOCTL_H__
13#define __HDLC_IOCTL_H__
Ben Cheng4b29af02012-03-07 16:14:53 -080014
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080015typedef struct {
16 unsigned int clock_rate;
17 unsigned int clock_type;
18 unsigned short loopback;
19} sync_serial_settings;
Ben Cheng4b29af02012-03-07 16:14:53 -080020
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021typedef struct {
22 unsigned int clock_rate;
23 unsigned int clock_type;
24 unsigned short loopback;
25 unsigned int slot_map;
26} te1_settings;
Ben Cheng4b29af02012-03-07 16:14:53 -080027
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080028typedef struct {
29 unsigned short encoding;
30 unsigned short parity;
31} raw_hdlc_proto;
Ben Cheng4b29af02012-03-07 16:14:53 -080032
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080033typedef struct {
34 unsigned int t391;
35 unsigned int t392;
36 unsigned int n391;
37 unsigned int n392;
38 unsigned int n393;
39 unsigned short lmi;
40 unsigned short dce;
41} fr_proto;
Ben Cheng4b29af02012-03-07 16:14:53 -080042
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080043typedef struct {
44 unsigned int dlci;
45} fr_proto_pvc;
Ben Cheng4b29af02012-03-07 16:14:53 -080046
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080047typedef struct {
48 unsigned int dlci;
49 char master[IFNAMSIZ];
50}fr_proto_pvc_info;
Ben Cheng4b29af02012-03-07 16:14:53 -080051
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080052typedef struct {
53 unsigned int interval;
54 unsigned int timeout;
55} cisco_proto;
Ben Cheng4b29af02012-03-07 16:14:53 -080056
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080057#endif