mirror of
https://github.com/opnsense/src.git
synced 2026-03-09 01:30:47 -04:00
23 lines
477 B
C
23 lines
477 B
C
|
|
/*
|
|
* Copyright (C) 2012 by Darren Reed.
|
|
*
|
|
* See the IPFILTER.LICENCE file for details on licencing.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#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 };
|