Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
network.h
Go to the documentation of this file.
1 /*
2  * IPWireless 3G PCMCIA Network Driver
3  *
4  * Original code
5  * by Stephen Blackheath <[email protected]>,
6  * Ben Martel <[email protected]>
7  *
8  * Copyrighted as follows:
9  * Copyright (C) 2004 by Symmetric Systems Ltd (NZ)
10  *
11  * Various driver changes and rewrites, port to new kernels
12  * Copyright (C) 2006-2007 Jiri Kosina
13  *
14  * Misc code cleanups and updates
15  * Copyright (C) 2007 David Sterba
16  */
17 
18 #ifndef _IPWIRELESS_CS_NETWORK_H_
19 #define _IPWIRELESS_CS_NETWORK_H_
20 
21 #include <linux/types.h>
22 
23 struct ipw_network;
24 struct ipw_tty;
25 struct ipw_hardware;
26 
27 /* Definitions of the different channels on the PCMCIA UE */
28 #define IPW_CHANNEL_RAS 0
29 #define IPW_CHANNEL_DIALLER 1
30 #define IPW_CHANNEL_CONSOLE 2
31 #define NO_OF_IPW_CHANNELS 5
32 
34  unsigned int channel_idx, unsigned int control_lines,
35  unsigned int control_mask);
37  unsigned int channel_idx, unsigned char *data,
38  unsigned int length);
42  unsigned int channel_idx, struct ipw_tty *tty);
44  unsigned int channel_idx);
45 
46 void ipwireless_ppp_open(struct ipw_network *net);
47 
51 int ipwireless_ppp_mru(const struct ipw_network *net);
52 
53 #endif