summaryrefslogtreecommitdiffstats
path: root/include/linux/icmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/icmp.h')
-rw-r--r--include/linux/icmp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/icmp.h b/include/linux/icmp.h
index fb4ed8b9a..292888923 100644
--- a/include/linux/icmp.h
+++ b/include/linux/icmp.h
@@ -82,10 +82,31 @@ struct icmphdr {
#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
/*