• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  /****************************************************************************
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   ***   To edit the content of this header, modify the corresponding
11   ***   source file (e.g. under external/kernel-headers/original/) then
12   ***   run bionic/libc/kernel/tools/update_all.py
13   ***
14   ***   Any manual change here will be lost the next time this script will
15   ***   be run. You've been warned!
16   ***
17   ****************************************************************************
18   ****************************************************************************/
19  #ifndef __HDLC_IOCTL_H__
20  #define __HDLC_IOCTL_H__
21  typedef struct {
22   unsigned int clock_rate;
23  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24   unsigned int clock_type;
25   unsigned short loopback;
26  } sync_serial_settings;
27  typedef struct {
28  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29   unsigned int clock_rate;
30   unsigned int clock_type;
31   unsigned short loopback;
32   unsigned int slot_map;
33  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  } te1_settings;
35  typedef struct {
36   unsigned short encoding;
37   unsigned short parity;
38  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  } raw_hdlc_proto;
40  typedef struct {
41   unsigned int t391;
42   unsigned int t392;
43  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44   unsigned int n391;
45   unsigned int n392;
46   unsigned int n393;
47   unsigned short lmi;
48  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   unsigned short dce;
50  } fr_proto;
51  typedef struct {
52   unsigned int dlci;
53  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  } fr_proto_pvc;
55  typedef struct {
56   unsigned int dlci;
57   char master[IFNAMSIZ];
58  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  }fr_proto_pvc_info;
60  typedef struct {
61   unsigned int interval;
62   unsigned int timeout;
63  /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64  } cisco_proto;
65  #endif
66