]> git.hungrycats.org Git - linux/commitdiff
o NET: move net/ipv4/ip_output.c EXPORT_SYMBOLs from net/netsyms.c
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sun, 28 Sep 2003 16:14:09 +0000 (13:14 -0300)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sun, 28 Sep 2003 16:14:09 +0000 (13:14 -0300)
net/ipv4/ip_output.c
net/netsyms.c

index be54c3bcbf7c1d964808e803d773ec12425061e8..7adc3e747bd3c4cbc872a0553856d10ef933f40f 100644 (file)
@@ -46,6 +46,7 @@
 
 #include <asm/uaccess.h>
 #include <asm/system.h>
+#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -1317,3 +1318,13 @@ void __init ip_init(void)
        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
index 39bdca2049bad28fe3d99ff956ff6ca21be7ab1e..e0e5ace16e6e7b48de87ce7ac2409cba9e35cd62 100644 (file)
 #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>
@@ -67,10 +65,6 @@ extern void destroy_8023_client(struct datalink_proto *);
 #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);
@@ -132,13 +126,10 @@ EXPORT_SYMBOL(ip_options_undo);
 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);
@@ -163,13 +154,11 @@ EXPORT_SYMBOL(flow_cache_genid);
 
 /* 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.  */
@@ -217,12 +206,6 @@ EXPORT_SYMBOL(__kill_fasync);
 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);