Remove the old dummynet directory and update the new code with the missing files...
[ipfw.git] / dummynet2 / include / netinet / ip_icmp.h
diff --git a/dummynet2/include/netinet/ip_icmp.h b/dummynet2/include/netinet/ip_icmp.h
new file mode 100644 (file)
index 0000000..5c7b851
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * additional define not present in linux
+ * should go in glue.h
+ */
+#ifndef _NETINET_IP_ICMP_H_
+#define _NETINET_IP_ICMP_H_
+
+#define ICMP_MAXTYPE            40      /* defined as 18 in compat.h */
+#define ICMP_ROUTERSOLICIT      10              /* router solicitation */
+#define ICMP_TSTAMP             13              /* timestamp request */
+#define ICMP_IREQ               15              /* information request */
+#define ICMP_MASKREQ            17              /* address mask request */
+#define         ICMP_UNREACH_HOST       1               /* bad host */
+
+#define ICMP_UNREACH            3               /* dest unreachable, codes: */
+
+#endif /* _NETINET_IP_ICMP_H_ */