home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / misc / tcpipsrc / icmpmsg.c < prev    next >
C/C++ Source or Header  |  1991-01-26  |  789b  |  51 lines

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