[INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.h
To help in reducing the number of include dependencies, several files were touched as they were getting needed headers indirectly for stuff they use. Thanks also to Alan Menegotto for pointing out that net/dccp/proto.c had linux/dccp.h include twice. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
25995ff577
commit
14c850212e
@@ -23,12 +23,17 @@
|
||||
#ifndef IEEE80211_CRYPT_H
|
||||
#define IEEE80211_CRYPT_H
|
||||
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/list.h>
|
||||
#include <asm/atomic.h>
|
||||
|
||||
enum {
|
||||
IEEE80211_CRYPTO_TKIP_COUNTERMEASURES = (1 << 0),
|
||||
};
|
||||
|
||||
struct sk_buff;
|
||||
struct module;
|
||||
|
||||
struct ieee80211_crypto_ops {
|
||||
const char *name;
|
||||
struct list_head list;
|
||||
@@ -87,6 +92,8 @@ struct ieee80211_crypt_data {
|
||||
atomic_t refcnt;
|
||||
};
|
||||
|
||||
struct ieee80211_device;
|
||||
|
||||
int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops);
|
||||
int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops);
|
||||
struct ieee80211_crypto_ops *ieee80211_get_crypto_ops(const char *name);
|
||||
|
Reference in New Issue
Block a user