patch-2.3.99-pre2 linux/net/ipv4/icmp.c
Next file: linux/net/ipv4/ip_gre.c
Previous file: linux/net/ipv4/Config.in
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Fri Mar 17 10:56:20 2000
- Orig file:
v2.3.99-pre1/linux/net/ipv4/icmp.c
- Orig date:
Thu Mar 2 14:36:23 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/net/ipv4/icmp.c linux/net/ipv4/icmp.c
@@ -3,7 +3,7 @@
*
* Alan Cox, <alan@redhat.com>
*
- * Version: $Id: icmp.c,v 1.65 2000/02/22 23:54:25 davem Exp $
+ * Version: $Id: icmp.c,v 1.66 2000/03/17 14:41:50 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -332,20 +332,6 @@
static struct icmp_control icmp_pointers[NR_ICMP_TYPES+1];
/*
- * Build xmit assembly blocks
- */
-
-struct icmp_bxm
-{
- void *data_ptr;
- int data_len;
- struct icmphdr icmph;
- unsigned long csum;
- struct ip_options replyopts;
- unsigned char optbuf[40];
-};
-
-/*
* The ICMP socket. This is the most convenient way to flow control
* our ICMP output as well as maintain a clean interface throughout
* all layers. All Socketless IP sends will soon be gone.
@@ -508,7 +494,7 @@
* Driving logic for building and sending ICMP messages.
*/
-static void icmp_reply(struct icmp_bxm *icmp_param, struct sk_buff *skb)
+void icmp_reply(struct icmp_bxm *icmp_param, struct sk_buff *skb)
{
struct sock *sk=icmp_socket->sk;
struct ipcm_cookie ipc;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)