Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet add missing icmp types.
details: https://anonhg.NetBSD.org/src/rev/90f86215efdd
branches: trunk
changeset: 772196:90f86215efdd
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 23 15:31:16 2011 +0000
description:
add missing icmp types.
diffstat:
sys/netinet/ip_icmp.h | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 2c7bece2af0c -r 90f86215efdd sys/netinet/ip_icmp.h
--- a/sys/netinet/ip_icmp.h Fri Dec 23 10:01:33 2011 +0000
+++ b/sys/netinet/ip_icmp.h Fri Dec 23 15:31:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_icmp.h,v 1.26 2010/06/26 14:24:29 kefren Exp $ */
+/* $NetBSD: ip_icmp.h,v 1.27 2011/12/23 15:31:16 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -150,6 +150,7 @@
#define ICMP_REDIRECT_HOST 1 /* for host */
#define ICMP_REDIRECT_TOSNET 2 /* for tos and net */
#define ICMP_REDIRECT_TOSHOST 3 /* for tos and host */
+#define ICMP_ALTHOSTADDR 6 /* alternative host address */
#define ICMP_ECHO 8 /* echo service */
#define ICMP_ROUTERADVERT 9 /* router advertisement */
#define ICMP_ROUTERSOLICIT 10 /* router solicitation */
@@ -164,8 +165,16 @@
#define ICMP_IREQREPLY 16 /* information reply */
#define ICMP_MASKREQ 17 /* address mask request */
#define ICMP_MASKREPLY 18 /* address mask reply */
+#define ICMP_TRACEROUTE 30 /* traceroute */
+#define ICMP_DATACONVERR 31 /* data conversion error */
+#define ICMP_MOBILE_REDIRECT 32 /* mobile redirect */
+#define ICMP_IPV6_WHEREAREYOU 33 /* ipv6 where are you */
+#define ICMP_IPV6_IAMHERE 34 /* ipv6 i am here */
+#define ICMP_MOBILE_REGREQUEST 35 /* mobile registration req */
+#define ICMP_MOBILE_REGREPLY 36 /* mobile registration reply */
+#define ICMP_PHOTURIS 40 /* security */
-#define ICMP_MAXTYPE 18
+#define ICMP_MAXTYPE 40
#define ICMP_INFOTYPE(type) \
((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \
Home |
Main Index |
Thread Index |
Old Index