relay: Add buffer-only channels; useful for early logging.
[linux-2.6/kmemtrace.git] / include / net / wext.h
blob80b31d826b7a8a3f3765bf0dc6fc569eefc930da
1 #ifndef __NET_WEXT_H
2 #define __NET_WEXT_H
4 /*
5 * wireless extensions interface to the core code
6 */
8 struct net;
10 #ifdef CONFIG_WIRELESS_EXT
11 extern int wext_proc_init(struct net *net);
12 extern void wext_proc_exit(struct net *net);
13 extern int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd,
14 void __user *arg);
15 #else
16 static inline int wext_proc_init(struct net *net)
18 return 0;
20 static inline void wext_proc_exit(struct net *net)
22 return;
24 static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd,
25 void __user *arg)
27 return -EINVAL;
29 #endif
31 #endif /* __NET_WEXT_H */