#include <asm/uaccess.h>
#include <asm/system.h>
+#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
igmp_mc_proc_init();
#endif
}
+
+EXPORT_SYMBOL(ip_finish_output);
+EXPORT_SYMBOL(ip_fragment);
+EXPORT_SYMBOL(ip_generic_getfrag);
+EXPORT_SYMBOL(ip_queue_xmit);
+EXPORT_SYMBOL(ip_send_check);
+
+#ifdef CONFIG_SYSCTL
+EXPORT_SYMBOL(sysctl_ip_default_ttl);
+#endif
#endif /* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET
-#include <linux/ip.h>
#include <net/protocol.h>
#include <net/arp.h>
#if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE)
#include <net/atmclip.h>
#endif
-#include <net/ip.h>
#include <net/icmp.h>
#include <net/inet_common.h>
#include <linux/inet.h>
#include <net/sock.h>
#endif
-#ifdef CONFIG_SYSCTL
-extern int sysctl_max_syn_backlog;
-#endif
-
/* Socket layer support routines */
EXPORT_SYMBOL(memcpy_fromiovec);
EXPORT_SYMBOL(memcpy_tokerneliovec);
EXPORT_SYMBOL(arp_send);
EXPORT_SYMBOL(arp_broken_ops);
EXPORT_SYMBOL(__ip_select_ident);
-EXPORT_SYMBOL(ip_send_check);
-EXPORT_SYMBOL(ip_fragment);
EXPORT_SYMBOL(in_aton);
EXPORT_SYMBOL(ip_mc_inc_group);
EXPORT_SYMBOL(ip_mc_dec_group);
EXPORT_SYMBOL(ip_mc_join_group);
-EXPORT_SYMBOL(ip_finish_output);
EXPORT_SYMBOL(inet_addr_type);
EXPORT_SYMBOL(ip_dev_find);
EXPORT_SYMBOL(ip_defrag);
/* Socket demultiplexing. */
-EXPORT_SYMBOL(ip_queue_xmit);
EXPORT_SYMBOL(memcpy_fromiovecend);
EXPORT_SYMBOL(csum_partial_copy_fromiovecend);
/* UDP/TCP exported functions for TCPv6 */
EXPORT_SYMBOL(net_statistics);
-EXPORT_SYMBOL(ip_generic_getfrag);
#endif
/* Used by at least ipip.c. */
EXPORT_SYMBOL(hippi_type_trans);
#endif
-#ifdef CONFIG_SYSCTL
-#ifdef CONFIG_INET
-EXPORT_SYMBOL(sysctl_ip_default_ttl);
-#endif
-#endif
-
#ifdef CONFIG_NET_SCHED
PSCHED_EXPORTLIST;
EXPORT_SYMBOL(pfifo_qdisc_ops);