summaryrefslogtreecommitdiffstats
path: root/include/linux/icmp.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/icmp.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/icmp.h')
-rw-r--r--include/linux/icmp.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/icmp.h b/include/linux/icmp.h
index 611c41da8..9e5dd8899 100644
--- a/include/linux/icmp.h
+++ b/include/linux/icmp.h
@@ -30,6 +30,7 @@
#define ICMP_INFO_REPLY 16 /* Information Reply */
#define ICMP_ADDRESS 17 /* Address Mask Request */
#define ICMP_ADDRESSREPLY 18 /* Address Mask Reply */
+#define NR_ICMP_TYPES 18
/* Codes for UNREACH. */
@@ -49,7 +50,7 @@
#define ICMP_PKT_FILTERED 13 /* Packet filtered */
#define ICMP_PREC_VIOLATION 14 /* Precedence violation */
#define ICMP_PREC_CUTOFF 15 /* Precedence cut off */
-#define NR_ICMP_UNREACH 15 /* instead of hardcoding immediate value */
+#define NR_ICMP_UNREACH 15 /* instead of hardcoding immediate value */
/* Codes for REDIRECT. */
#define ICMP_REDIR_NET 0 /* Redirect Net */
@@ -72,14 +73,19 @@ struct icmphdr {
__u16 sequence;
} echo;
__u32 gateway;
+ struct {
+ __u16 __unused;
+ __u16 mtu;
+ } frag;
} un;
};
+#ifdef __KERNEL__
struct icmp_err {
int errno;
unsigned fatal:1;
};
-
+#endif
#endif /* _LINUX_ICMP_H */