Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / platforms / android-21 / arch-x86 / usr / include / linux / if_frad.h
blob3faae59ca2a498f0a0013856943ca623d9014db3
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 _UAPI_FRAD_H_
20 #define _UAPI_FRAD_H_
21 #include <linux/if.h>
22 struct dlci_add
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
25 char devname[IFNAMSIZ];
26 short dlci;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define DLCI_GET_CONF (SIOCDEVPRIVATE + 2)
30 #define DLCI_SET_CONF (SIOCDEVPRIVATE + 3)
31 struct dlci_conf {
32 short flags;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 short CIR_fwd;
35 short Bc_fwd;
36 short Be_fwd;
37 short CIR_bwd;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 short Bc_bwd;
40 short Be_bwd;
41 short Tc_fwd;
42 short Tc_bwd;
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 short Tf_max;
45 short Tb_max;
47 #define DLCI_GET_SLAVE (SIOCDEVPRIVATE + 4)
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define DLCI_IGNORE_CIR_OUT 0x0001
50 #define DLCI_ACCOUNT_CIR_IN 0x0002
51 #define DLCI_BUFFER_IF 0x0008
52 #define DLCI_VALID_FLAGS 0x000B
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define FRAD_GET_CONF (SIOCDEVPRIVATE)
55 #define FRAD_SET_CONF (SIOCDEVPRIVATE + 1)
56 #define FRAD_LAST_IOCTL FRAD_SET_CONF
57 struct frad_conf
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
60 short station;
61 short flags;
62 short kbaud;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 short clocking;
65 short mtu;
66 short T391;
67 short T392;
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 short N391;
70 short N392;
71 short N393;
72 short CIR_fwd;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 short Bc_fwd;
75 short Be_fwd;
76 short CIR_bwd;
77 short Bc_bwd;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 short Be_bwd;
81 #define FRAD_STATION_CPE 0x0000
82 #define FRAD_STATION_NODE 0x0001
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 #define FRAD_TX_IGNORE_CIR 0x0001
85 #define FRAD_RX_ACCOUNT_CIR 0x0002
86 #define FRAD_DROP_ABORTED 0x0004
87 #define FRAD_BUFFERIF 0x0008
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define FRAD_STATS 0x0010
90 #define FRAD_MCI 0x0100
91 #define FRAD_AUTODLCI 0x8000
92 #define FRAD_VALID_FLAGS 0x811F
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 #define FRAD_CLOCK_INT 0x0001
95 #define FRAD_CLOCK_EXT 0x0000
96 #endif