o NET: move net/ipv4/{ip_input,sysctl_net_ipv4}.c EXPORT_SYMBOLs from net/netsyms.c

And also a leftover to net/ipv4/af_inet.c
parent ce202929
......@@ -1270,6 +1270,7 @@ EXPORT_SYMBOL(inet_sock_release);
EXPORT_SYMBOL(inet_stream_connect);
EXPORT_SYMBOL(inet_stream_ops);
EXPORT_SYMBOL(inet_unregister_protosw);
EXPORT_SYMBOL(net_statistics);
EXPORT_SYMBOL(tcp_protocol);
EXPORT_SYMBOL(udp_protocol);
......
......@@ -116,6 +116,7 @@
*/
#include <asm/system.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
......@@ -432,3 +433,5 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt)
return NET_RX_DROP;
}
EXPORT_SYMBOL(ip_rcv);
EXPORT_SYMBOL(ip_statistics);
......@@ -8,6 +8,7 @@
*/
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/sysctl.h>
#include <linux/config.h>
#include <net/snmp.h>
......@@ -587,3 +588,5 @@ ctl_table ipv4_table[] = {
};
#endif /* CONFIG_SYSCTL */
EXPORT_SYMBOL(ipv4_config);
......@@ -12,7 +12,6 @@
#include <linux/fddidevice.h>
#include <linux/trdevice.h>
#include <linux/fcdevice.h>
#include <net/ip.h>
#include <linux/etherdevice.h>
#ifdef CONFIG_HIPPI
#include <linux/hippidevice.h>
......@@ -46,28 +45,11 @@ EXPORT_SYMBOL(destroy_EII_client);
#endif
#ifdef CONFIG_INET
/* Route manipulation */
/* needed for ip_gre -cw */
EXPORT_SYMBOL(ip_statistics);
#if defined(CONFIG_INET_ESP) || defined(CONFIG_INET_ESP_MODULE) || defined(CONFIG_INET6_ESP) || defined(CONFIG_INET6_ESP_MODULE)
EXPORT_SYMBOL_GPL(skb_cow_data);
EXPORT_SYMBOL_GPL(pskb_put);
EXPORT_SYMBOL_GPL(skb_to_sgvec);
#endif
#if defined (CONFIG_IPV6_MODULE) || defined (CONFIG_IP_SCTP_MODULE)
/* inet functions common to v4 and v6 */
/* UDP/TCP exported functions for TCPv6 */
EXPORT_SYMBOL(net_statistics);
#endif
/* Used by at least ipip.c. */
EXPORT_SYMBOL(ipv4_config);
EXPORT_SYMBOL(ip_rcv);
#endif /* CONFIG_INET */
#ifdef CONFIG_TR
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment