[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:
parent
25995ff577
commit
14c850212e
87 changed files with 355 additions and 184 deletions
|
|
@ -35,11 +35,20 @@ enum {
|
|||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/config.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/icmpv6.h>
|
||||
#include <linux/in6.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <net/neighbour.h>
|
||||
#include <asm/atomic.h>
|
||||
|
||||
struct ctl_table;
|
||||
struct file;
|
||||
struct inet6_dev;
|
||||
struct net_device;
|
||||
struct net_proto_family;
|
||||
struct sk_buff;
|
||||
|
||||
extern struct neigh_table nd_tbl;
|
||||
|
||||
|
|
@ -108,7 +117,7 @@ extern int igmp6_event_report(struct sk_buff *skb);
|
|||
extern void igmp6_cleanup(void);
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
extern int ndisc_ifinfo_sysctl_change(ctl_table *ctl,
|
||||
extern int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl,
|
||||
int write,
|
||||
struct file * filp,
|
||||
void __user *buffer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue