1 #ifndef _LINUX_GSMMUX_H
2 #define _LINUX_GSMMUX_H
5 #include <linux/ioctl.h>
10 unsigned int encapsulation;
11 unsigned int initiator;
20 unsigned int unused[8]; /* Padding for expansion without
24 #define GSMIOC_GETCONF _IOR('G', 0, struct gsm_config)
25 #define GSMIOC_SETCONF _IOW('G', 1, struct gsm_config)
27 struct gsm_netconfig {
28 unsigned int adaption; /* Adaption to use in network mode */
29 unsigned short protocol;/* Protocol to use - only ETH_P_IP supported */
30 unsigned short unused2;
31 char if_name[IFNAMSIZ]; /* interface name format string */
32 __u8 unused[28]; /* For future use */
35 #define GSMIOC_ENABLE_NET _IOW('G', 2, struct gsm_netconfig)
36 #define GSMIOC_DISABLE_NET _IO('G', 3)