1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _LINUX_GSMMUX_H
3 #define _LINUX_GSMMUX_H
6 #include <linux/ioctl.h>
7 #include <linux/types.h>
11 unsigned int adaption
;
12 unsigned int encapsulation
;
13 unsigned int initiator
;
22 unsigned int unused
[8]; /* Padding for expansion without
26 #define GSMIOC_GETCONF _IOR('G', 0, struct gsm_config)
27 #define GSMIOC_SETCONF _IOW('G', 1, struct gsm_config)
29 struct gsm_netconfig
{
30 unsigned int adaption
; /* Adaption to use in network mode */
31 unsigned short protocol
;/* Protocol to use - only ETH_P_IP supported */
32 unsigned short unused2
;
33 char if_name
[IFNAMSIZ
]; /* interface name format string */
34 __u8 unused
[28]; /* For future use */
37 #define GSMIOC_ENABLE_NET _IOW('G', 2, struct gsm_netconfig)
38 #define GSMIOC_DISABLE_NET _IO('G', 3)