home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / tcpipsrc / h / if / ICMP / c / ICMPMSG < prev   
Encoding:
Text File  |  1994-06-24  |  1013 b   |  54 lines

  1. #include "global.h"
  2. /* ICMP message types */
  3. char *icmptypes[] = {
  4.         "Echo Reply",
  5.         NULLCHAR,
  6.         NULLCHAR,
  7.         "Unreachable",
  8.         "Source Quench",
  9.         "Redirect",
  10.         NULLCHAR,
  11.         NULLCHAR,
  12.         "Echo Request",
  13.         NULLCHAR,
  14.         NULLCHAR,
  15.         "Time Exceeded",
  16.         "Parameter Problem",
  17.         "Timestamp",
  18.         "Timestamp Reply",
  19.         "Information Request",
  20.         "Information Reply"
  21. };
  22.  
  23. /* ICMP unreachable messages */
  24. char *unreach[] = {
  25.     "Network",
  26.     "Host",
  27.     "Protocol",
  28.     "Port",
  29.     "Fragmentation",
  30.     "Source route"
  31.     "Dest net unknown",
  32.     "Dest host unknown",
  33.     "Source host isolated",
  34.     "Net prohibited",
  35.     "Host prohibited",
  36.     "Net TOS",
  37.     "Host TOS",
  38.     "Administratively Prohibited"
  39. };
  40. /* ICMP Time exceeded messages */
  41. char *exceed[] = {
  42.         "Time-to-live",
  43.         "Fragment reassembly"
  44. };
  45.  
  46. /* ICMP redirect messages */
  47. char *redirect[] = {
  48.         "Network",
  49.         "Host",
  50.         "TOS & Network",
  51.         "TOS & Host"
  52. };
  53.  
  54.