cvs2git | 5540113 | 2006-06-15 16:38:29 +0000 | [diff] [blame] | 1 | /* |
Darren Reed | 6b03a34 | 2007-08-21 15:22:35 +0000 | [diff] [blame] | 2 | * Copyright (C) 2000-2006 by Darren Reed. |
cvs2git | 5540113 | 2006-06-15 16:38:29 +0000 | [diff] [blame] | 3 | * |
| 4 | * See the IPFILTER.LICENCE file for details on licencing. |
| 5 | * |
| 6 | * $Id$ |
| 7 | */ |
| 8 | |
| 9 | #include <ctype.h> |
| 10 | |
| 11 | #include "ipf.h" |
| 12 | |
| 13 | #ifndef MIN |
| 14 | # define MIN(a,b) ((a) > (b) ? (b) : (a)) |
| 15 | #endif |
| 16 | |
| 17 | |
| 18 | char *icmpcodes[MAX_ICMPCODE + 1] = { |
| 19 | "net-unr", "host-unr", "proto-unr", "port-unr", "needfrag", "srcfail", |
| 20 | "net-unk", "host-unk", "isolate", "net-prohib", "host-prohib", |
| 21 | "net-tos", "host-tos", "filter-prohib", "host-preced", "preced-cutoff", |
| 22 | NULL }; |