patch-2.3.99-pre2 linux/include/linux/icmp.h
Next file: linux/include/linux/kernel.h
Previous file: linux/include/linux/i2c.h
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Sat Mar 18 12:11:22 2000
- Orig file:
v2.3.99-pre1/linux/include/linux/icmp.h
- Orig date:
Sat Nov 29 10:33:21 1997
diff -u --recursive --new-file v2.3.99-pre1/linux/include/linux/icmp.h linux/include/linux/icmp.h
@@ -82,10 +82,31 @@
#ifdef __KERNEL__
+#include <linux/ip.h>
+
struct icmp_err {
int errno;
unsigned fatal: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];
+};
+
+struct sk_buff;
+
+extern void icmp_reply(struct icmp_bxm *, struct sk_buff *);
+
#endif
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)