Sync usage with man page.
[netbsd-mini2440.git] / dist / ipf / lib / icmpcode.c
blobc9bea38768173074a1e1d26a2bb182a4ca5e4f28
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2000-2006 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * Id: icmpcode.c,v 1.7.2.5 2006/06/16 17:21:02 darrenr Exp
9 */
11 #include <ctype.h>
13 #include "ipf.h"
15 #ifndef MIN
16 # define MIN(a,b) ((a) > (b) ? (b) : (a))
17 #endif
20 char *icmpcodes[MAX_ICMPCODE + 1] = {
21 "net-unr", "host-unr", "proto-unr", "port-unr", "needfrag", "srcfail",
22 "net-unk", "host-unk", "isolate", "net-prohib", "host-prohib",
23 "net-tos", "host-tos", "filter-prohib", "host-preced", "preced-cutoff",
24 NULL };