summaryrefslogtreecommitdiffstats
path: root/lib/addicmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/addicmp.c')
-rw-r--r--lib/addicmp.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/addicmp.c b/lib/addicmp.c
new file mode 100644
index 0000000..2567397
--- /dev/null
+++ b/lib/addicmp.c
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2000-2006 by Darren Reed.
+ *
+ * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * $Id: addicmp.c,v 1.10.2.5 2006/06/16 17:20:55 darrenr Exp $
+ */
+
+#include <ctype.h>
+
+#include "ipf.h"
+
+
+char *icmptypes[MAX_ICMPTYPE + 1] = {
+ "echorep", (char *)NULL, (char *)NULL, "unreach", "squench",
+ "redir", (char *)NULL, (char *)NULL, "echo", "routerad",
+ "routersol", "timex", "paramprob", "timest", "timestrep",
+ "inforeq", "inforep", "maskreq", "maskrep", "END"
+};
OpenPOWER on IntegriCloud