home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / ien / ien-197 < prev    next >
Text File  |  1988-12-02  |  51KB  |  2,205 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                             IEN - 197
  11.  
  12.  
  13.  
  14.  
  15.                    A Host Monitoring Protocol
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.                       Benjamin M. Littauer
  32.                          Andrew J. Huang
  33.                         Robert M. Hinden
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                   Bolt Beranek and Newman Inc.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                          September 1981
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. IEN-197                                            September 1981
  60.  
  61.  
  62.                         Table of Contents
  63.  
  64.  
  65.  
  66.  
  67. 1   Introduction.......................................... 1
  68. 2   Protocol Operation.................................... 2
  69. 2.1   Unsolicited Messages................................ 3
  70. 2.2   Status Messages..................................... 4
  71. 2.3   Statistics Messages................................. 4
  72. 3   Header Formats........................................ 6
  73. 3.1   IP Headers.......................................... 6
  74. 3.2   Monitor Header...................................... 7
  75. 4   Monitor Message Formats............................... 9
  76. 4.1   System Type 1: General Messages..................... 9
  77. 4.1.1   Message Type 1: Polling Message................... 9
  78. 4.1.2   Message Type 2: Error in Poll.................... 11
  79. 4.2   System Type 2: IMP................................. 13
  80. 4.2.1   Message Type 1: IMP Trap......................... 13
  81. 4.2.2   Message Type 2: IMP status....................... 16
  82. 4.2.3   Message Type 3: IMP Modem Throughput............. 20
  83. 4.2.4   Message Type 4: IMP Host Throughput.............. 23
  84. 4.3   System Type 3: TAC................................. 26
  85. 4.3.1   Message Type 1: TAC Trap Message................. 26
  86. 4.3.2   Message Type 2: TAC Status....................... 29
  87. 4.3.3   Message Type 3: TAC Throughput................... 32
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.                                -i-
  115.  
  116.  
  117. IEN-197                                            September 1981
  118.  
  119.  
  120.                    A Host Monitoring Protocol
  121.  
  122.  
  123.  
  124.  
  125.  
  126. 1  Introduction
  127.  
  128.  
  129.      The Host Monitoring   Protocol  (HMP)  is  used  to  collect
  130.  
  131. information  from hosts  in  various  networks.   At present  the
  132.  
  133. protocol  aims at collecting information from  ARPANET  IMPs  and
  134.  
  135. TACs  in  an  internet   environment.    It   is designed  to  be
  136.  
  137. extensible  to other monitoring functions (e.g.  hosts, gateways,
  138.  
  139. local  nets)  while  its  addressing and control structures allow
  140.  
  141. it  to  operate  as  well   within   a   single    network.    In
  142.  
  143. implementation  it  is  a portion of a larger system, the Network
  144.  
  145. Operations Center (NOC).
  146.  
  147.  
  148.      The   monitoring   algorithm   relies   on    polling    for
  149.  
  150. messages;  the  Host  Monitor  (HM)  periodically sends a polling
  151.  
  152. message  to  the host  being  monitored,  requesting a  specified
  153.  
  154. report.  The host then creates the report and sends it to the HM.
  155.  
  156. Missing  reports are  detected as unanswered polls and  duplicate
  157.  
  158. polls  are  sent to have the report retransmitted.  Some messages
  159.  
  160. cannot be  polled   for   and   these   are   sent   to   the  HM
  161.  
  162. spontaneously.   Checksums calculated on the data portions of all
  163.  
  164. messages  assure their integrity.
  165.  
  166.  
  167.      The  HMP implements a password scheme in order  to  restrict
  168.  
  169. access to monitoring information.  The monitored hosts check each
  170.  
  171.  
  172.                                -1-
  173.  
  174.  
  175. IEN-197                                            September 1981
  176.  
  177.  
  178. poll message for a valid password before responding;  this  helps
  179.  
  180. prevent  unauthorized  use of the monitor system.  The HMP is not
  181.  
  182. intended to be a highly secure protocol.
  183.  
  184.  
  185.  
  186.  
  187.  
  188. 2  Protocol Operation
  189.  
  190.  
  191.      The   HMP  is  designed   to   operate   reliably   in   the
  192.  
  193. internet   environment.    To     gain     this     measure    of
  194.  
  195. reliability it uses  polling.   The  HM  sends  polling  messages
  196.  
  197. requesting   reports  to  the  monitored  hosts.   A  host,  upon
  198.  
  199. receiving  the  poll,  verifies  the   message   and,  if  it  is
  200.  
  201. acceptable, sends the appropriate report to the poll source.  The
  202.  
  203. HM, after transmitting the poll, awaits the corresponding report.
  204.  
  205. If  it  is  not  received within a  reasonable interval,  another
  206.  
  207. poll is sent assuming  that  either  the  previous  poll  or  the
  208.  
  209. answering  report  was  lost.   If  after  a  number  of repeated
  210.  
  211. polls  no  response  has  been  received,  it  can  be reasonably
  212.  
  213. concluded  that the host is unreachable and the polling frequency
  214.  
  215. is reduced  to  a  background  level.   This   minimizes  traffic
  216.  
  217. but,  since polling continues, a poll will reach the host once it
  218.  
  219. becomes reachable.   When a report is received  the  normal  poll
  220.  
  221. frequency is resumed.
  222.  
  223.  
  224.  
  225.      The most important reason for choosing  polling  over  other
  226.  
  227. methods of detecting lost messages is that it centralizes control
  228.  
  229.  
  230.                                -2-
  231.  
  232.  
  233. IEN-197                                            September 1981
  234.  
  235.  
  236. of  monitoring  in  a  dedicated  HM,  rather   distributing   it
  237.  
  238. throughout  the network of monitored hosts.  This frees resources
  239.  
  240. in the monitored systems and also allows the HM to  regulate  the
  241.  
  242. flow  of  monitoring  messages to prevent overloading of the HM's
  243.  
  244. resources.
  245.  
  246.  
  247.  
  248.      There are three classes of data with  which  the  monitoring
  249.  
  250. protocol  is  concerned.   These  are  (1)  reports of unexpected
  251.  
  252. changes of status or error conditions, (2) reports of the current
  253.  
  254. state  of  the host, and (3) reports of statistics and throughput
  255.  
  256. data.  These three kinds of data are handled in different ways by
  257.  
  258. the HMP as described below.
  259.  
  260.  
  261.  
  262.  
  263.  
  264. 2.1  Unsolicited Messages
  265.  
  266.  
  267.      These are reports of unexpected changes of status  or  error
  268.  
  269. condition reports (traps) which the monitor should be informed of
  270.  
  271. as they occur.   They  are  not  polled,  but  are  instead  sent
  272.  
  273. directly  to  a  particular HM.  If the address of the HM must be
  274.  
  275. changed for unsolicited messages, it will  be  done  by  external
  276.  
  277. means (e.g. packet core protocol).
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.                                -3-
  289.  
  290.  
  291. IEN-197                                            September 1981
  292.  
  293.  
  294. 2.2  Status Messages
  295.  
  296.  
  297.      These are reports of the current state  of  a  system;  they
  298.  
  299. contain  any kind of information which is not cumulative.  The HM
  300.  
  301. will poll for these on a periodic basis.  When a  monitored  host
  302.  
  303. receives a poll for a status message, it assembles a message with
  304.  
  305. the current data pertaining to its  status.   Since  this  is  an
  306.  
  307. instantaneous  "picture"  of  a system, it is not critical if any
  308.  
  309. particular status report is lost.
  310.  
  311.  
  312.  
  313.  
  314. 2.3  Statistics Messages
  315.  
  316.  
  317.      These messages, also  called  throughput  messages,  contain
  318.  
  319. data  collected  on  a  periodic  basis.  The information will be
  320.  
  321. collected in a monitored machine using a double buffering system.
  322.  
  323. At the end of each collection period, a message will be assembled
  324.  
  325. and the counters will be cleared.   During  the  next  collection
  326.  
  327. period,  any  HMs  polling  for a statistics message will be sent
  328.  
  329. this message.
  330.  
  331.  
  332.  
  333.      The collection frequency  for  statistics  messages  from  a
  334.  
  335. particular  host  must be relatively long compared to the average
  336.  
  337. round trip message time between the HM and that host to allow the
  338.  
  339. HM  to  re-poll  if  it  does  not  receive an answer.  With this
  340.  
  341. restriction it should be possible to avoid missing any statistics
  342.  
  343. messages  in  most cases.  Each statistics message will contain a
  344.  
  345.  
  346.                                -4-
  347.  
  348.  
  349. IEN-197                                            September 1981
  350.  
  351.  
  352. field giving the (local) time when the data  was  collected,  and
  353.  
  354. the time at which the message was sent (*).  This will allow  the
  355.  
  356. HM  to  schedule  its  polling  so that the poll arrives near the
  357.  
  358. beginning of each collection period.  This is done to ensure that
  359.  
  360. if  a  message  is  lost, the HM will have sufficient time to try
  361.  
  362. again to get the statistics message for  that  period.   Sequence
  363.  
  364. numbers  will  be  used  to  detect  the  loss of a message for a
  365.  
  366. period, and also to eliminate duplicate messages.
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398. _______________
  399. * The units of the local time should be large enough to guarantee
  400. a rollover time of at least one hour.
  401.  
  402.  
  403.  
  404.                                -5-
  405.  
  406.  
  407. IEN-197                                            September 1981
  408.  
  409.  
  410. 3  Header Formats
  411.  
  412.      [Note:   Any  field  labeled "unused" is reserved for  later
  413.      extensions and must be zero when sent.]
  414.  
  415.  
  416.      Monitor messages have the following format:
  417.  
  418.                     +----------------+
  419.                     |  Local Network |
  420.                     |    Header(s)   |
  421.                     +----------------+
  422.                     |  IP header     |
  423.                     +----------------+
  424.                     |  Internet      |
  425.                     |    Monitor     |
  426.                     |      Header    |
  427.                     +----------------+
  428.                     |    D           |
  429.                     |      A         |
  430.                     |        T       |
  431.                     |          A     |
  432.                     +----------------+
  433.                     |  Padding       |
  434.                     +----------------+
  435.  
  436.  
  437.      The local header(s) depend on the local network, and do  not
  438.      concern us here.
  439.  
  440.  
  441.  
  442.  
  443. 3.1  IP Headers
  444.  
  445.      HMP messages are sent using  the  version  4  IP  header  as
  446.      described  in IEN-128 (RFC-760).  The HMP protocol number is
  447.      20 (decimal).  The time to live field should be set  to  the
  448.      maximum  value.  All other fields should be set as specified
  449.      in IEN-128.
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.                                -6-
  463.  
  464.  
  465. IEN-197                                            September 1981
  466.  
  467.  
  468. 3.2  Monitor Header
  469.  
  470.      The monitor header format is:
  471.  
  472.                   1             0 0             0
  473.                   5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  474.                  +---------------+---------------+
  475.                0 |  System Type  | Message Type  |
  476.                  +---------------+---------------+
  477.                1 |          Port Number          |
  478.                  +---------------+---------------+
  479.                2 |        Sequence Number        |
  480.                  +---------------+---------------+
  481.                3 |  Password or Returned Seq. #  |
  482.                  +---------------+---------------+
  483.                4 |   One's Complement Checksum   |
  484.                  +---------------+---------------+
  485.  
  486. HMP FIELDS:
  487.  
  488. System Type
  489. Message Type
  490.  
  491.      The combination  of system type and message type  determines
  492.      the format of the data in the monitoring message.
  493.  
  494.      The system types which have been defined are:
  495.  
  496.  
  497.                    System Type  | Meaning
  498.                 ----------------+-----------------
  499.                        1        | General Messages
  500.                        2        | IMP
  501.                        3        | TAC
  502.  
  503.      Message types are defined for each system type according  to
  504.      the  needs  of that system.  Message types and their formats
  505.      for each system are defined below.
  506.  
  507. Port Number
  508.  
  509.      The Port Number field is presently unused.  It can  be  used
  510.      to multiplex similar messages from/to different processes in
  511.      one host.
  512.  
  513. Sequence Number
  514.  
  515.      Every message contains  a  sequence  number.   The  sequence
  516.      number  is incremented when each new message of that type is
  517.      sent.
  518.  
  519.  
  520.                                -7-
  521.  
  522.  
  523. IEN-197                                            September 1981
  524.  
  525.  
  526. Password or Returned Sequence Number
  527.  
  528.      The  Password field of a polling message from an HM contains
  529.      a  password  to   verify  that the  HM  is allowed to gather
  530.      information.  Responses  to  polling   messages   copy   the
  531.      Sequence Number from  the  polling message  and return it in
  532.      this  field   for   identification   and   round-trip   time
  533.      calculations.
  534.  
  535. Checksum
  536.  
  537.      The  Checksum  field  is  the one's complement of the  one's
  538.      complement  sum of all the 16-bit words in  the  header  and
  539.      data  area.   As  with  the checksum in the TCP header  (see
  540.      IEN-129),  the  checksum  also covers a 96-bit pseudo header
  541.      containing  the source address, the destination address, the
  542.      protocol  (20),  and the length of the monitoring message in
  543.      bytes. The  fields  of the pseudo header are as defined  for
  544.      the IP header.
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.                                -8-
  579.  
  580.  
  581. IEN-197                                            September 1981
  582.  
  583.  
  584. 4  Monitor Message Formats
  585.  
  586. 4.1  System Type 1: General Messages
  587.  
  588. 4.1.1  Message Type 1: Polling Message
  589.  
  590. Description
  591.  
  592.      The  HM will send polls to the  machines  it  is  monitoring
  593.      according  to  its polling algorithm.  Multiple requests can
  594.      be combined in a single message, but each request  is  still
  595.      considered a separate poll.
  596.  
  597.      The  polled  machine  will  return  a  message of each  type
  598.      requested;  it   will  only  answer  a poll with the correct
  599.      system type and password. It will return  an  error  message
  600.      (System  Type  1;  Message Type 2) if it receives a poll for
  601.      the wrong system type or an unsupported message type.
  602.  
  603.      A polling message has the following form:
  604.  
  605.               1             0 0             0
  606.               5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  607.              +---------------+---------------+
  608.            0 | R-Message Type|   R-Subtype   |
  609.            . +---------------+---------------+
  610.            . :                               :\  additional
  611.            . :                               : > message
  612.              :                               :/  requests
  613.              +---------------+---------------+
  614.  
  615. HMP FIELDS
  616.  
  617. System Type
  618.  
  619.      General Messages = 1
  620.  
  621. Message Type
  622.  
  623.      Polling Message = 1
  624.  
  625. Port Number
  626.  
  627.      Unused
  628.  
  629. Sequence Number
  630.  
  631.      The sequence number identifies the polling request.   An  HM
  632.      will have separate sequences for each host it monitors.  The
  633.      sequence number is returned in the response to a  poll;  the
  634.  
  635.  
  636.                                -9-
  637.  
  638.  
  639. IEN-197                                            September 1981
  640.  
  641.  
  642.      HM  will  use this information to associate polls with their
  643.      responses and to determine round trip times.
  644.  
  645. Password
  646.  
  647.      The monitoring password.
  648.  
  649. POLL FIELDS
  650.  
  651. R-Message Type
  652.  
  653.      The message type requested.
  654.  
  655. R-Subtype
  656.  
  657.      Presently unused, this field might later be used to  specify
  658.      options or include additional data in a polling message.
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.                               -10-
  695.  
  696.  
  697. IEN-197                                            September 1981
  698.  
  699.  
  700. 4.1.2  Message Type 2: Error in Poll
  701.  
  702. Description
  703.  
  704.      This message is sent  in  response  to  a  faulty  poll  and
  705.      specifies the nature of the error.
  706.  
  707.      An error message has the following form:
  708.  
  709.               1             0 0             0
  710.               5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  711.              +---------------+---------------+
  712.            0 |          Error Type           |\  first
  713.              +---------------+---------------+ > error
  714.            1 | R-Message Type|   R-Subtype   |/  report
  715.            . +---------------+---------------+
  716.            . :                               :\  additional
  717.            . :                               : > error
  718.              :                               :/  reports
  719.              +---------------+---------------+
  720.  
  721. HMP FIELDS
  722.  
  723. System Type
  724.  
  725.      General Messages = 1
  726.  
  727. Message Type
  728.  
  729.      Error Message = 2
  730.  
  731. Port Number
  732.  
  733.      Unused
  734.  
  735. Sequence Number
  736.  
  737.      A 16 bit number incremented each time an  error  message  is
  738.      sent.
  739.  
  740. Returned Sequence Number
  741.  
  742.      The Sequence Number of the polling message which caused  the
  743.      error.
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.                               -11-
  753.  
  754.  
  755. IEN-197                                            September 1981
  756.  
  757.  
  758. ERROR MESSAGE FIELDS
  759.  
  760. Error Type
  761.  
  762.      This field specifies the nature of the error  in  the  poll.
  763.      The following error types have been defined.
  764.  
  765.  
  766.                  1 = Reason unspecified.
  767.                  2 = Bad R-Message Type.
  768.                  3 = Bad R-Subtype.
  769.  
  770. R-Message Type
  771. R-Subtype
  772.  
  773.      These fields identify the poll request in error.
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.                               -12-
  811.  
  812.  
  813. IEN-197                                            September 1981
  814.  
  815.  
  816. 4.2  System Type 2: IMP
  817.  
  818. 4.2.1  Message Type 1: IMP Trap
  819.  
  820. Description
  821.  
  822.      When a trap occurs, it is buffered in the IMP  and  sent  as
  823.      soon  as possible.  Trap messages are unsolicited.  If traps
  824.      happen in close sequence, several traps may be sent  in  one
  825.      message.
  826.  
  827.      Through the use of sequence numbers, it will be possible  to
  828.      determine   how  many  traps  are  being  lost.   If  it  is
  829.      discovered that many are lost, a  polling  scheme  might  be
  830.      implemented for traps.
  831.  
  832.      A IMP trap message has the following form:
  833.  
  834.                   1             0 0             0
  835.                   5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  836.                  +---------------+---------------+
  837.                0 |       # of traps lost         |
  838.                  +---------------+---------------+
  839.                1 :         first                 :
  840.                . :             trap              :
  841.                . :                 data          :
  842.                . +---------------+---------------+
  843.                . :         additional            :
  844.                . :             trap              :
  845.                . :                 data          :
  846.                  +---------------+---------------+
  847.  
  848.  
  849. HMP Fields
  850.  
  851. System Type
  852.  
  853.      IMP = 2
  854.  
  855. Message Type
  856.  
  857.      IMP Trap Message = 1
  858.  
  859. Port Number
  860.  
  861.      Unused
  862.  
  863. Password
  864.  
  865.      Unused
  866.  
  867.  
  868.                               -13-
  869.  
  870.  
  871. IEN-197                                            September 1981
  872.  
  873.  
  874. Sequence Number
  875.  
  876.      A 16 bit number incremented each time a trap message is sent
  877.      so  that  the  HM  can  order the received trap messages and
  878.      detect missed messages.
  879.  
  880. IMP TRAP FIELDS
  881.  
  882. # of traps lost
  883.  
  884.      Under certain conditions, an IMP may overflow  its  internal
  885.      trap  buffers  and  be  unable  to save traps to send.  This
  886.      counter keeps track of such occurrences.
  887.  
  888. Trap Reports
  889.  
  890.      There can be several blocks of trap data  in  each  message.
  891.      The format for each such block is below.
  892.  
  893.  
  894.  
  895.                  +---------------+---------------+
  896.                  |             Size              |
  897.                  +---------------+---------------+
  898.                  |             Time              |
  899.                  +---------------+---------------+
  900.                  |            Trap ID            |
  901.                  +---------------+---------------+
  902.                  :             Trap              :
  903.                  :             Data              :
  904.                  +---------------+---------------+
  905.  
  906.  
  907.   Size
  908.  
  909.      Size is the number of 16 bit words in the trap, not counting
  910.      the size field.
  911.  
  912.   Time
  913.  
  914.      The time (in 640 ms. units)  at  which  the  trap  occurred.
  915.      This  field  is  used to sequence the traps in a message and
  916.      associate groups of traps.
  917.  
  918.   Trap ID
  919.  
  920.      This is usually the program counter at  the  trap.   The  ID
  921.      identifies  the  trap,  and  does  not  have to be a program
  922.      counter, provided it uniquely identifies the trap.
  923.  
  924.  
  925.  
  926.                               -14-
  927.  
  928.  
  929. IEN-197                                            September 1981
  930.  
  931.  
  932.   Trap Data
  933.  
  934.      The IMP returns data giving more information about the trap.
  935.      There are usually two entries: the values in the accumulator
  936.      and the index register at the occurrence of the trap.
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.                               -15-
  985.  
  986.  
  987. IEN-197                                            September 1981
  988.  
  989.  
  990. 4.2.2  Message Type 2: IMP status
  991.  
  992. Description
  993.  
  994.      The status message gives a quick summary of the state of the
  995.      IMP.   Status  of the most important features of the IMP are
  996.      reported  as  well  as  the  current  configuration  of  the
  997.      machine.
  998.  
  999.      The format of the status message is as follows:
  1000.  
  1001.                   1             0 0             0
  1002.                   5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  1003.                  +---------------+---------------+
  1004.                0 |    Software Version Number    |
  1005.                  +---------------+---------------+
  1006.                  |       Last Trap Message       |
  1007.                  +---------------+---------------+
  1008.                  |    Hosts      |    Modems     |
  1009.                  +---------------+---------------+
  1010.                  |          Package bits         |
  1011.                  +---------------+---------------+
  1012.                  |          TIP version          |
  1013.                  +---------------+---------------+
  1014.                5 |         restart/reload        |
  1015.                  +---------------+---------------+
  1016.                  |         Host                  |
  1017.                  +                               +
  1018.                  |             Test              |
  1019.                  +                               +
  1020.                  |                 Results       |
  1021.                  +---------------+---------------+
  1022.                  |                               |
  1023.                  +          Crash                +
  1024.               10 |                               |
  1025.                  +                Data           +
  1026.                  |                               |
  1027.                  +---------------+---------------+
  1028.                  |           Anomalies           |
  1029.                  +---------------+---------------+
  1030.               13 | HIHD0 | HIHD1 | HIHD2 | HIHD3 |
  1031.                . +---------------+---------------+
  1032.                . : HIHD4 | ...............       :
  1033.                . +---------------+---------------+
  1034.                              (cont.)
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.                               -16-
  1043.  
  1044.  
  1045. IEN-197                                            September 1981
  1046.  
  1047.  
  1048.  
  1049.  
  1050.      Imp Status (cont.)
  1051.  
  1052.                . +---------------+---------------+
  1053.                . |        Modem                  |
  1054.                . +             State             +
  1055.                . |                  Data         |
  1056.                . +---------------+---------------+
  1057.                . :         Modem   State         :
  1058.                . :             Data......        :
  1059.                  +---------------+---------------+
  1060.  
  1061.  
  1062.  
  1063. HMP FIELDS
  1064.  
  1065. System Type
  1066.  
  1067.      IMP = 2
  1068.  
  1069. Message Type
  1070.  
  1071.      IMP status message = 2
  1072.  
  1073. Port Number
  1074.  
  1075.      Unused
  1076.  
  1077. Sequence Number
  1078.  
  1079.      A 16 bit number incremented each time a  status  message  is
  1080.      sent.
  1081.  
  1082. Password
  1083.  
  1084.      The password contains the sequence  number  of  the  polling
  1085.      message to which this message responds.
  1086.  
  1087. IMP STATUS FIELDS
  1088.  
  1089. Software Version Number
  1090.  
  1091.      The IMP version number.
  1092.  
  1093. Last Trap Message
  1094.  
  1095.      Contains the sequence number of the last trap  message  sent
  1096.      to  the  HM.  This will allow the HM to detect how many trap
  1097.      messages are being lost.
  1098.  
  1099.  
  1100.                               -17-
  1101.  
  1102.  
  1103. IEN-197                                            September 1981
  1104.  
  1105.  
  1106. Hosts
  1107.  
  1108.      The number of configured hosts in this system.
  1109.  
  1110. Modems
  1111.  
  1112.      The number of configured modems in this system.
  1113.  
  1114. Package Bits
  1115.  
  1116.      This is a bit encoded word that reports the set of  packages
  1117.      currently loaded in the system.  The table below defines the
  1118.      bits.
  1119.  
  1120.                Bit    Package
  1121.              (octal)
  1122.                 1      VDH
  1123.                 2      TIP
  1124.                 4      experimental
  1125.                10      Cumulative Statistics
  1126.                20      Trace
  1127.                40      TTY
  1128.               100      DDT
  1129.               200      Store and Forward statistics
  1130.               400      End-to-end Statistics
  1131.              1000      Level measurements
  1132.  
  1133. TIP version
  1134.  
  1135.      The TIP version number if a TIP is loaded or zero if not.
  1136.  
  1137. Restart/Reload
  1138.  
  1139.      This word reports a restart or reload of an IMP.
  1140.  
  1141.            Value      Meaning
  1142.              1       restarted
  1143.              2       reloaded
  1144.  
  1145. Host Test Results
  1146.  
  1147.      These three words report the result of  the  host  test,  if
  1148.      any.   If a test is running, the first word will contain the
  1149.      host number, the second and third will contain the number of
  1150.      NOPs  sent  and  received,  respectively.   If  no  test  is
  1151.      running, the first word will contain a -1.
  1152.  
  1153. Crash Data
  1154.  
  1155.      Crash  data  reports  the   circumstances   surrounding   an
  1156.  
  1157.  
  1158.                               -18-
  1159.  
  1160.  
  1161. IEN-197                                            September 1981
  1162.  
  1163.  
  1164.      unexpected  crash.   The  first word reports the location of
  1165.      the crash and the following two  are  the  contents  of  the
  1166.      accumulator and index registers.
  1167.  
  1168. Anomalies
  1169.  
  1170.      Anomalies is a collection of bit  flags  that  indicate  the
  1171.      state  of  various  switches or processes in the IMP.  These
  1172.      are  very  machine  dependent  and  only  a   representative
  1173.      sampling of bits is listed below.
  1174.  
  1175.                Bit       Meaning
  1176.              (octal)
  1177.                 1      Sense Switch 1 ON
  1178.                 2      Sense Switch 2 ON
  1179.                 4      Sense Switch 3 ON
  1180.                10      Sense Switch 4 ON
  1181.                20      Override ON
  1182.               200      Trace ON
  1183.              2000      Message Generator ON
  1184.  
  1185. HIHD0 - HIHDn
  1186.  
  1187.      Each  four  bit  HIHD  field  gives   the   state   of   the
  1188.      corresponding host.
  1189.  
  1190.            Value   Meaning
  1191.              0       UP
  1192.              1       ready line down
  1193.              2       tardy
  1194.              3       non-existent
  1195.              4       VDH host not initialized
  1196.  
  1197.  
  1198. Modem State Data
  1199.  
  1200.      Modem state data contains four byte  fields  of  data.   The
  1201.      first  field indicates the line speed in a machine dependent
  1202.      fashion; the second field is the  number  of  line  protocol
  1203.      ticks  covered  by this report; the third is the neighbor on
  1204.      the line, and the fourth  is  a  count  of  missed  protocol
  1205.      packets over the interval specified in the second field.
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.                               -19-
  1217.  
  1218.  
  1219. IEN-197                                            September 1981
  1220.  
  1221.  
  1222. 4.2.3  Message Type 3: IMP Modem Throughput
  1223.  
  1224. Description
  1225.  
  1226.      The modem throughput message reports traffic statistics  for
  1227.      each modem in the system. The IMP will collect these data at
  1228.      regular intervals and save them awaiting a poll from the HM.
  1229.      If  a  period  is  missed  by the HM, the new results simply
  1230.      overwrite the old.  Two time stamps bracket  the  collection
  1231.      interval  (data-time  and prev-time) and are an indicator of
  1232.      missed reports.  In addition, mess-time indicates  the  time
  1233.      at which the message was sent.
  1234.  
  1235.      The modem throughput message will accommodate up to fourteen
  1236.      modems  in  one  packet.   A provision is made to split this
  1237.      into multiple packets by including a modem  number  for  the
  1238.      first  entry  in  the packet.  This field is not immediately
  1239.      useful, but if machine sizes grow beyond fourteen modems  or
  1240.      if  modem  statistics become more detailed and use more than
  1241.      three words per modem, this can be used to keep the  message
  1242.      within a single ARPANET packet.
  1243.  
  1244.      The format of the modem throughput message is as follows:
  1245.  
  1246.                   1             0 0             0
  1247.                   5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  1248.                  +---------------+---------------+
  1249.                0 |           Mess-Time           |
  1250.                  +---------------+---------------+
  1251.                  |    Software Version Number    |
  1252.                  +---------------+---------------+
  1253.                  |           Data-Time           |
  1254.                  +---------------+---------------+
  1255.                  |           Prev-Time           |
  1256.                  +---------------+---------------+
  1257.                  | Total  Modems |  This  Modem  |
  1258.                  +---------------+---------------+
  1259.                5 |                               |
  1260.                . +             modem             +
  1261.                . |                               |
  1262.                . +           throughput          +
  1263.                . |                               |
  1264.                . +---------------+---------------+
  1265.                . :             modem             :
  1266.                . :                               :
  1267.                . :          throughput           :
  1268.                  +---------------+---------------+
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.                               -20-
  1275.  
  1276.  
  1277. IEN-197                                            September 1981
  1278.  
  1279.  
  1280. HMP FIELDS
  1281.  
  1282.  
  1283. System Type
  1284.  
  1285.      IMP = 2
  1286.  
  1287. Message Type
  1288.  
  1289.      IMP Modem Throughput message = 3
  1290.  
  1291. Port Number
  1292.  
  1293.      Unused
  1294.  
  1295. Sequence Number
  1296.  
  1297.      A 16 bit number  incremented  at  each  collection  interval
  1298.      (i.e.  when  a new throughput message is assembled).  The HM
  1299.      will be  able  to  detect  lost  or  duplicate  messages  by
  1300.      checking the sequence numbers.
  1301.  
  1302. Password
  1303.  
  1304.      The password contains the sequence  number  of  the  polling
  1305.      message to which this message responds.
  1306.  
  1307. IMP MODEM THROUGHPUT FIELDS
  1308.  
  1309. Mess-time
  1310.  
  1311.      The time (in 640ms. units) at which the message was sent  to
  1312.      the HM.
  1313.  
  1314. Software Version Number
  1315.  
  1316.      The IMP version number.
  1317.  
  1318. Data-Time
  1319.  
  1320.      Data-time is the time (in 640ms. units)  when  this  set  of
  1321.      data was collected.  (See Description.)
  1322.  
  1323. Prev-Time
  1324.  
  1325.      Prev-time is the time (in 640 ms.  units)  of  the  previous
  1326.      collection of data (and therefore, is the time when the data
  1327.      in this message began accumulating.)
  1328.  
  1329. Total Modems
  1330.  
  1331.  
  1332.                               -21-
  1333.  
  1334.  
  1335. IEN-197                                            September 1981
  1336.  
  1337.  
  1338.      This is the number of modems in the system.
  1339.  
  1340. This Modem
  1341.  
  1342.      This Modem is the number of the first modem reported in this
  1343.      message.   Large  systems  that  are unable to fit all their
  1344.      modem reports into a single packet may  use  this  field  to
  1345.      separate their message into smaller chunks to take advantage
  1346.      of single packet message efficiencies.
  1347.  
  1348. Modem Throughput
  1349.  
  1350.      Modem  throughput  consists   of   three   words   of   data
  1351.      reporting  packets  and  words  output  on  each modem.  The
  1352.      first  word  counts packets  output and  the  following  two
  1353.      count  word  throughput.   The  double  precision  words are
  1354.      arranged high order first.  (Note  also that  messages  from
  1355.      Honeywell  type machines (316s, 516s and C30s) use a fifteen
  1356.      bit low order word.)  The first block reports output on  the
  1357.      modem  specified  by  "This  Modem".   The  following blocks
  1358.      report on consecutive modems.
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.                               -22-
  1391.  
  1392.  
  1393. IEN-197                                            September 1981
  1394.  
  1395.  
  1396. 4.2.4  Message Type 4: IMP Host Throughput
  1397.  
  1398. Description
  1399.  
  1400.      The host throughput message reports traffic  statistics  for
  1401.      each host in the system.  The IMP will collect these data at
  1402.      regular intervals and save them awaiting a poll from the HM.
  1403.      If  a  period  is  missed  by the HM, the new results simply
  1404.      overwrite the old.  Two time stamps bracket  the  collection
  1405.      interval  (data-time  and prev-time) and are an indicator of
  1406.      missed reports.  In addition, mess-time indicates  the  time
  1407.      at which the message was sent.
  1408.  
  1409.      The host throughput format will hold  only  three  hosts  if
  1410.      packet  boundaries are to be respected.  A provision is made
  1411.      to split this into multiple  packets  by  including  a  host
  1412.      number for the first entry in the packet.
  1413.  
  1414.      The format of the host throughput message is as follows:
  1415.  
  1416.                   1             0 0             0
  1417.                   5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  1418.                  +---------------+---------------+
  1419.                0 |           Mess-Time           |
  1420.                  +---------------+---------------+
  1421.                  |    Software Version Number    |
  1422.                  +---------------+---------------+
  1423.                  |           Data-Time           |
  1424.                  +---------------+---------------+
  1425.                  |           Prev-Time           |
  1426.                  +---------------+---------------+
  1427.                  |  Total Hosts  |   This  Host  |
  1428.                  +---------------+---------------+
  1429.                5 :              host             :
  1430.                . :           throughput          :
  1431.                  +---------------+---------------+
  1432.  
  1433. HMP FIELDS
  1434.  
  1435. System Type
  1436.  
  1437.      IMP = 2
  1438.  
  1439. Message Type
  1440.  
  1441.      IMP host Throughput message = 4
  1442.  
  1443. Port Number
  1444.  
  1445.      Unused
  1446.  
  1447.  
  1448.                               -23-
  1449.  
  1450.  
  1451. IEN-197                                            September 1981
  1452.  
  1453.  
  1454. Sequence Number
  1455.  
  1456.      A 16 bit number  incremented  at  each  collection  interval
  1457.      (i.e.  when  a new throughput message is assembled).  The HM
  1458.      will be  able  to  detect  lost  or  duplicate  messages  by
  1459.      checking the sequence numbers.
  1460.  
  1461. Password
  1462.  
  1463.      The password contains the sequence  number  of  the  polling
  1464.      message to which this message responds.
  1465.  
  1466. IMP HOST THROUGHPUT FIELDS
  1467.  
  1468. Mess-time
  1469.  
  1470.      The time (in 640ms. units) at which the message was sent  to
  1471.      the HM.
  1472.  
  1473. Software Version Number
  1474.  
  1475.      The IMP version number.
  1476.  
  1477. Data-Time
  1478.  
  1479.      Data-time is the time (in 640ms. units)  when  this  set  of
  1480.      data was collected.  (See Description.)
  1481.  
  1482. Prev-Time
  1483.  
  1484.      Prev-time is the time (in 640 ms.  units)  of  the  previous
  1485.      collection of data (and therefore, is the time when the data
  1486.      in this message began accumulating.)
  1487.  
  1488. Total Hosts
  1489.  
  1490.      The total number of hosts in this system.
  1491.  
  1492. This Host
  1493.  
  1494.      This host is the number of the first host reported  in  this
  1495.      message.   Large  systems  that  are unable to fit all their
  1496.      host reports into a single packet  may  use  this  field  to
  1497.      separate their message into smaller chunks to take advantage
  1498.      of single packet message efficiencies.
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.                               -24-
  1507.  
  1508.  
  1509. IEN-197                                            September 1981
  1510.  
  1511.  
  1512. Host Throughput
  1513.  
  1514.      Each host throughput block consists of twelve words  in  the
  1515.      following format:
  1516.  
  1517.                  +---------------+---------------+
  1518.                  |      messages to network      |
  1519.                  +---------------+---------------+
  1520.                  |     messages from network     |
  1521.                  +---------------+---------------+
  1522.                  |        packets to net         |
  1523.                  +---------------+---------------+
  1524.                  |       packets from net        |
  1525.                  +---------------+---------------+
  1526.                  |       messages to local       |
  1527.                  +---------------+---------------+
  1528.                  |      messages from local      |
  1529.                  +---------------+---------------+
  1530.                  |        packets to local       |
  1531.                  +---------------+---------------+
  1532.                  |       packets from local      |
  1533.                  +---------------+---------------+
  1534.                  |         words to imp          |
  1535.                  |      (double precision)       |
  1536.                  +---------------+---------------+
  1537.                  |        words from imp         |
  1538.                  |      (double precision)       |
  1539.                  +---------------+---------------+
  1540.  
  1541.      Each host throughput message will contain several blocks  of
  1542.      data.   The  first  block  will  contain  data  for the host
  1543.      specified in  First  Host  Number.   Following  blocks  will
  1544.      contain data for consecutive hosts.  All counters are single
  1545.      precision with the exception of the two word counters  which
  1546.      are  double  precision.   The  double  precision  words  are
  1547.      arranged high order first.  Note  also  that  messages  from
  1548.      Honeywell  type machines (316s, 516s and C30s) use a fifteen
  1549.      bit low order word.
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.                               -25-
  1565.  
  1566.  
  1567. IEN-197                                            September 1981
  1568.  
  1569.  
  1570. 4.3  System Type 3: TAC
  1571.  
  1572. 4.3.1  Message Type 1: TAC Trap Message
  1573.  
  1574. Description
  1575.  
  1576.      When a trap occurs, it is buffered in the TAC  and  sent  as
  1577.      soon  as possible.  Trap messages are unsolicited.  If traps
  1578.      happen in close sequence, several traps may be sent  in  one
  1579.      message.
  1580.  
  1581.      Through the use of sequence numbers, it will be possible  to
  1582.      determine   how  many  traps  are  being  lost.   If  it  is
  1583.      discovered that many are lost, a  polling  scheme  might  be
  1584.      implemented for traps.
  1585.  
  1586.      A TAC trap message has the following form:
  1587.  
  1588.                   1             0 0             0
  1589.                   5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  1590.                  +---------------+---------------+
  1591.                0 |       # of traps lost         |
  1592.                  +---------------+---------------+
  1593.                1 :         first                 :
  1594.                . :             trap              :
  1595.                . :                 data          :
  1596.                . +---------------+---------------+
  1597.                . :         additional            :
  1598.                . :             trap              :
  1599.                . :                 data          :
  1600.                  +---------------+---------------+
  1601.  
  1602.  
  1603. HMP FIELDS
  1604.  
  1605. System Type
  1606.  
  1607.      TAC = 3
  1608.  
  1609. Message Type
  1610.  
  1611.      TAC Trap Message = 1
  1612.  
  1613. Port Number
  1614.  
  1615.      Unused
  1616.  
  1617. Password or Returned Sequence Number
  1618.  
  1619.      Unused
  1620.  
  1621.  
  1622.                               -26-
  1623.  
  1624.  
  1625. IEN-197                                            September 1981
  1626.  
  1627.  
  1628. Sequence Number
  1629.  
  1630.      A 16 bit number incremented each time a trap message is sent
  1631.      so  that  the  HM  can  order the received trap messages and
  1632.      detect missed messages.
  1633.  
  1634. TAC TRAP FIELDS
  1635.  
  1636. # of traps lost
  1637.  
  1638.      Under certain conditions, a TAC may  overflow  its  internal
  1639.      trap  buffers  and  be  unable  to save traps to send.  This
  1640.      counter keeps track of such occurrences.
  1641.  
  1642. Trap Reports
  1643.  
  1644.      There can be several blocks of trap data in each message.
  1645.  
  1646.      The format of the trap data is as follows:
  1647.  
  1648.  
  1649.                  +---------------+---------------+
  1650.                  |             Size              |
  1651.                  +---------------+---------------+
  1652.                  |             Time              |
  1653.                  +---------------+---------------+
  1654.                  |            Trap ID            |
  1655.                  +---------------+---------------+
  1656.                  :             Trap              :
  1657.                  :             Data              :
  1658.                  +---------------+---------------+
  1659.  
  1660.  
  1661.   Size
  1662.  
  1663.      Size is the number of 16 bit words in the trap, not counting
  1664.      the size field.
  1665.  
  1666.   Time
  1667.  
  1668.      The time (in 640ms. units) at which the trap occurred.  This
  1669.      field  is  used  to  sequence  the  traps  in  a message and
  1670.      associate groups of traps.
  1671.  
  1672.   Trap ID
  1673.  
  1674.      This is (usually) the program counter at the trap.   The  ID
  1675.      identifies  the  trap,  and  does  not  have to be a program
  1676.      counter, provided that it uniquely identifies the trap.
  1677.  
  1678.  
  1679.  
  1680.                               -27-
  1681.  
  1682.  
  1683. IEN-197                                            September 1981
  1684.  
  1685.  
  1686.   Trap Data
  1687.  
  1688.      The TAC returns data giving more information about the trap.
  1689.      There are usually two entries: the values in the accumulator
  1690.      and the index register at the occurrence of the trap.
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.                               -28-
  1739.  
  1740.  
  1741. IEN-197                                            September 1981
  1742.  
  1743.  
  1744. 4.3.2  Message Type 2: TAC Status
  1745.  
  1746. Description
  1747.  
  1748.      The status message gives a quick summary of the state of the
  1749.      TAC.   Status  of the most important features of the TAC are
  1750.      reported  as  well  as  the  current  configuration  of  the
  1751.      machine.
  1752.  
  1753.  
  1754.      A TAC status message has the following form:
  1755.  
  1756.  
  1757.                   1             0 0             0
  1758.                   5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  1759.                  +---------------+---------------+
  1760.                0 |         Version Number        |
  1761.                  +---------------+---------------+
  1762.                  |       Last Trap Message       |
  1763.                  +---------------+---------------+
  1764.                  |           Bit Flags           |
  1765.                  +---------------+---------------+
  1766.                  |         Free PDB count        |
  1767.                  +---------------+---------------+
  1768.                  |         Free MBLK count       |
  1769.                  +---------------+---------------+
  1770.                5 |      # of TCP connections     |
  1771.                  +---------------+---------------+
  1772.                  |      # of NCP connections     |
  1773.                  +---------------+---------------+
  1774.                  |         restart/reload        |
  1775.                  +---------------+---------------+
  1776.                  |                               |
  1777.                  +          Crash                +
  1778.                  |                               |
  1779.                  +                Data           +
  1780.               10 |                               |
  1781.                  +---------------+---------------+
  1782.  
  1783.  
  1784. HMP FIELDS
  1785.  
  1786. System Type
  1787.  
  1788.      TAC = 3
  1789.  
  1790. Message Type
  1791.  
  1792.      TAC Status Message = 2
  1793.  
  1794.  
  1795.  
  1796.                               -29-
  1797.  
  1798.  
  1799. IEN-197                                            September 1981
  1800.  
  1801.  
  1802. Port Number
  1803.  
  1804.      Unused
  1805.  
  1806. Sequence Number
  1807.  
  1808.      A 16 bit number incremented each time a  status  message  is
  1809.      sent.
  1810.  
  1811. Returned Sequence Number
  1812.  
  1813.      Contains  the  sequence  number  from  the  polling  message
  1814.      requesting this report.
  1815.  
  1816. TAC STATUS FIELDS
  1817.  
  1818. Version Number
  1819.  
  1820.      The TAC's software version number.
  1821.  
  1822. Last Trap Message
  1823.  
  1824.      Contains the sequence number of the last trap  message  sent
  1825.      to  the  HM.  This will allow the HM to detect how many trap
  1826.      messages are being lost.
  1827.  
  1828. Bit Flags
  1829.  
  1830.      There are sixteen bit  flags  available  for  reporting  the
  1831.      state  of  various  switches  (hardware and software) in the
  1832.      TAC.  The bits are numbered as follows for purposes  of  the
  1833.      discussion below.
  1834.  
  1835.                  1         1   0 0             0
  1836.                  5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  1837.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1838.                 | | | | | | | | | | | | | | | | |
  1839.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1840.  
  1841.           The bit flags report the status of the following:
  1842.  
  1843.           Bit         Meaning
  1844.           0           0 => DDT override off; 1 => override on.
  1845.           1-4         0 => Sense Switch n is off; 1 => SSn on.
  1846.           5           0 => Extended DDT not enabled;
  1847.                         1 => Extended DDT enabled.
  1848.           6           0 => Traps going to console;
  1849.                         1 => Traps going to remote monitor.
  1850.           7-15        unused
  1851.  
  1852.  
  1853.  
  1854.                               -30-
  1855.  
  1856.  
  1857. IEN-197                                            September 1981
  1858.  
  1859.  
  1860. Free PDB count
  1861.  
  1862.      The number of PDBs on the free queue.
  1863.  
  1864. Free MBLK count
  1865.  
  1866.      The number of MBLKs on the free queue.
  1867.  
  1868. # of TCP connections
  1869. # of NCP connections
  1870.  
  1871.      The number of open connections for each protocol.
  1872.  
  1873. Restart/Reload
  1874.  
  1875.      This word reports a restart or reload of the TAC
  1876.  
  1877.            Value      Meaning
  1878.              1       restarted
  1879.              2       reloaded
  1880.  
  1881.  
  1882. Crash Data
  1883.  
  1884.      Crash  data  reports  the   circumstances   surrounding   an
  1885.      unexpected  crash.   The  first word reports the location of
  1886.      the crash and the following two  are  the  contents  of  the
  1887.      accumulator and index registers.
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.                               -31-
  1913.  
  1914.  
  1915. IEN-197                                            September 1981
  1916.  
  1917.  
  1918. 4.3.3  Message Type 3: TAC Throughput
  1919.  
  1920. Description
  1921.  
  1922.      The  TAC  throughput  message  reports  statistics  for  the
  1923.      various modules of the TAC.  The TAC will collect these data
  1924.      at regular intervals and save them awaiting a poll from  the
  1925.      HM.  If a period is missed by the HM, the new results simply
  1926.      overwrite the old.  Two time stamps bracket  the  collection
  1927.      interval  (data-time  and prev-time) and are an indicator of
  1928.      missed reports.  In addition, mess-time indicates  the  time
  1929.      at which the message was sent.
  1930.  
  1931.  
  1932.      A TAC throughput message has the following form:
  1933.  
  1934.                1             0 0             0
  1935.                5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  1936.               +---------------+---------------+
  1937.             0 |           Mess-Time           |
  1938.               +---------------+---------------+
  1939.               |           Data-Time           |
  1940.               +---------------+---------------+
  1941.               |           Prev-Time           |
  1942.               +---------------+---------------+
  1943.               |         Version Number        |
  1944.               +---------------+---------------+
  1945.               |       Last Trap Message       |
  1946.               +---------------+---------------+
  1947.             5 |           Bit Flags           |
  1948.               +---------------+---------------+
  1949.               |         Free PDB count        |
  1950.               +---------------+---------------+
  1951.               |         Free MBLK count       |
  1952.               +---------------+---------------+
  1953.               |      # of TCP connections     |
  1954.               +---------------+---------------+
  1955.               |      # of NCP connections     |
  1956.               +---------------+---------------+ ----
  1957.            10 |     Host Input Throughput     |    ^
  1958.               +---------------+---------------+    |
  1959.               |     Host Input Abort Count    |    |
  1960.               +---------------+---------------+    |
  1961.               |    Host Input Garbled Count   |    |
  1962.               +---------------+---------------+    |
  1963.               |    Host Output Throughput     | 1822 info.
  1964.               +---------------+---------------+    |
  1965.                             (continued)
  1966.  
  1967.  
  1968.  
  1969.  
  1970.                               -32-
  1971.  
  1972.  
  1973. IEN-197                                            September 1981
  1974.  
  1975.  
  1976.  
  1977.      TAC throughput (cont.)
  1978.  
  1979.               +---------------+---------------+    |
  1980.               |    Host Output Abort Count    | 1822 info.
  1981.               +---------------+---------------+    |
  1982.            15 |        Host Down Count        |    v
  1983.               +---------------+---------------+ ----
  1984.               |      # of datagrams sent      |    ^
  1985.               +---------------+---------------+    |
  1986.               |    # of datagrams received    |    |
  1987.               +---------------+---------------+  IP info.
  1988.               |    # of datagrams discarded   |    |
  1989.               +---------------+---------------+    |
  1990.               |    # of fragments received    |    v
  1991.               +---------------+---------------+ ----
  1992.            20 |      # of segments sent       |    ^
  1993.               +---------------+---------------+    |
  1994.               |    # of segments received     |    |
  1995.               +---------------+---------------+    |
  1996.               |    # of segments discarded    |    |
  1997.               +---------------+---------------+  TCP info.
  1998.               |       # of octets sent        |    |
  1999.               +---------------+---------------+    |
  2000.               |     # of octets received      |    |
  2001.               +---------------+---------------+    |
  2002.            25 |     # of retransmissions      |    v
  2003.               +---------------+---------------+ ----
  2004.               |      # of messages sent       |    ^
  2005.               +---------------+---------------+    |
  2006.               |    # of messages received     |    |
  2007.               +---------------+---------------+    |
  2008.               |    # of messages flushed      |    |
  2009.               +---------------+---------------+    |
  2010.               |        # of bytes sent        |    |
  2011.               +---------------+---------------+    |
  2012.            30 |      # of bytes received      |    |
  2013.               +---------------+---------------+   NCP info.
  2014.               |       # of ERRs received      |    |
  2015.               +---------------+---------------+    |
  2016.               |       # of RASs received      |    |
  2017.               +---------------+---------------+    |
  2018.               |       # of RAPs received      |    |
  2019.               +---------------+---------------+    |
  2020.               |       # of NXSs received      |    |
  2021.               +---------------+---------------+    |
  2022.            35 |       # of NXRs received      |    |
  2023.               +---------------+---------------+    |
  2024.               |       # of RSTs received      |    v
  2025.               +---------------+---------------+ ----
  2026.  
  2027.  
  2028.                               -33-
  2029.  
  2030.  
  2031. IEN-197                                            September 1981
  2032.  
  2033.  
  2034. HMP FIELDS
  2035.  
  2036. System Type
  2037.  
  2038.      TAC = 3
  2039.  
  2040. Message Type
  2041.  
  2042.      TAC Throughput Message = 3
  2043.  
  2044. Port Number
  2045.  
  2046.      Unused
  2047.  
  2048. Sequence Number
  2049.  
  2050.      A 16 bit number  incremented  at  each  collection  interval
  2051.      (i.e.  when  a new throughput message is assembled).  The HM
  2052.      will be  able  to  detect  lost  or  duplicate  messages  by
  2053.      checking the sequence numbers.
  2054.  
  2055. Returned Sequence Number
  2056.  
  2057.      Contains  the  sequence  number  from  the  polling  message
  2058.      requesting this report.
  2059.  
  2060. TAC THROUGHPUT FIELDS
  2061.  
  2062. Mess-time
  2063.  
  2064.      The time (in 640ms. units) at which the message was sent  to
  2065.      the HM.
  2066.  
  2067. Data-Time
  2068.  
  2069.      Data-time is the time (in 640ms. units)  when  this  set  of
  2070.      data was collected.  (See Description.)
  2071.  
  2072. Prev-Time
  2073.  
  2074.      Prev-time is the time (in 640 ms.  units)  of  the  previous
  2075.      collection of data (and therefore, is the time when the data
  2076.      in this message began accumulating.)
  2077.  
  2078. Version Number
  2079.  
  2080.      The TAC's software version number.
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.                               -34-
  2087.  
  2088.  
  2089. IEN-197                                            September 1981
  2090.  
  2091.  
  2092. Last Trap Message
  2093.  
  2094.      Contains the sequence number of the last trap  message  sent
  2095.      to  the  HM.  This will allow the HM to detect how many trap
  2096.      messages are being lost.
  2097.  
  2098.  
  2099.  
  2100. Bit Flags
  2101.  
  2102.      There are sixteen bit  flags  available  for  reporting  the
  2103.      state  of  various  switches  (hardware and software) in the
  2104.      TAC.  The bits are numbered as follows for purposes  of  the
  2105.      discussion below.
  2106.  
  2107.  
  2108.                  1         1   0 0             0
  2109.                  5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  2110.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2111.                 | | | | | | | | | | | | | | | | |
  2112.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2113.  
  2114.  
  2115.  
  2116.           The bit flags report the status of the following:
  2117.  
  2118.           Bit         Meaning
  2119.           0           0 => DDT override off; 1 => override on.
  2120.           1-4         0 => Sense Switch n is off; 1 => SSn on.
  2121.           5           0 => Extended DDT not enabled;
  2122.                         1 => Extended DDT enabled.
  2123.           6           0 => Traps going to console;
  2124.                         1 => Traps going to remote monitor.
  2125.           7-15        unused
  2126.  
  2127.  
  2128.  
  2129. Free PDB count
  2130.  
  2131.      The number of PDBs on the free queue.
  2132.  
  2133. Free MBLK count
  2134.  
  2135.      The number of MBLKs on the free queue.
  2136.  
  2137. # of TCP connections
  2138. # of NCP connections
  2139.  
  2140.      The number of open connections for each protocol.
  2141.  
  2142.  
  2143.  
  2144.                               -35-
  2145.  
  2146.  
  2147. IEN-197                                            September 1981
  2148.  
  2149.  
  2150. 1822 info.
  2151.  
  2152.      These  six  fields  report  statistics  which  concern   the
  2153.      operation  of  the  1822 protocol module, i.e. the interface
  2154.      between the TAC and its IMP.
  2155.  
  2156. IP info.
  2157.  
  2158.      These four fields report statistics which  concern  Internet
  2159.      Protocol in the TAC.
  2160.  
  2161. TCP info.
  2162.  
  2163.      These  six  fields  report  statistics  which  concern   TCP
  2164.      protocol in the TAC.
  2165.  
  2166. NCP info.
  2167.  
  2168.      These eleven fields  report  statistics  which  concern  NCP
  2169.      protocol in the TAC.
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.                               -36-
  2203.  
  2204.  
  2205.