Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 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 | #define GENERIC_HDLC_VERSION 4 |
| 22 | #define CLOCK_DEFAULT 0 |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | #define CLOCK_EXT 1 |
| 25 | #define CLOCK_INT 2 |
| 26 | #define CLOCK_TXINT 3 |
| 27 | #define CLOCK_TXFROMRX 4 |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | #define ENCODING_DEFAULT 0 |
| 30 | #define ENCODING_NRZ 1 |
| 31 | #define ENCODING_NRZI 2 |
| 32 | #define ENCODING_FM_MARK 3 |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | #define ENCODING_FM_SPACE 4 |
| 35 | #define ENCODING_MANCHESTER 5 |
| 36 | #define PARITY_DEFAULT 0 |
| 37 | #define PARITY_NONE 1 |
| 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 39 | #define PARITY_CRC16_PR0 2 |
| 40 | #define PARITY_CRC16_PR1 3 |
| 41 | #define PARITY_CRC16_PR0_CCITT 4 |
| 42 | #define PARITY_CRC16_PR1_CCITT 5 |
| 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 44 | #define PARITY_CRC32_PR0_CCITT 6 |
| 45 | #define PARITY_CRC32_PR1_CCITT 7 |
| 46 | #define LMI_DEFAULT 0 |
| 47 | #define LMI_NONE 1 |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 49 | #define LMI_ANSI 2 |
| 50 | #define LMI_CCITT 3 |
| 51 | #define LMI_CISCO 4 |
| 52 | #ifndef __ASSEMBLY__ |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 54 | typedef struct { |
| 55 | unsigned int clock_rate; |
| 56 | unsigned int clock_type; |
| 57 | unsigned short loopback; |
| 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 59 | } sync_serial_settings; |
| 60 | typedef struct { |
| 61 | unsigned int clock_rate; |
| 62 | unsigned int clock_type; |
| 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 64 | unsigned short loopback; |
| 65 | unsigned int slot_map; |
| 66 | } te1_settings; |
| 67 | typedef struct { |
| 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 69 | unsigned short encoding; |
| 70 | unsigned short parity; |
| 71 | } raw_hdlc_proto; |
| 72 | typedef struct { |
| 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 74 | unsigned int t391; |
| 75 | unsigned int t392; |
| 76 | unsigned int n391; |
| 77 | unsigned int n392; |
| 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 79 | unsigned int n393; |
| 80 | unsigned short lmi; |
| 81 | unsigned short dce; |
| 82 | } fr_proto; |
| 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 84 | typedef struct { |
| 85 | unsigned int dlci; |
| 86 | } fr_proto_pvc; |
| 87 | typedef struct { |
| 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 89 | unsigned int dlci; |
| 90 | char master[IFNAMSIZ]; |
| 91 | }fr_proto_pvc_info; |
| 92 | typedef struct { |
| 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 94 | unsigned int interval; |
| 95 | unsigned int timeout; |
| 96 | } cisco_proto; |
| 97 | #endif |
| 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 99 | #endif |