NetBSD/dist/ipf/lib/icmpcode.c

25 lines
599 B
C
Raw Normal View History

2006-04-04 20:17:18 +04:00
/* $NetBSD: icmpcode.c,v 1.6 2006/04/04 16:17:18 martti Exp $ */
2004-03-28 12:55:20 +04:00
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
2006-04-04 20:17:18 +04:00
* Id: icmpcode.c,v 1.7.2.4 2006/02/25 17:40:22 darrenr Exp
2004-03-28 12:55:20 +04:00
*/
#include <ctype.h>
#include "ipf.h"
#ifndef MIN
# define MIN(a,b) ((a) > (b) ? (b) : (a))
#endif
char *icmpcodes[MAX_ICMPCODE + 1] = {
"net-unr", "host-unr", "proto-unr", "port-unr", "needfrag", "srcfail",
"net-unk", "host-unk", "isolate", "net-prohib", "host-prohib",
"net-tos", "host-tos", "filter-prohib", "host-preced", "preced-cutoff",
NULL };