aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipf/libipf/addicmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipf/libipf/addicmp.c')
-rw-r--r--sbin/ipf/libipf/addicmp.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sbin/ipf/libipf/addicmp.c b/sbin/ipf/libipf/addicmp.c
new file mode 100644
index 000000000000..f84cae01644e
--- /dev/null
+++ b/sbin/ipf/libipf/addicmp.c
@@ -0,0 +1,20 @@
+
+/*
+ * Copyright (C) 2012 by Darren Reed.
+ *
+ * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * $Id$
+ */
+
+#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"
+};