• 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 _LINUX_GSMMUX_H
20 #define _LINUX_GSMMUX_H
21 #include <linux/if.h>
22 #include <linux/ioctl.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #include <linux/types.h>
25 struct gsm_config {
26   unsigned int adaption;
27   unsigned int encapsulation;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29   unsigned int initiator;
30   unsigned int t1;
31   unsigned int t2;
32   unsigned int t3;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   unsigned int n2;
35   unsigned int mru;
36   unsigned int mtu;
37   unsigned int k;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   unsigned int i;
40   unsigned int unused[8];
41 };
42 #define GSMIOC_GETCONF _IOR('G', 0, struct gsm_config)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define GSMIOC_SETCONF _IOW('G', 1, struct gsm_config)
45 struct gsm_netconfig {
46   unsigned int adaption;
47   unsigned short protocol;
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   unsigned short unused2;
50   char if_name[IFNAMSIZ];
51   __u8 unused[28];
52 };
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define GSMIOC_ENABLE_NET _IOW('G', 2, struct gsm_netconfig)
55 #define GSMIOC_DISABLE_NET _IO('G', 3)
56 #endif
57