summaryrefslogtreecommitdiffstats
path: root/include/net/icmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/icmp.h')
-rw-r--r--include/net/icmp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/icmp.h b/include/net/icmp.h
index e7ff46a05..dc4d6f524 100644
--- a/include/net/icmp.h
+++ b/include/net/icmp.h
@@ -24,6 +24,11 @@
#include <net/sock.h>
#include <net/protocol.h>
+struct icmp_err {
+ int errno;
+ unsigned fatal:1;
+};
+
extern struct icmp_err icmp_err_convert[];
extern struct icmp_mib icmp_statistics[NR_CPUS*2];
#define ICMP_INC_STATS(field) SNMP_INC_STATS(icmp_statistics, field)