public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove dead tcp exports
@ 2004-10-24 13:43 Christoph Hellwig
  2004-10-26  3:07 ` Werner Almesberger
  0 siblings, 1 reply; 9+ messages in thread
From: Christoph Hellwig @ 2004-10-24 13:43 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel


--- 1.96/include/net/tcp.h	2004-10-21 06:58:39 +02:00
+++ edited/include/net/tcp.h	2004-10-23 13:54:49 +02:00
@@ -159,7 +159,6 @@
 extern void tcp_bucket_destroy(struct tcp_bind_bucket *tb);
 extern void tcp_bucket_unlock(struct sock *sk);
 extern int tcp_port_rover;
-extern struct sock *tcp_v4_lookup_listener(u32 addr, unsigned short hnum, int dif);
 
 /* These are AF independent. */
 static __inline__ int tcp_bhashfn(__u16 lport)
--- 1.77/net/ipv4/af_inet.c	2004-09-23 07:26:42 +02:00
+++ edited/net/ipv4/af_inet.c	2004-10-23 13:53:38 +02:00
@@ -1165,8 +1165,6 @@
 EXPORT_SYMBOL(inet_stream_ops);
 EXPORT_SYMBOL(inet_unregister_protosw);
 EXPORT_SYMBOL(net_statistics);
-EXPORT_SYMBOL(tcp_protocol);
-EXPORT_SYMBOL(udp_protocol);
 
 #ifdef INET_REFCNT_DEBUG
 EXPORT_SYMBOL(inet_sock_nr);
--- 1.81/net/ipv4/tcp.c	2004-10-03 23:26:12 +02:00
+++ edited/net/ipv4/tcp.c	2004-10-23 13:50:23 +02:00
@@ -2307,7 +2307,6 @@
 
 EXPORT_SYMBOL(tcp_accept);
 EXPORT_SYMBOL(tcp_close);
-EXPORT_SYMBOL(tcp_close_state);
 EXPORT_SYMBOL(tcp_destroy_sock);
 EXPORT_SYMBOL(tcp_disconnect);
 EXPORT_SYMBOL(tcp_getsockopt);
--- 1.81/net/ipv4/tcp_input.c	2004-10-03 23:31:39 +02:00
+++ edited/net/ipv4/tcp_input.c	2004-10-23 13:52:46 +02:00
@@ -4963,7 +4963,6 @@
 
 EXPORT_SYMBOL(sysctl_tcp_ecn);
 EXPORT_SYMBOL(sysctl_tcp_reordering);
-EXPORT_SYMBOL(tcp_cwnd_application_limited);
 EXPORT_SYMBOL(tcp_parse_options);
 EXPORT_SYMBOL(tcp_rcv_established);
 EXPORT_SYMBOL(tcp_rcv_state_process);
--- 1.101/net/ipv4/tcp_ipv4.c	2004-10-20 06:50:24 +02:00
+++ edited/net/ipv4/tcp_ipv4.c	2004-10-23 13:55:16 +02:00
@@ -448,8 +448,8 @@
 }
 
 /* Optimize the common listener case. */
-inline struct sock *tcp_v4_lookup_listener(u32 daddr, unsigned short hnum,
-					   int dif)
+static inline struct sock *tcp_v4_lookup_listener(u32 daddr,
+		unsigned short hnum, int dif)
 {
 	struct sock *sk = NULL;
 	struct hlist_head *head;
@@ -2653,7 +2653,6 @@
 EXPORT_SYMBOL(tcp_v4_conn_request);
 EXPORT_SYMBOL(tcp_v4_connect);
 EXPORT_SYMBOL(tcp_v4_do_rcv);
-EXPORT_SYMBOL(tcp_v4_lookup_listener);
 EXPORT_SYMBOL(tcp_v4_rebuild_header);
 EXPORT_SYMBOL(tcp_v4_remember_stamp);
 EXPORT_SYMBOL(tcp_v4_send_check);
--- 1.70/net/ipv4/tcp_output.c	2004-10-22 07:37:25 +02:00
+++ edited/net/ipv4/tcp_output.c	2004-10-23 13:57:15 +02:00
@@ -1719,12 +1719,7 @@
 	}
 }
 
-EXPORT_SYMBOL(tcp_acceptable_seq);
 EXPORT_SYMBOL(tcp_connect);
-EXPORT_SYMBOL(tcp_connect_init);
 EXPORT_SYMBOL(tcp_make_synack);
-EXPORT_SYMBOL(tcp_send_synack);
 EXPORT_SYMBOL(tcp_simple_retransmit);
 EXPORT_SYMBOL(tcp_sync_mss);
-EXPORT_SYMBOL(tcp_write_wakeup);
-EXPORT_SYMBOL(tcp_write_xmit);

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-10-26  9:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-24 13:43 [PATCH] remove dead tcp exports Christoph Hellwig
2004-10-26  3:07 ` Werner Almesberger
2004-10-26  3:41   ` David S. Miller
2004-10-26  3:55     ` Werner Almesberger
2004-10-26  4:41     ` Lee Revell
2004-10-26  4:52       ` David S. Miller
2004-10-26  5:43         ` Lee Revell
2004-10-26  8:40       ` Arjan van de Ven
2004-10-26  9:36       ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox