Merge branch 'akpm'
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / gsmmux.h
blobc25e9477f7c387f6c49225afb2c25de114b997d3
1 #ifndef _LINUX_GSMMUX_H
2 #define _LINUX_GSMMUX_H
4 struct gsm_config
6 unsigned int adaption;
7 unsigned int encapsulation;
8 unsigned int initiator;
9 unsigned int t1;
10 unsigned int t2;
11 unsigned int t3;
12 unsigned int n2;
13 unsigned int mru;
14 unsigned int mtu;
15 unsigned int k;
16 unsigned int i;
17 unsigned int unused[8]; /* Padding for expansion without
18 breaking stuff */
21 #define GSMIOC_GETCONF _IOR('G', 0, struct gsm_config)
22 #define GSMIOC_SETCONF _IOW('G', 1, struct gsm_config)
24 struct gsm_netconfig {
25 unsigned int adaption; /* Adaption to use in network mode */
26 unsigned short protocol;/* Protocol to use - only ETH_P_IP supported */
27 unsigned short unused2;
28 char if_name[IFNAMSIZ]; /* interface name format string */
29 __u8 unused[28]; /* For future use */
32 #define GSMIOC_ENABLE_NET _IOW('G', 2, struct gsm_netconfig)
33 #define GSMIOC_DISABLE_NET _IO('G', 3)
36 #endif