1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
/******************************************************/
/* Codes of ICMP error types. */
/******************************************************/
/* $Id: codes.h,v 1.1.1.1 2000/06/19 09:08:07 slay Exp $ */
/******************************************************/
#ifndef __CODES_H__
#define __CODES_H__
/******************/
/* Redirect codes */
/******************/
char *cod_redirect[]={ "net",
"host",
"serv-net",
"serv-host",
"max"
};
/***********************/
/* Time Exceeded codes */
/***********************/
char *cod_time[]={ "ttl",
"frag",
"max"
};
/****************************/
/* Time Exceeded long codes */
/****************************/
char *long_cod_time[]={"Time To Live Exceeded",
"Reassembly Time Exceeded",
"max"
};
/*****************************/
/* Destination Unreach codes */
/*****************************/
char *cod_unreach[]={ "net-unreach",
"host-unreach",
"prot-unreach",
"port-unreach",
"frag-needed",
"sroute-fail",
"net-unknown",
"host-unknown",
"host-isolated",
"net-ano",
"host-ano",
"net-unr-tos",
"host-unr-tos",
"com-admin-prohib",
"host-precedence-viol",
"precedence-cutoff",
"max"
};
#endif
|