• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _LINUX_GSMMUX_H
7 #define _LINUX_GSMMUX_H
8 #include <linux/if.h>
9 #include <linux/ioctl.h>
10 #include <linux/types.h>
11 struct gsm_config
12 {
13 	unsigned int adaption;
14 	unsigned int encapsulation;
15 	unsigned int initiator;
16 	unsigned int t1;
17 	unsigned int t2;
18 	unsigned int t3;
19 	unsigned int n2;
20 	unsigned int mru;
21 	unsigned int mtu;
22 	unsigned int k;
23 	unsigned int i;
24 	unsigned int unused[8];
25 };
26 #define GSMIOC_GETCONF		_IOR('G', 0, struct gsm_config)
27 #define GSMIOC_SETCONF		_IOW('G', 1, struct gsm_config)
28 struct gsm_netconfig {
29 	unsigned int adaption;
30 	unsigned short protocol;
31 	unsigned short unused2;
32 	char if_name[IFNAMSIZ];
33 	__u8 unused[28];
34 };
35 #define GSMIOC_ENABLE_NET      _IOW('G', 2, struct gsm_netconfig)
36 #define GSMIOC_DISABLE_NET     _IO('G', 3)
37 #endif
38