home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 900s / rfc926.txt < prev    next >
Text File  |  1992-09-21  |  166KB  |  6,130 lines

  1.  
  2.  
  3.  
  4.  
  5. Network Working Group                                                ISO
  6. Request for Comments: 926                                  December 1984
  7.  
  8.  
  9.  
  10.     Protocol for Providing the Connectionless-Mode Network Services
  11.  
  12.                          (Informally - ISO IP)
  13.  
  14.                               ISO DIS 8473
  15.  
  16. Status of this Memo:
  17.  
  18.  This document is distributed as an RFC for information only.  It does
  19.  not specify a standard for the ARPA-Internet.  Distribution of this
  20.  memo is unlimited.
  21.  
  22. Note:
  23.  
  24.  This document has been prepared by retyping the text of ISO DIS 8473 of
  25.  May 1984, which is currently undergoing voting within ISO as a Draft
  26.  International Standard (DIS).  Although this RFC has been reviewed
  27.  after typing, and is believed to be substantially correct, it is
  28.  possible that typographic errors not present in the ISO document have
  29.  been overlooked.
  30.  
  31.  Alex McKenzie
  32.  BBN
  33.  
  34.  
  35.  
  36.  
  37.  
  38. RFC 926                                                    December 1984
  39.  
  40.  
  41.  
  42.  
  43.  
  44. RFC 926                                                    December 1984
  45.  
  46.  
  47.                            TABLE OF CONTENTS
  48.  
  49.  1   SCOPE AND FIELD OF APPLICATION........................ 2
  50.  
  51.  2   REFERENCES............................................ 3
  52.  
  53.  3   DEFINITIONS........................................... 4
  54.  3.1   Reference Model Definitions......................... 4
  55.  3.2   Service Conventions Definitions..................... 4
  56.  3.3   Network Layer Architecture Definitions.............. 4
  57.  3.4   Network Layer Addressing Definitions................ 5
  58.  3.5   Additional Definitions.............................. 5
  59.  
  60.  4   SYMBOLS AND ABBREVIATIONS............................. 7
  61.  4.1   Data Units.......................................... 7
  62.  4.2   Protocol Data Units................................. 7
  63.  4.3   Protocol Data Unit Fields........................... 7
  64.  4.4   Parameters.......................................... 8
  65.  4.5   Miscellaneous....................................... 8
  66.  
  67.  5   OVERVIEW OF THE PROTOCOL.............................. 9
  68.  5.1   Internal Organization of the Network Layer.......... 9
  69.  5.2   Subsets of the Protocol............................. 9
  70.  5.3   Addressing......................................... 10
  71.  5.4   Service Provided by the Network Layer.............. 10
  72.  5.5   Service Assumed from the Subnetwork Service
  73.     Provider.............................................. 11
  74.  5.5.1   Subnetwork Addresses............................. 12
  75.  5.5.2   Subnetwork Quality of Service.................... 12
  76.  5.5.3   Subnetwork User Data............................. 13
  77.  5.5.4   Subnetwork Dependent Convergence Functions....... 13
  78.  5.6   Service Assumed from Local Evironment.............. 14
  79.  
  80.  6   PROTOCOL FUNCTIONS................................... 16
  81.  6.1   PDU Composition Function........................... 16
  82.  6.2   PDU Decomposition Function......................... 17
  83.  6.3   Header Format Analysis Function.................... 17
  84.  6.4   PDU Lifetime Control Function...................... 18
  85.  6.5   Route PDU Function................................. 18
  86.  6.6   Forward PDU Function............................... 19
  87.  6.7   Segmentation Function.............................. 19
  88.  6.8   Reassembly Function................................ 20
  89.  6.9   Discard PDU Function............................... 21
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96. ISO DIS 8473 (May 1984)                                         [Page i]
  97.  
  98.  
  99.  
  100.  
  101.  
  102. RFC 926                                                    December 1984
  103.  
  104.  
  105.  6.10   Error Reporting Function.......................... 22
  106.  6.10.1   Overview........................................ 22
  107.  6.10.2   Requirements.................................... 23
  108.  6.10.3   Processing of Error Reports..................... 24
  109.  6.11   PDU Header Error Detection........................ 25
  110.  6.12   Padding Function.................................. 26
  111.  6.13   Security.......................................... 26
  112.  6.14   Source Routing Function........................... 27
  113.  6.15   Record Route Function............................. 28
  114.  6.16   Quality of Service Maintenance Function........... 29
  115.  6.17   Classification of Functions....................... 29
  116.  
  117.  7   STRUCTURE AND ENCODING OF PDUS....................... 32
  118.  7.1   Structure.......................................... 32
  119.  7.2   Fixed Part......................................... 34
  120.  7.2.1   General.......................................... 34
  121.  7.2.2   Network Layer Protocol Identifier................ 34
  122.  7.2.3   Length Indicator................................. 35
  123.  7.2.4   Version/Protocol Identifier Extension............ 35
  124.  7.2.5   PDU Lifetime..................................... 35
  125.  7.2.6   Flags............................................ 36
  126.  7.2.6.1   Segmentation Permitted and More Segments Flags. 36
  127.  7.2.6.2   Error Report Flag.............................. 37
  128.  7.2.7   Type Code........................................ 37
  129.  7.2.8   PDU Segment Length............................... 37
  130.  7.2.9   PDUChecksum...................................... 38
  131.  7.3   Address Part....................................... 38
  132.  7.3.1   General.......................................... 38
  133.  7.3.1.1     Destination and Source Address Information... 39
  134.  
  135.  7.4   Segmentation Part.................................. 40
  136.  7.4.1   Data Unit Identifier............................. 41
  137.  7.4.2   Segment Offset................................... 41
  138.  7.4.3   PDU Total Length................................. 41
  139.  7.5   Options Part....................................... 41
  140.  7.5.1   General.......................................... 41
  141.  7.5.2   Padding.......................................... 43
  142.  7.5.3   Security......................................... 43
  143.  7.5.4   Source Routing................................... 44
  144.  7.5.5   Recording of Route............................... 45
  145.  7.5.6   Quality of Service Maintenance................... 46
  146.  7.6   Priority........................................... 47
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154. ISO DIS 8473 (May 1984)                                        [Page ii]
  155.  
  156.  
  157.  
  158.  
  159.  
  160. RFC 926                                                    December 1984
  161.  
  162.  
  163.  7.7   Data Part.......................................... 47
  164.  7.8   Data (DT) PDU...................................... 49
  165.  7.8.1   Structure........................................ 49
  166.  7.8.1.1   Fixed Part..................................... 50
  167.  7.8.1.2   Addresses...................................... 50
  168.  7.8.1.3   Segmentation................................... 50
  169.  7.8.1.4   Options........................................ 50
  170.  7.8.1.5   Data........................................... 50
  171.  7.9   Inactive Network Layer Protocol.................... 51
  172.  7.9.1   Network Layer Protocol Id........................ 51
  173.  7.9.2   Data Field....................................... 51
  174.  7.10   Error Report PDU (ER)............................. 52
  175.  7.10.1   Structure....................................... 52
  176.  7.10.1.1   Fixed Part.................................... 53
  177.  7.10.1.2   Addresses..................................... 53
  178.  7.10.1.3   Segmentation.................................. 53
  179.  7.10.1.4   Options....................................... 54
  180.  7.10.1.5   Reason for Discard............................ 54
  181.  7.10.1.6   Error Report Data Field....................... 55
  182.  
  183.  8   FORMAL DESCRIPTION................................... 56
  184.  8.1   Values of the State Variable....................... 57
  185.  8.2   Atomic Events...................................... 57
  186.  8.2.1   N.UNITDATA_request and N.UNITDATA_indication..... 57
  187.  8.2.2   SN.UNITDATA_request and SN.UNITDATA_indication... 58
  188.  8.2.3   TIMER Atomic Events.............................. 59
  189.  8.3   Operation of the Finite State Automation........... 59
  190.  8.3.1   Type and Constant Definitions.................... 61
  191.  8.3.2   Interface Definitions............................ 65
  192.  8.3.3   Formal Machine Definition........................ 67
  193.  
  194.  9   CONFORMANCE.......................................... 84
  195.  9.1   Provision of Functions for Conformance............. 84
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212. ISO DIS 8473 (May 1984)                                       [Page iii]
  213.  
  214.  
  215.  
  216.  
  217.  
  218. RFC 926                                                    December 1984
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. ISO DIS 8473 (May 1984)                                        [Page iv]
  271.  
  272.  
  273.  
  274.  
  275.  
  276. RFC 926                                                    December 1984
  277.  
  278.  
  279. INTRODUCTION
  280.  
  281.  This Protocol is one of a set of International Standards produced to
  282.  facilitate the interconnection of open systems. The set of standards
  283.  covers the services and protocols required to achieve such
  284.  interconnection.
  285.  
  286.  This Protocol Standard is positioned with respect to other related
  287.  standards by the layers defined in the Reference Model for Open Systems
  288.  Interconnection (ISO 7498). In particular, it is a protocol of the
  289.  Network Layer. The Protocol herein described is a Subnetwork
  290.  Independent Convergence Protocol combined with relay and routing
  291.  functions as described in the Internal Organization of the Network
  292.  Layer (ISO iiii). This Protocol provides the connectionless-mode
  293.  Network Service as defined in ISO 8348/DAD1, Addendum to the Network
  294.  Service Definition Covering Connectionless-mode Transmission, between
  295.  Network Service users and/or Network Layer relay systems.
  296.  
  297.  The interrelationship of these standards is illustrated in Figure 0-1
  298.  below:
  299.  
  300.       ______________OSI Network Service Definition______________  
  301.                     |                             ^               
  302.                                                   |               
  303.                     |                             |               
  304.          Protocol     Reference to aims __________|               
  305.                     |                                             
  306.                                                                   
  307.       Specification | Reference to assumptions ___                
  308.                                                   |               
  309.                     |                             |               
  310.                                                   |               
  311.                     |                             |               
  312.                                                   |               
  313.                     |                             v               
  314.       ______________Subnetwork Service Definition(s) ___________  
  315.  
  316.               Figure 0-1.  Interrelationship of Standards
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328. ISO DIS 8473 (May 1984)                                         [Page 1]
  329.  
  330.  
  331.  
  332.  
  333.  
  334. RFC 926                                                    December 1984
  335.  
  336.  
  337. 1  SCOPE AND FIELD OF APPLICATION
  338.  
  339.  This International Standard specifies a protocol which is used to
  340.  provide the Connectionless-mode Network Service as described in ISO
  341.  8348/DAD1, Addendum to the Network Service Definition Covering
  342.  Connectionless-mode Transmission. The protocol herein described relies
  343.  upon the provision of a connectionless-mode subnetwork service.
  344.  
  345.  This Standard specifies:
  346.  
  347.   a)  procedures for the connectionless transmission of data and control
  348.       information from one network-entity to a peer network-entity;
  349.  
  350.   b)  the encoding of the protocol data units used for the transmission
  351.       of data and control information, comprising a variable-length
  352.       protocol header format;
  353.  
  354.   c)  procedures for the correct interpretation of protocol control
  355.       information; and
  356.  
  357.   d)  the functional requirements for implementations claiming
  358.       conformance to the Standard.
  359.  
  360.  The procedures are defined in terms of:
  361.  
  362.   a)  the interactions among peer network-entities through the exchange
  363.       of protocol data units;
  364.  
  365.   b)  the interactions between a network-entity and a Network Service
  366.       user through the exchange of Network Service primitives; and
  367.  
  368.   c)  the interactions between a network-entity and a subnetwork service
  369.       provider through the exchange of subnetwork service primitives.
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386. ISO DIS 8473 (May 1984)                                         [Page 2]
  387.  
  388.  
  389.  
  390.  
  391.  
  392. RFC 926                                                    December 1984
  393.  
  394.  
  395. 2  REFERENCES
  396.  
  397.  ISO 7498       Information Processing Systems - Open Systems
  398.                 Interconnection - Basic Reference Model
  399.  
  400.  DP 8524        Information Processing Systems - Open Systems
  401.                 Interconnection - Addendum to ISO 7498 Covering
  402.                 Connectionless-Mode Transmission
  403.  
  404.  DIS 8348       Information Processing Systems - Data Communications -
  405.                 Network Service Definition
  406.  
  407.  ISO 8348/DAD1  Information Processing Systems - Data Communications -
  408.                 Addendum to the Network Service Definition Covering
  409.                 Connectionless-Mode Transmission
  410.  
  411.  ISO 8348/DAD2  Information Processing Systems - Data Communications -
  412.                 Addendum to the Network Service Definition Covering
  413.                 Network Layer Addressing
  414.  
  415.  DP iiii        Information Processing Systems - Data Communications -
  416.                 Internal Organization of the Network Layer
  417.  
  418.  DP 8509        Information Processing Systems - Open Systems
  419.                 Interconnection - Service Conventions
  420.  
  421.  ISO TC97/SC16  A Formal Description Technique based on an N1825
  422.                 Extended State Transition Model
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444. ISO DIS 8473 (May 1984)                                         [Page 3]
  445.  
  446.  
  447.  
  448.  
  449.  
  450. RFC 926                                                    December 1984
  451.  
  452.  
  453. SECTION ONE.  GENERAL
  454.  
  455. 3  DEFINITIONS
  456.  
  457.  3.1  Reference Model Definitions
  458.  
  459.   This document makes use of the following concepts defined in ISO 7498:
  460.  
  461.    a) Network layer
  462.    b) Network service
  463.    c) Network service access point
  464.    d) network service access point address
  465.    e) Network entity
  466.    f) Routing
  467.    f) Service
  468.    h) Network protocol
  469.    i) Network relay
  470.    j) Network protocol data unit
  471.    k) End system
  472.  
  473.  3.2  Service Conventions Definitions
  474.  
  475.   This document makes use of the following concepts from the OSI Service
  476.   Conventions (ISO 8509):
  477.  
  478.    l) Service user
  479.    m) Service provider
  480.  
  481.  3.3  Network Layer Architecture Definitions
  482.  
  483.   This document makes use of the following concepts from the Internal
  484.   Organization of the Network Layer (ISO iiii):
  485.  
  486.    n) Subnetwork
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502. ISO DIS 8473 (May 1984)                                         [Page 4]
  503.  
  504.  
  505.  
  506.  
  507.  
  508. RFC 926                                                    December 1984
  509.  
  510.  
  511.    o) Relay system
  512.    p) Intermediate system
  513.    q) Subnetwork service
  514.  
  515.  3.4  Network Layer Addressing Definitions
  516.  
  517.   This document makes use of the following concepts from DIS 8348/DAD2,
  518.   Addendum to the Network Service Definition Covering Network layer
  519.   addressing:
  520.  
  521.    r) Network entity title
  522.    s) Network protocol address information
  523.    t) Subnetwork address
  524.    u) Domain
  525.  
  526.  3.5  Additional Definitions
  527.  
  528.   For the purposes of this document, the following definitions apply:
  529.  
  530.    a) automaton    -  a machine designed to follow automatically a
  531.                       predetermined sequence of operations or to respond
  532.                       to encoded instructions.
  533.  
  534.    b) local matter -  a decision made by a system concerning its
  535.                       behavior in the Network Layer that is not subject
  536.                       to the requirements of this Protocol.
  537.  
  538.    c) segment      -  part of the user data provided in the N_UNITDATA
  539.                       request and delivered in the N_UNITDATA
  540.                       indication.
  541.  
  542.    d) initial PDU  -  a protocol data unit carrying the whole of the
  543.                       user data from an N_UNITDATA request.
  544.  
  545.    e) derived PDU  -  a  protocol data unit whose fields are identical
  546.                       to those of an initial PDU, except that it carries
  547.                       only a segment of the user data from an N_UNITDATA
  548.                       request.
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560. ISO DIS 8473 (May 1984)                                         [Page 5]
  561.  
  562.  
  563.  
  564.  
  565.  
  566. RFC 926                                                    December 1984
  567.  
  568.  
  569.    f) segmentation -  the act of generating two or more derived PDUS
  570.                       from an initial or derived PDU.  The derived PDUs
  571.                       together carry the entire user data of the initial
  572.                       or derived PDU from which they were generated.
  573.                       [Note: it is possible that such an initial PDU
  574.                       will never actually be generated for a particular
  575.                       N_UNITDATA request, owing to the immediate
  576.                       application of segmentation.]
  577.  
  578.    g) reassembly   -  the act of regenerating an initial PDU (in order
  579.                       to issue an N_UNITDATA indication) from two or
  580.                       more derived PDUs produced by segmentation.
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618. ISO DIS 8473 (May 1984)                                         [Page 6]
  619.  
  620.  
  621.  
  622.  
  623.  
  624. RFC 926                                                    December 1984
  625.  
  626.  
  627. 4  SYMBOLS AND ABBREVIATIONS
  628.  
  629.  4.1  Data Units
  630.  
  631.   PDU          Protocol Data Unit
  632.   NSDU         Network Service Data Unit
  633.   SNSDU        Subnetwork Service Data Unit
  634.  
  635.  4.2  Protocol Data Units
  636.  
  637.   DT PDU       Data Protocol Data Unit
  638.   ER PDU       Error Report Protocol Data Unit
  639.  
  640.  4.3  Protocol Data Unit Fields
  641.  
  642.   NPID         Network Layer Protocol Identifier
  643.   LI           Length Indicator
  644.   V/P          Version/protocol Identifier Extension
  645.   LT           Lifetime
  646.   SP           Segmentation Permitted Flag
  647.   MS           More Segments Flag
  648.   E/R          Error Report Flag
  649.   TP           Type
  650.   SL           Segment Length
  651.   CS           Checksum
  652.   DAL          Destination Address Length
  653.   DA           Destination Address
  654.   SAL          Source Address Length
  655.   SA           Source Address
  656.   DUID         Data Unit Identifier
  657.   SO           Segment Offset
  658.   TL           Total Length
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676. ISO DIS 8473 (May 1984)                                         [Page 7]
  677.  
  678.  
  679.  
  680.  
  681.  
  682. RFC 926                                                    December 1984
  683.  
  684.  
  685.  4.4  Parameters
  686.  
  687.   DA           Destination Address
  688.   SA           Source Address
  689.   QOS          Quality of Service
  690.  
  691.  4.5  Miscellaneous
  692.  
  693.   SNICP        Subnetwork Independent Convergence Protocol
  694.   SNDCP        Subnetwork Dependent Convergence Protocol
  695.   SNAcP        Subnetwork Access Protocol
  696.   SN           Subnetwork
  697.   P            Protocol
  698.   NSAP         Network Service Access Point
  699.   SNSAP        Subnetwork Service Access Point
  700.   NPAI         Network Protocol Address Information
  701.   NS           Network Service
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734. ISO DIS 8473 (May 1984)                                         [Page 8]
  735.  
  736.  
  737.  
  738.  
  739.  
  740. RFC 926                                                    December 1984
  741.  
  742.  
  743. 5  OVERVIEW OF THE PROTOCOL
  744.  
  745.  5.1  Internal Organization of the Network Layer
  746.  
  747.   The architecture of the Network Layer is described in a separate
  748.   document, Internal Organization of the Network Layer (ISO iiii), in
  749.   which an OSI Network Layer structure is defined, and a structure to
  750.   classify protocols as an aid to the progression toward that structure
  751.   is presented. This protocol is designed to be used in the context of
  752.   the internetworking protocol approach defined in that document,
  753.   between Network Service users and/or Network Layer relay systems. As
  754.   described in the Internal Organization of the Network Layer, the
  755.   protocol herein described is a Subnetwork Independent Convergence
  756.   Protocol combined with relay and routing functions designed to allow
  757.   the incorporation of existing network standards within the OSI
  758.   framework.
  759.  
  760.   A Subnetwork Independent Convergence Protocol is one which can be
  761.   defined on a subnetwork independent basis and which is necessary to
  762.   support the uniform appearance of the OSI Connectionless-mode Network
  763.   Service between Network Service users and/or Network Layer relay
  764.   systems over a set of interconnected homogeneous or heterogeneous
  765.   subnetworks. This protocol is defined in just such a subnetwork
  766.   independent way so as to minimize variability where subnetwork
  767.   dependent and/or subnetwork access protocols do not provide the OSI
  768.   Network Service.
  769.  
  770.   The subnetwork service required from the lower sublayers by the
  771.   protocol described herein is identified in Section 5.5.
  772.  
  773.  5.2  Subsets of the Protocol
  774.  
  775.   Two proper subsets of the full protocol are also defined which permit
  776.   the use of known subnetwork characteristics, and are therefore not
  777.   subnetwork independent.
  778.  
  779.   One protocol subset is for use where it is known that the source and
  780.   destination end-systems are connected by a single subnetwork. This is
  781.   known as the "Inactive Network Layer Protocol" subset. A second subset
  782.   permits simplification of the header where it is known that the source
  783.   and destination end-systems are connected by subnetworks whose
  784.   subnetwork service data unit (SNSDU) sizes are greater than or equal
  785.   to a known bound large enough for segmentation not to be required.
  786.   This subset, selected by setting the "segmentation permitted" flag to
  787.   zero, is known as the "non-segmenting" protocol subset.
  788.  
  789.  
  790.  
  791.  
  792. ISO DIS 8473 (May 1984)                                         [Page 9]
  793.  
  794.  
  795.  
  796.  
  797.  
  798. RFC 926                                                    December 1984
  799.  
  800.  
  801.  5.3  Addressing
  802.  
  803.   The Source Address and Destination Address parameters referred to in
  804.   Section 7.3 of this International Standard are OSI Network Service
  805.   Access Point Addresses. The syntax and semantics of an OSI Network
  806.   Service Access Point Address, the syntax and encoding of the Network
  807.   Protocol Address Information employed by this Protocol, and the
  808.   relationship between the NSAP and the NPAI is described in a separate
  809.   document, ISO 8348/DAD2, Addendum to the Network Service Definition
  810.   covering Network Layer Addressing.
  811.  
  812.   The syntax and semantics of the titles and addresses used for relaying
  813.   and routing are also described in ISO 8348/DAD2.
  814.  
  815.  5.4  Service Provided by the Network Layer
  816.  
  817.   The service provided by the protocol herein described is a
  818.   connectionless-mode Network Service. The connectionless-mode Network
  819.   Service is described in document ISO 8348/DAD1, Addendum to the
  820.   Network Service Definition Covering Connectionless-mode Transmission.
  821.   The Network Service primitives provided are summarized below:
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850. ISO DIS 8473 (May 1984)                                        [Page 10]
  851.  
  852.  
  853.  
  854.  
  855.  
  856. RFC 926                                                    December 1984
  857.  
  858.  
  859.                  Primitives                Parameters          
  860.       +--------------------------------------------------------+ 
  861.       |                           |                            | 
  862.       | N_UNITDATA Request        | NS_Destination_Address,    | 
  863.       |            Indication     | NS_Source_Address,         | 
  864.       |                           | NS_Quality_of_Service,     | 
  865.       |                           | NS_Userdata                | 
  866.       +--------------------------------------------------------+ 
  867.  
  868.                  Table 5-1.  Network Service Primitives
  869.  
  870.   The Addendum to the Network Service Definition Covering
  871.   Connectionless-mode Transmission (ISO 8348/DAD1) states that the
  872.   maximum size of a connectionless-mode Network-service-data-unit is
  873.   limited to 64512 octets.
  874.  
  875.  5.5  Service Assumed from the Subnetwork Service provider
  876.  
  877.   The subnetwork service required to support this protocol is defined as
  878.   comprising the following primitives:
  879.  
  880.                 Primitives                  Parameters           
  881.       +--------------------------------------------------------+ 
  882.       |                           |                            | 
  883.       | SN_UNITDATA Request       | SN_Destination_Address,    | 
  884.       |             Indication    | SN_Source_Address,         | 
  885.       |                           | SN_Quality_of_Service,     | 
  886.       |                           | SN_Userdata                | 
  887.       +--------------------------------------------------------+ 
  888.  
  889.                Table 5-2.  Subnetwork Service Primitives
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908. ISO DIS 8473 (May 1984)                                        [Page 11]
  909.  
  910.  
  911.  
  912.  
  913.  
  914. RFC 926                                                    December 1984
  915.  
  916.  
  917.   5.5.1  Subnetwork Addresses
  918.  
  919.    The source and destination addresses specify the points of attachment
  920.    to a public or private subnetwork(s) involved in the transmission.
  921.    Subnetwork addresses are defined in the Service Definition of each
  922.    individual subnetwork.
  923.  
  924.    The syntax and semantics of subnetwork addresses are not defined in
  925.    this Protocol Standard.
  926.  
  927.   5.5.2  Subnetwork Quality of Service
  928.  
  929.    Subnetwork Quality of Service describes aspects of a subnetwork
  930.    connectionless-mode service which are attributable solely to the
  931.    subnetwork service provider.
  932.  
  933.    Associated with each subnetwork connectionless-mode transmission,
  934.    certain measures of quality of service are requested when the
  935.    primitive action is initiated. These requested measures (or parameter
  936.    values and options) are based on a priori knowledge by the Network
  937.    Service provider of the service(s) made available to it by the
  938.    subnetwork. Knowledge of the nature and type of service available is
  939.    typically obtained prior to an invocation of the subnetwork
  940.    connectionless-mode service.
  941.  
  942.     Note:
  943.  
  944.      The quality of service parameters identified for the subnetwork
  945.      connectionless-mode service may in some circumstances be directly
  946.      derivable from or mappable onto those identified in the
  947.      connectionless-mode Network Service; e.g., the parameters
  948.  
  949.       a)  transit delay;
  950.       b)  protection against unauthorized access;
  951.       c)  cost determinants;
  952.       d)  priority; and
  953.       e)  residual error probability
  954.  
  955.      as defined in ISO 8348/DAD1, Addendum to the Network Service
  956.      Definition Covering Connectionless-mode Transmission, may be
  957.      employed.
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966. ISO DIS 8473 (May 1984)                                        [Page 12]
  967.  
  968.  
  969.  
  970.  
  971.  
  972. RFC 926                                                    December 1984
  973.  
  974.  
  975.      For those subnetworks which do not inherently provide Quality of
  976.      Service as a parameter when the primitive action is initiated, it
  977.      is a local matter as to how the semantics of the service requested
  978.      might be preserved. In particular, there may be instances in which
  979.      the Quality of Service requested cannot be maintained. In such
  980.      circumstances, the subnetwork service provider shall attempt to
  981.      deliver the protocol data unit at whatever Quality of Service is
  982.      available.
  983.  
  984.   5.5.3  Subnetwork User Data
  985.  
  986.    The SN_Userdata is an ordered multiple of octets, and is transferred
  987.    transparently between the specified subnetwork service access points.
  988.  
  989.    The subnetwork service is required to support a subnetwork service
  990.    data unit size of at least the maximum size of the Data PDU header
  991.    plus one octet of NS-Userdata. This requires a minimum subnetwork
  992.    service data unit size of 256 octets.
  993.  
  994.    Where the subnetwork service can support a subnetwork service data
  995.    unit (SNSDU) size greater than the size of the Data PDU header plus
  996.    one octet of NS_Userdata, the protocol may take advantage of this. In
  997.    particular, if all SNSDU sizes of the subnetworks involved are known
  998.    to be large enough that segmentation is not required, then the
  999.    "non-segmenting" protocol subset may be used.
  1000.  
  1001.   5.5.4  Subnetwork Dependent Convergence Functions
  1002.  
  1003.    Subnetwork Dependent Convergence Functions may be performed to
  1004.    provide a connectionless-mode subnetwork service in the case where
  1005.    subnetworks also provide a connection-oriented subnetwork service. If
  1006.    a subnetwork provides a connection-oriented service, some subnetwork
  1007.    dependent function is assumed to provide a mapping into the required
  1008.    subnetwork service described in the preceding text.
  1009.  
  1010.    A Subnetwork Dependent Convergence Protocol may also be employed in
  1011.    those cases where functions assumed from the subnetwork service
  1012.    provider are not performed.
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024. ISO DIS 8473 (May 1984)                                        [Page 13]
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030. RFC 926                                                    December 1984
  1031.  
  1032.  
  1033.  5.6  Service Assumed from Local Evironment
  1034.  
  1035.   A timer service is provided to allow the protocol entity to schedule
  1036.   events.
  1037.  
  1038.   There are three primitives associated with the S_TIMER service:
  1039.  
  1040.    1)  the S-TIMER request;
  1041.  
  1042.    2)  the S_TIMER response; and
  1043.  
  1044.    3)  the S_TIMER cancel.
  1045.  
  1046.   The S_TIMER request primitive indicates to the local environment that
  1047.   it should initiate a timer of the specified name and subscript and
  1048.   maintain it for the duration specified by the time parameter.
  1049.  
  1050.   The S_TIMER response primitive is initiated by the local environment
  1051.   to indicate that the delay requested by the corresponding S_TIMER
  1052.   request primitive has elapsed.
  1053.  
  1054.   The S_TIMER cancel primitive is an indication to the local environment
  1055.   that the specified timer(s) should be cancelled. If the subscript
  1056.   parameter is not specified, then all timers with the specified name
  1057.   are cancelled; otherwise, the timer of the given name and subscript is
  1058.   cancelled. If no timers correspond to the parameters specified, the
  1059.   local environment takes no action.
  1060.  
  1061.   The parameters of the S_TIMER service primitives are:
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082. ISO DIS 8473 (May 1984)                                        [Page 14]
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088. RFC 926                                                    December 1984
  1089.  
  1090.  
  1091.             Primitives                  Parameters             
  1092.       +--------------------------------------------------------+ 
  1093.       |                           |                            | 
  1094.       | S_TIMER Request           | S_Time                     | 
  1095.       |                           | S_Name                     | 
  1096.       |                           | S_Subscript                | 
  1097.       |                           |                            | 
  1098.       | S_TIMER Response          | S_Name                     | 
  1099.       |         Cancel            | S_Subscript                | 
  1100.       +--------------------------------------------------------+ 
  1101.  
  1102.                       Table 5-3.  Timer Primitives
  1103.  
  1104.   The time parameter indicates the time duration of the specified timer.
  1105.   An identifying label is associated with a timer by means of the name
  1106.   parameter. The subscript parameter specifies a value to distinguish
  1107.   timers with the same name. The name and subscript taken together
  1108.   constitute a unique reference to the timer.
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140. ISO DIS 8473 (May 1984)                                        [Page 15]
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146. RFC 926                                                    December 1984
  1147.  
  1148.  
  1149. SECTION TWO.  SPECIFICATION OF THE PROTOCOL
  1150.  
  1151. 6  PROTOCOL FUNCTIONS
  1152.  
  1153.  This section describes the functions performed as part of the Protocol.
  1154.  
  1155.  Not all of the functions must be performed by every implementation.
  1156.  Section 6.17 specifies which functions may be omitted and the correct
  1157.  behavior where requested functions are not implemented.
  1158.  
  1159.  6.1  PDU Composition Function
  1160.  
  1161.   This function is responsible for the construction of a protocol data
  1162.   unit according to the rules of protocol given in Section 7. Protocol
  1163.   Control Information required for delivering the data unit to its
  1164.   destination is determined from current state information and from the
  1165.   parameters provided with the N_UNITDATA Request; e.g., source and
  1166.   destination addresses, QOS, etc. User data passed from the Network
  1167.   Service user in the N_UNITDATA Request forms the Data field of the
  1168.   protocol data unit.
  1169.  
  1170.   During the composition of the protocol data unit, a Data Unit
  1171.   Identifier is assigned to identify uniquely all segments of the
  1172.   corresponding NS_Userdata. The "Reassemble PDU" function considers
  1173.   PDUs to correspond to the same Initial PDU, and hence N_UNITDATA
  1174.   request, if they have the same Source and Destination Addresses and
  1175.   Data Unit Identifier.
  1176.  
  1177.   The Data Unit Identifier is available for ancillary functions such as
  1178.   error reporting. The originator of the PDU must choose the Data Unit
  1179.   Identifier so that it remains unique (for this Source and Destination
  1180.   Address pair) for the maximum lifetime of the PDU (or any Derived
  1181.   PDUs) in the network.
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198. ISO DIS 8473 (May 1984)                                        [Page 16]
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204. RFC 926                                                    December 1984
  1205.  
  1206.  
  1207.   During the composition of the PDU, a value of the total length of the
  1208.   PDU is determined by the originator and placed in the Total Length
  1209.   field of the PDU header. This field is not changed in any Derived PDU
  1210.   for the lifetime of the protocol data unit.
  1211.  
  1212.   Where the non-segmenting subset is employed, neither the Total Length
  1213.   field nor the Data Unit Identifier field is present. During the
  1214.   composition of the protocol data unit, a value of the total length of
  1215.   the PDU is determined by the originator and placed in the Segment
  1216.   Length field of the PDU header. This field is not changed for the
  1217.   lifetime of the PDU.
  1218.  
  1219.  6.2  PDU Decomposition Function
  1220.  
  1221.   This function is responsible for removing the Protocol Control
  1222.   Information from the protocol data unit. During this process,
  1223.   information pertinent to the generation of the N_UNITDATA Indication
  1224.   is retained. The data field of the PDU received is reserved until all
  1225.   segments of the original service data unit have been received; this is
  1226.   the NS_Userdata parameter of the N_UNITDATA Indication.
  1227.  
  1228.  6.3  Header Format Analysis Function
  1229.  
  1230.   This function determines whether the full Protocol described in this
  1231.   Standard is employed, or one of the defined proper subsets thereof. If
  1232.   the protocol data unit has a Network Layer Protocol Identifier
  1233.   indicating that this is a standard version of the Protocol, this
  1234.   function determines whether a PDU received has reached its destination
  1235.   using the destination address provided in the PDU is the same as the
  1236.   one which addresses an NSAP served by this network-entity, then the
  1237.   PDU has reached its destination; if not, it must be forwarded.
  1238.  
  1239.   If the protocol data unit has a Network Layer Protocol Identifier
  1240.   indicating that the Inactive Network Layer Protocol subset is in use,
  1241.   then no further analysis of the PDU header is required. The
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256. ISO DIS 8473 (May 1984)                                        [Page 17]
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262. RFC 926                                                    December 1984
  1263.  
  1264.  
  1265.   network-entity in this case determines that either the network address
  1266.   encoded in the network protocol address information of a supporting
  1267.   subnetwork protocol corresponds to a network Service Access Point
  1268.   address served by this network-entity, or that an error has occurred.
  1269.   If the subnetwork PDU has been delivered correctly, then the protocol
  1270.   data unit may be decomposed according to the procedure described for
  1271.   that particular subnetwork protocol.
  1272.  
  1273.  6.4  PDU Lifetime Control Function
  1274.  
  1275.   This function is used to enforce the maximum PDU lifetime. It is
  1276.   closely associated with the "Header Format Analysis" function. This
  1277.   function determines whether a PDU received may be forwarded or whether
  1278.   its assigned lifetime has expired, in which case it must be discarded.
  1279.  
  1280.   The operation of the Lifetime Control function depends upon the
  1281.   Lifetime field in the PDU header. This field contains, at any time,
  1282.   the remaining lifetime of the PDU (represented in units of 500
  1283.   Milliseconds). The Lifetime of the Initial PDU is determined by the
  1284.   originating network-entity, and placed in the Lifetime field of the
  1285.   PDU.
  1286.  
  1287.  6.5  Route PDU Function
  1288.  
  1289.   This function determines the network-entity to which a protocol data
  1290.   unit should be forwarded, using the destination NSAP address
  1291.   parameters, Quality of Service parameter, and/or other parameters. It
  1292.   determines the subnetwork which must be transited to reach that
  1293.   network-entity. Where segmentation occurs, it further determines which
  1294.   subnetwork(s) the segments may transit to reach that network-entity.
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314. ISO DIS 8473 (May 1984)                                        [Page 18]
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320. RFC 926                                                    December 1984
  1321.  
  1322.  
  1323.  6.6  Forward PDU Function
  1324.  
  1325.   This function issues a subnetwork service primitive (see Section 5.5)
  1326.   supplying the subnetwork identified by the "Route PDU" function with
  1327.   the protocol data unit as an SNSDU, and the address information
  1328.   required by that subnetwork to identify the "next" intermediate-system
  1329.   within the subnetwork-specific address domain.
  1330.  
  1331.   When an Error Report PDU is to be forwarded, and is longer than the
  1332.   maximum user data acceptable by the subnetwork, it shall be truncated
  1333.   to the maximum acceptable length ad forwarded with no other change.
  1334.   When a Data PDU is to be forwarded ad is longer than the maximum user
  1335.   data acceptable by the subnetwork, the Segmentation function is
  1336.   applied (See Section 6.7, which follows).
  1337.  
  1338.  6.7  Segmentation Function
  1339.  
  1340.   Segmentation is performed when the size of the protocol data unit is
  1341.   greater than the maximum size of the user data parameter field of the
  1342.   subnetwork service primitive.
  1343.  
  1344.   Segmentation consists of composing two or more new PDUs (Derived PDUs)
  1345.   from the PDU received. The PDU received may be the Initial PDU, or it
  1346.   may be a Derived PDU. The Protocol Control Information required to
  1347.   identify, route, and forward a PDU is duplicated in each PDU derived
  1348.   from the Initial PDU. The user data encapsulated within the PDU
  1349.   received is divided such that the Derived PDUs satisfy the size
  1350.   requirements of the user data parameter field of the subnetwork
  1351.   service primitive.
  1352.  
  1353.   Derived PDUs are identified as being from the same Initial PDU by
  1354.   means of
  1355.  
  1356.    a)  the source address,
  1357.  
  1358.    b)  the destination address, and
  1359.  
  1360.    c)  the data unit identifier.
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372. ISO DIS 8473 (May 1984)                                        [Page 19]
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378. RFC 926                                                    December 1984
  1379.  
  1380.  
  1381.   The following fields of the PDU header are used in conjunction with
  1382.   the Segmentation function:
  1383.  
  1384.    a)  Segment Offset - identifies at which octet in the data field of
  1385.        the Initial PDU the segment begins;
  1386.  
  1387.    b)  Segment Length - specifies the number of octets in the Derived
  1388.        PDU, including both header and data;
  1389.  
  1390.    c)  More Segments Flag - set to one if this Derived PDU does not
  1391.        contain, as its final octet of user data, the final octet of the
  1392.        Initial PDU; and
  1393.  
  1394.    d)  Total Length - specifies the entire length of the Initial PDU,
  1395.        including both header and data.
  1396.  
  1397.   Derived PDUs may be further segmented without constraining the routing
  1398.   of the individual Derived PDUs.
  1399.  
  1400.   A Segmentation Permitted flag is set to one to indicate that
  1401.   segmentation is permitted. If the Initial PDU is not to be segmented
  1402.   at any point during its lifetime in the network, the flag is set to
  1403.   zero.
  1404.  
  1405.   When the "Segmentation Permitted" flag is set to zero, the non-
  1406.   segmenting protocol subset is in use.
  1407.  
  1408.  6.8  Reassembly Function
  1409.  
  1410.   The Reassembly Function reconstructs the Initial PDU transmitted to
  1411.   the destination network-entity from the Derived PDUs generated during
  1412.   the lifetime of the Initial PDU.
  1413.  
  1414.   A bound on the time during which segments (Derived PDUs) of an Initial
  1415.   PDU will be held at a reassembly point is provided so that resources
  1416.   may be released when it is no longer expected that any outstanding
  1417.   segments of the Initial PDU will arrive at the reassembly point. When
  1418.   such an event occurs, segments (Derived PDUs) of the Initial PDU held
  1419.   at the reassembly point are discarded, the resources allocated for
  1420.   those segments are freed,
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430. ISO DIS 8473 (May 1984)                                        [Page 20]
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436. RFC 926                                                    December 1984
  1437.  
  1438.  
  1439.   and if selected, an Error Report is generated.
  1440.  
  1441.    Note:
  1442.  
  1443.     The design of the Segmentation and Reassembly functions is intended
  1444.     principally to be used such that reassembly takes place at the
  1445.     destination. However, other schemes which
  1446.  
  1447.      a)  interact with the routing algorithm to favor paths on which
  1448.          fewer segments are generated,
  1449.  
  1450.      b)  generate more segments than absolutely required in order to
  1451.          avoid additional segmentation at some subsequent point, or
  1452.  
  1453.      c)  allow partial/full reassembly at some point along the route
  1454.          where it is known that the subnetwork with the smallest PDU
  1455.          size has been transited
  1456.  
  1457.     are not precluded. The information necessary to enable the use of
  1458.     one of these alternative strategies may be made available through
  1459.     the operation of a Network Layer Management function.
  1460.  
  1461.     While the exact relationship between reassembly lifetime and PDU
  1462.     lifetime is a local matter, the reassembly algorithm must preserve
  1463.     the intent of the PDU lifetime. Consequently, the reassembly
  1464.     function must discard PDUs whose lifetime would otherwise have
  1465.     expired had they not been under the control of the reassembly
  1466.     function.
  1467.  
  1468.  6.9  Discard PDU Function
  1469.  
  1470.   This function performs all of the actions necessary to free the
  1471.   resources reserved by the network-entity in any of the following
  1472.   situations (Note: the list is not exhaustive):
  1473.  
  1474.    a)  A violation of protocol procedure has occurred.
  1475.  
  1476.    b)  A PDU is received whose checksum is inconsistent with its
  1477.        contents.
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488. ISO DIS 8473 (May 1984)                                        [Page 21]
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494. RFC 926                                                    December 1984
  1495.  
  1496.  
  1497.    c)  A PDU is received, but due to congestion, it cannot be processed.
  1498.  
  1499.    d)  A PDU is received whose header cannot be analyzed.
  1500.  
  1501.    e)  A PDU is received which cannot be segmented and cannot be
  1502.        forwarded because its length exceeds the maximum subnetwork
  1503.        service data unit size.
  1504.  
  1505.    f)  A PDU is received whose destination address is unreachable or
  1506.        unknown.
  1507.  
  1508.    g)  Incorrect or invalid source routing was specified. This may
  1509.        include a syntax error in the source routing field, and unknown
  1510.        or unreachable address in the source routing field, or a path
  1511.        which is not acceptable for other reasons.
  1512.  
  1513.    h)  A PDU is received whose PDU lifetime has expired or the lifetime
  1514.        expires during reassembly.
  1515.  
  1516.    i)  A PDU is received which contains an unsupported option.
  1517.  
  1518.  6.10  Error Reporting Function
  1519.  
  1520.   6.10.1  Overview
  1521.  
  1522.    This function causes the return of an Error Report PDU to the source
  1523.    network-entity when a protocol data unit is discarded. An "error
  1524.    report flag" in the original PDU is set by the source network-entity
  1525.    to indicate whether or not Error Report PDUs are to be returned.
  1526.  
  1527.    The Error Report PDU identifies the discarded PDU, specifies the type
  1528.    of error detected, and identifies the location at which the error was
  1529.    detected. Part or all of the discarded PDU is included in the data
  1530.    field of the Error Report PDU.
  1531.  
  1532.    The address of the originator of the Data Protocol Data Unit is
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546. ISO DIS 8473 (May 1984)                                        [Page 22]
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552. RFC 926                                                    December 1984
  1553.  
  1554.  
  1555.    conveyed as both the destination address of the Error Report PDU as
  1556.    well as the source address of the original Data PDU; the latter is
  1557.    contained in the Data field of the Error Report PDU. The address of
  1558.    the originator of the Error Report PDU is contained in the source
  1559.    address field of the header of the Error Report PDU.
  1560.  
  1561.     Note:
  1562.  
  1563.      Non-receipt of an Error Report PDU does not imply correct delivery
  1564.      of a PDU issued by a source network-entity.
  1565.  
  1566.   6.10.2  Requirements
  1567.  
  1568.    An Error Report PDU shall not be generated to report the discarding
  1569.    of a PDU that itself contains an Error Report.
  1570.  
  1571.    An Error Report PDU shall not be generated upon discarding of a PDU
  1572.    unless that PDU has the Error Report flag set to allow Error Reports.
  1573.  
  1574.    If a Data PDU is discarded, and has the Error Report flag set to
  1575.    allow Error Reports, an Error Report PDU shall be generated if the
  1576.    reason for discard (See Section 6.9)  is
  1577.  
  1578.     a)  destination address unreachable,
  1579.  
  1580.     b)  source routing failure,
  1581.  
  1582.     c)  unsupported options, or
  1583.  
  1584.     d)  protocol violation.
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604. ISO DIS 8473 (May 1984)                                        [Page 23]
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610. RFC 926                                                    December 1984
  1611.  
  1612.  
  1613.     Note:
  1614.  
  1615.      It is intended that this list shall include all nontransient
  1616.      reasons for discard; the list may therefore need to be amended or
  1617.      extended in the light of any changes made in the definitions of
  1618.      such reasons.
  1619.  
  1620.    If a Data PDU with the Error Report flag set to allow Error Reports
  1621.    is discarded for any other reason, an Error Report PDU may be
  1622.    generated (as an implementation option).
  1623.  
  1624.   6.10.3  Processing of Error Reports
  1625.  
  1626.    Error Report PDUs are forwarded by intermediate network-entities in
  1627.    the same way as Data PDUs. It is possible that an Error Report PDU
  1628.    may be longer than the maximum user data size of a subnetwork that
  1629.    must be traversed to reach the origin of the discarded PDU. In this
  1630.    case, the Forward PDU function shall truncate the PDU to the maximum
  1631.    size acceptable.
  1632.  
  1633.    The entire header of the discarded data unit shall be included in the
  1634.    data field of the Error Report PDU. Some or all of the data field of
  1635.    the discarded data unit may also be included.
  1636.  
  1637.     Note:
  1638.  
  1639.      Since the suppression of Error Report PDUs is controlled by the
  1640.      originating network-entity and not by the NS User, care should be
  1641.      exercised by the originator with regard to suppressing ER PDUs so
  1642.      that error reporting is not suppressed for every PDU generated.
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662. ISO DIS 8473 (May 1984)                                        [Page 24]
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668. RFC 926                                                    December 1984
  1669.  
  1670.  
  1671.  6.11  PDU Header Error Detection
  1672.  
  1673.   The PDU Header Error Detection function protects against failure of
  1674.   intermediate or end-system network-entities due to the processing of
  1675.   erroneous information in the PDU header. The function is realized by a
  1676.   checksum computed on the PDU header. The checksum is verified at each
  1677.   point at which the PDU header is processed. If PDU header fields are
  1678.   modified (for example, due to lifetime function), then the checksum is
  1679.   modified so that the checksum remains valid.
  1680.  
  1681.   An intermediate system network-entity must not recompute the checksum
  1682.   for the entire header, even if fields are modified.
  1683.  
  1684.    Note:
  1685.  
  1686.     This is to ensure that inadvertent modification of a header while a
  1687.     PDU is being processed by an intermediate system (for example, due
  1688.     to a memory fault) may still be detected by the PDU Header Error
  1689.     function.
  1690.  
  1691.   The use of this function is optional, and is selected by the
  1692.   originating network-entity. If the function is not used, the checksum
  1693.   field of the PDU header is set to zero.
  1694.  
  1695.   If the function is selected by the originating network-entity, the
  1696.   value of the checksum field causes the following formulae to be
  1697.   satisfied:
  1698.  
  1699.      L
  1700.    (SUM)     a   = 0  (modulo 255)
  1701.               i
  1702.      i=1
  1703.  
  1704.      L
  1705.    (SUM)     (L-i+1) a   = 0 (modulo 255)
  1706.                        i
  1707.      i=1
  1708.  
  1709.     Where L = the number of octets in the PDU header, and
  1710.           a = value of octet at position i.
  1711.            i
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720. ISO DIS 8473 (May 1984)                                        [Page 25]
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726. RFC 926                                                    December 1984
  1727.  
  1728.  
  1729.   When the function is in use, neither octet of the checksum field may
  1730.   be set to zero.
  1731.  
  1732.   Annex C contains descriptions of algorithms which may be used to
  1733.   calculate the correct value of the checksum field when the PDU is
  1734.   created, and to update the checksum field when the header is modified.
  1735.  
  1736.  6.12  Padding Function
  1737.  
  1738.   The padding function is provided to allow space to be reserved in the
  1739.   PDU header which is not used to support any other function. Octet
  1740.   alignment must be maintained.
  1741.  
  1742.    Note:
  1743.  
  1744.     An example of the use of this function is to cause the data field of
  1745.     a PDU to begin on a convenient boundary for the originating
  1746.     network-entity, such as a computer word boundary.
  1747.  
  1748.  6.13  Security
  1749.  
  1750.   An issue related to the quality of the network service is the
  1751.   protection of information flowing between transport-entities. A system
  1752.   may wish to control the distribution of secure data by assigning
  1753.   levels of security to PDUs. As a local consideration, the Network
  1754.   Service user could be authenticated to ascertain whether the user has
  1755.   permission to engage in communication at a particular security level
  1756.   before sending the PDU. While no protocol exchange is required in the
  1757.   authentication process, the optional security parameter in the options
  1758.   part of the PDU header may be employed to convey the particular
  1759.   security level between peer network-entities.
  1760.  
  1761.   The syntax and semantics of the security parameter are not specified
  1762.   by this Standard. The security parameter is related to the "protection
  1763.   from unauthorized access" Quality of service parameter described in
  1764.   ISO 8348/DAD1, Addendum to the Network Service Definition Covering
  1765.   Connectionless-mode Transmission. However, to facilitate
  1766.   interoperation between end-systems and relay-systems by avoiding
  1767.   different interpretations of the same encoding, a mechanism is
  1768.   provided to distinguish user-defined security encoding from
  1769.   standardized security encoding.
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778. ISO DIS 8473 (May 1984)                                        [Page 26]
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784. RFC 926                                                    December 1984
  1785.  
  1786.  
  1787.  6.14  Source Routing Function
  1788.  
  1789.   The Source Routing function allows the originator to specify the path
  1790.   a generated PDU must take. Source routing can only be selected by the
  1791.   originator of a PDU. Source Routing is accomplished using a list of
  1792.   intermediate system addresses (or titles, see Section 5.3 and 5.5.1)
  1793.   held in a parameter within the options part of the PDU Header. The
  1794.   size of the option field is determined by the originating
  1795.   network-entity. The length of this option does not change as the PDU
  1796.   traverses the network. Associated with this list is an indicator which
  1797.   identifies the next entry in the list to be used; this indicator is
  1798.   advanced by the receiver of the PDU when the next address matches its
  1799.   own address. The indicator is updated as the PDU is forwarded so as to
  1800.   identify the appropriate entry at each stage of relaying.
  1801.  
  1802.   Two forms of the source routing option are provided. The first form,
  1803.   referred to as complete source routing, requires that the specified
  1804.   path must be taken; if the specified path cannot be taken, the PDU
  1805.   must be discarded. The source may be informed of the discard using the
  1806.   Error Reporting function described in Section 6.10.
  1807.  
  1808.   The second form is referred to as partial source routing. Again, each
  1809.   address in the list must be visited in the order specified while on
  1810.   route to the destination. However, with this form of source routing
  1811.   the PDU may take any path necessary to arrive at the next address in
  1812.   the list. The PDU will not be discarded (for source routing related
  1813.   causes) unless one of the addresses specified cannot be reached by any
  1814.   available route.
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836. ISO DIS 8473 (May 1984)                                        [Page 27]
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842. RFC 926                                                    December 1984
  1843.  
  1844.  
  1845.  6.15  Record Route Function
  1846.  
  1847.   The Record Route function permits the exact recording of the paths
  1848.   taken by a PDU as it traverses a series of interconnected subnetworks.
  1849.   A recorded route is composed of a list of intermediate system
  1850.   addresses held in a parameter within the options part of the PDU
  1851.   header. The size of the option field is determined by the originating
  1852.   network-entity. The length of this option does not change as the PDU
  1853.   traverses the network.
  1854.  
  1855.   The list is constructed as the PDU traverses a set of interconnected
  1856.   subnetworks. Only intermediate system addresses are included in the
  1857.   recorded route. The address of the originator of the PDU is not
  1858.   recorded in the list. When an intermediate system network-entity
  1859.   processes a PDU containing the record route parameter, the system
  1860.   inserts its own address (or titles, see Sections 5.3 or 5.5.1) into
  1861.   the list of recorded addresses.
  1862.  
  1863.   The record route option contains an indicator which identifies the
  1864.   next available octet to be used for recording of route. This
  1865.   identifier is updated as entries are added to the list. If the
  1866.   addition of the current address to the list would exceed the size of
  1867.   the option field, the indicator is set to show that recording of route
  1868.   has terminated. The PDU may still be forwarded to its final
  1869.   destination, without further addition of intermediate system
  1870.   addresses.
  1871.  
  1872.    Note:
  1873.  
  1874.     The Record Route function is principally intended to be used in the
  1875.     diagnosis of network problems. Its mechanism has been designed on
  1876.     this basis, and may provide a return path.
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894. ISO DIS 8473 (May 1984)                                        [Page 28]
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900. RFC 926                                                    December 1984
  1901.  
  1902.  
  1903.  6.16  Quality of Service Maintenance Function
  1904.  
  1905.   In order to support the Quality of Service requested by Network
  1906.   Service users, the Protocol may need to make QOS information available
  1907.   at intermediate systems. This information may be used by network
  1908.   entities in intermediate systems to make routing decisions where such
  1909.   decisions affect the overall QOS provided to NS users.
  1910.  
  1911.   In those instances where the QOS indicated cannot be maintained, the
  1912.   NS provider will attempt to deliver the PDU at a QOS less than that
  1913.   indicated. The NS provider will not necessarily provide a notification
  1914.   of failure to meet the indicated quality of service.
  1915.  
  1916.  6.17  Classification of Functions
  1917.  
  1918.   Implementations do not have to support all of the functions described
  1919.   in Section 6. Functions are divided into three categories:
  1920.  
  1921.    Type 1:  These functions must be supported.
  1922.  
  1923.    Type 2:  These functions may or may not be supported. If an
  1924.             implementation does not support a Type 2 function, and the
  1925.             function is selected by a PDU, then the PDU shall be
  1926.             discarded, and an Error Report PDU shall be generated and
  1927.             forwarded to the originating network-entity, providing that
  1928.             the Error Report flag is set.
  1929.  
  1930.    Type 3:  These functions may or may not be supported. If an
  1931.             implementation does not support a Type 3 function, and the
  1932.             function is selected by a PDU, then the function is not
  1933.             performed and the PDU is processed exactly as though the
  1934.             function was not selected. The protocol data unit shall not
  1935.             be discarded.
  1936.  
  1937.   Table 6-1 shows how the functions are divided into these three
  1938.   categories:
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952. ISO DIS 8473 (May 1984)                                        [Page 29]
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958. RFC 926                                                    December 1984
  1959.  
  1960.  
  1961.          +---------------------------------------------------+
  1962.          | Function                       |  Type            |
  1963.          |--------------------------------|------------------|
  1964.          |                                |                  |
  1965.          | PDU Composition                |  1               |
  1966.          | PDU Decomposition              |  1               |
  1967.          | Header Format Analysis         |  1               |
  1968.          | PDU Lifetime Control           |  1               |
  1969.          | Route PDU                      |  1               |
  1970.          | Forward PDU                    |  1               |
  1971.          | Segment PDU                    |  1               |
  1972.          | Reassemble PDU                 |  1               |
  1973.          | Discard PDU                    |  1               |
  1974.          | Error Reporting                |  1 (note 1)      |
  1975.          | PDU Header Error Detection     |  1 (note 1)      |
  1976.          | Padding                        |  1 (notes 1   2) |
  1977.          | Security                       |  2               |
  1978.          | Complete Source Routing        |  2               |
  1979.          | Partial Source Routing         |  3               |
  1980.          | Priority                       |  3               |
  1981.          | Record Route                   |  3               |
  1982.          | Quality of Service Maintenance |  3               |
  1983.          +---------------------------------------------------+
  1984.  
  1985.             Table 6-1.  Categorization of Protocol Functions
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010. ISO DIS 8473 (May 1984)                                        [Page 30]
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016. RFC 926                                                    December 1984
  2017.  
  2018.  
  2019.   Notes:
  2020.  
  2021.    1)  While the Padding, Error Reporting, and Header Error Detection
  2022.        functions must be provided, they are provided only when selected
  2023.        by the sending Network Service user.
  2024.  
  2025.    2)  The correct treatment of the Padding function involves no
  2026.        processing. Therefore, this could equally be described as a Type
  2027.        3 function.
  2028.  
  2029.    3)  The rationale for the inclusion of type 3 functions is that in
  2030.        the case of some functions it is more important to forward the
  2031.        PDUs between intermediate systems or deliver them to an
  2032.        end-system than it is to support the functions. Type 3 functions
  2033.        should be used in those cases where they are of an advisory
  2034.        nature and should not be the cause of the discarding of a PDU
  2035.        when not supported.
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068. ISO DIS 8473 (May 1984)                                        [Page 31]
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074. RFC 926                                                    December 1984
  2075.  
  2076.  
  2077. 7  STRUCTURE AND ENCODING OF PDUS
  2078.  
  2079.  7.1 Structure
  2080.  
  2081.   All Protocol Data Units shall contain an integral number of octets.
  2082.   The octets in a PDU are numbered starting from one (1) and increasing
  2083.   in the order in which they are put into an SNSDU. The bits in an octet
  2084.   are numbered from one (1) to eight (8), where bit one (1) is the
  2085.   low-order bit.
  2086.  
  2087.   When consecutive octets are used to represent a binary number, the
  2088.   lower octet number has the most significant value.
  2089.  
  2090.   Any subnetwork supporting this protocol is required to state in its
  2091.   specification the way octets are transferred, using the terms "most
  2092.   significant bit" and "least significant bit." The PDUs of this
  2093.   protocol are defined using the terms "most significant bit" and "least
  2094.   significant bit."
  2095.  
  2096.    Note:
  2097.  
  2098.     When the encoding of a PDU is represented using a diagram in this
  2099.     section, the following representation is used:
  2100.  
  2101.      a)  octets are shown with the lowest numbered octet to the left,
  2102.          higher number octets being further to the right;
  2103.  
  2104.      b)  within an octet, bits are shown with bit eight (8) to the left
  2105.          and bit one (1) to the right.
  2106.  
  2107.   PDUs shall contain, in the following order:
  2108.  
  2109.    1)  the header, comprising:
  2110.  
  2111.     a)  the fixed part;
  2112.  
  2113.     b)  the address part;
  2114.  
  2115.     c)  the segmentation part, if present;
  2116.  
  2117.     d)  the options part, if present
  2118.  
  2119.    and
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126. ISO DIS 8473 (May 1984)                                        [Page 32]
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132. RFC 926                                                    December 1984
  2133.  
  2134.  
  2135.    2)  the data field, if present.
  2136.  
  2137.   This structure is illustrated below:
  2138.  
  2139.                        Part:                Described in:  
  2140.  
  2141.             +-------------------+                          
  2142.             |    Fixed Part     |            Section 7.2   
  2143.             +-------------------+                          
  2144.  
  2145.             +-------------------+                          
  2146.             |   Address Part    |            Section 7.3   
  2147.             +-------------------+                          
  2148.  
  2149.             +-------------------+                          
  2150.             | Segmentation Part |            Section 7.4   
  2151.             +-------------------+                          
  2152.  
  2153.             +-------------------+                          
  2154.             |   Options Part    |            Section 7.5   
  2155.             +-------------------+                          
  2156.  
  2157.             +-------------------+                          
  2158.             |       Data        |            Section 7.6   
  2159.             +-------------------+                          
  2160.  
  2161.                        Figure 7-1.  PDU Structure
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184. ISO DIS 8473 (May 1984)                                        [Page 33]
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190. RFC 926                                                    December 1984
  2191.  
  2192.  
  2193.  7.2 Fixed Part
  2194.  
  2195.   7.2.1 General
  2196.  
  2197.    The fixed part contains frequently occuring parameters including the
  2198.    type code (DT or ER) of the protocol data unit. The length and the
  2199.    structure of the fixed part are defined by the PDU code.
  2200.  
  2201.    The fixed part has the following format:
  2202.  
  2203.                                                       Octet 
  2204.             +------------------------------------+          
  2205.             | Network Layer Protocol Identifier  |     1    
  2206.             |------------------------------------|          
  2207.             |         Length Indicator           |     2    
  2208.             |------------------------------------|          
  2209.             |   Version/Protocol Id Extension    |     3    
  2210.             |------------------------------------|          
  2211.             |            Lifetime                |     4    
  2212.             |------------------------------------|          
  2213.             |S |M |E/R|         Type             |     5    
  2214.             | P| S|   |                          |          
  2215.             |------------------------------------|          
  2216.             |          Segment Length            |    6,7   
  2217.             |------------------------------------|          
  2218.             |             Checksum               |    8,9   
  2219.             +------------------------------------+          
  2220.  
  2221.                   Figure 7-2.  PDU Header--Fixed Part
  2222.  
  2223.   7.2.2 Network Layer Protocol Identifier
  2224.  
  2225.    The value of this field shall be binary 1000 0001. This field
  2226.    identifies this Network Layer Protocol as ISO 8473, Protocol for
  2227.    Providing the Connectionless-mode Network Service.
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242. ISO DIS 8473 (May 1984)                                        [Page 34]
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248. RFC 926                                                    December 1984
  2249.  
  2250.  
  2251.   7.2.3 Length Indicator
  2252.  
  2253.    The length is indicated by a binary number, with a maximum value of
  2254.    254 (1111 1110). The length indicated is the length in octets of the
  2255.    header, as described in Section 7.1, Structure. The value 255 (1111
  2256.    1111) is reserved for possible future extensions.
  2257.  
  2258.     Note:
  2259.  
  2260.      The rules for forwarding and segmentation ensure that the header
  2261.      length is the same for all segments (Derived PDUs) of the Initial
  2262.      PDU, and is the same as the header length of the Initial PDU.
  2263.  
  2264.   7.2.4 Version/Protocol Identifier Extension
  2265.  
  2266.    The value of this field is binary 0000 0001. This Identifies a
  2267.    standard version of ISO 8473, Protocol for Providing the
  2268.    Connectionless-mode Network Service.
  2269.  
  2270.   7.2.5 PDU Lifetime
  2271.  
  2272.    The Lifetime field is encoded as a binary number representing the
  2273.    remaining lifetime of the PDU, in units of 500 milliseconds.
  2274.  
  2275.    The Lifetime field is set by the originating network-entity, and is
  2276.    decremented by every network-entity which processes the PDU. The PDU
  2277.    shall be discarded if the value of the field reaches zero.
  2278.  
  2279.    When a network-entity processes a PDU, it decrements the Lifetime by
  2280.    at least one. The Lifetime shall be decremented by more than one if
  2281.    the sum of:
  2282.  
  2283.     1)  the transit delay in the subnetwork from which the PDU was
  2284.         received; and
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300. ISO DIS 8473 (May 1984)                                        [Page 35]
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306. RFC 926                                                    December 1984
  2307.  
  2308.  
  2309.     2)  the delay within the system processing the PDU
  2310.  
  2311.    exceeds or is estimated to exceed 500 milliseconds. In this case, the
  2312.    lifetime field should be decremented by one for each additional 500
  2313.    milliseconds of delay. The determination of delay need not be
  2314.    precise, but where error exists the value used shall be an
  2315.    overestimate, not an underestimate.
  2316.  
  2317.    If the Lifetime reaches a value of zero before the PDU is delivered
  2318.    to the destination, the PDU shall be discarded. The Error Reporting
  2319.    function shall be invoked, as described in Section 6.10, Error
  2320.    Reporting Function, and may result in the generation of an ER PDU. It
  2321.    is a local matter whether the destination network-entity performs the
  2322.    Lifetime Control function.
  2323.  
  2324.    When the Segmentation function is applied to a PDU, the Lifetime
  2325.    field is copied into all of the Derived PDUs.
  2326.  
  2327.   7.2.6 Flags
  2328.  
  2329.    7.2.6.1 Segmentation Permitted and More Segments Flags
  2330.  
  2331.     The Segmentation Permitted flag determines whether segmentation is
  2332.     permitted. A value of one indicates that segmentation is permitted.
  2333.  
  2334.     A value of zero indicates that the non-segmenting protocol subset is
  2335.     employed. Where this is the case, the segmentation part of the PDU
  2336.     header is not present, and the Segment Length field serves as the
  2337.     Total Length field.
  2338.  
  2339.     The More Segments flag indicates whether the data segment in this
  2340.     PDU contains (as its last octet) the last octet of the User Data in
  2341.     the NSDU. When the More Segments flag is set to one (1) then
  2342.     segmentation has taken place and the last octet of the NSDU is not
  2343.     contained in this PDU. The More Segments flag cannot be set to one
  2344.     (1) if the Segmentation Permitted flag is not set to one (1).
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358. ISO DIS 8473 (May 1984)                                        [Page 36]
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364. RFC 926                                                    December 1984
  2365.  
  2366.  
  2367.     When the More Segments flag is set to zero (0) the last octet of the
  2368.     Data Part of the PDU is the last octet of the NSDU.
  2369.  
  2370.    7.2.6.2 Error Report Flag
  2371.  
  2372.     When the Error Report flag is set to one, the rules in Section 6.10
  2373.     are used to determine whether to generate an Error Report PDU upon
  2374.     discard of the PDU.
  2375.  
  2376.     When the Error Report flag is set to zero, discard of the PDU will
  2377.     not cause the generation of an Error Report PDU.
  2378.  
  2379.   7.2.7 Type Code
  2380.  
  2381.    The Type code field identifies the type of the protocol data unit.
  2382.    Allowed values are given in Table 7-1:
  2383.  
  2384.                                 Bits    5 4 3 2 1   
  2385.                     +-----------------------------+ 
  2386.                     |  DT PDU  |        1 1 1 0 0 | 
  2387.                     |-----------------------------| 
  2388.                     |  ER PDU  |        0 0 0 0 1 | 
  2389.                     +-----------------------------+ 
  2390.  
  2391.                       Table 7-1.  Valid PDU Types
  2392.  
  2393.   7.2.8 PDU Segment Length
  2394.  
  2395.    The Segment Length field specifies the entire length of the PDU
  2396.    segment including both header and data, if present. When the full
  2397.    protocol is employed and a PDU is not segmented, then the value of
  2398.    this field is identical to the value of the Total Length field
  2399.    located in the Segmentation Part of the header.
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416. ISO DIS 8473 (May 1984)                                        [Page 37]
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422. RFC 926                                                    December 1984
  2423.  
  2424.  
  2425.    When the Non-segmenting protocol subset is employed, no segmentation
  2426.    part is present in the header. In this subset, the Segment Length
  2427.    field serves as the Total Length field of the header (see Section
  2428.    7.4.3).
  2429.  
  2430.   7.2.9 PDU Checksum
  2431.  
  2432.    The checksum is computed on the entire PDU header. This includes the
  2433.    segmentation and options parts, if present. A checksum value of zero
  2434.    is reserved to indicate that the checksum is to be ignored. The
  2435.    operation of the PDU Header Error Detection function ensures that the
  2436.    value zero does not represent a valid checksum. A non-zero value
  2437.    indicates that the checksum must be processed or the PDU must be
  2438.    discarded.
  2439.  
  2440.  7.3 Address Part
  2441.  
  2442.   7.3.1 General
  2443.  
  2444.    Address parameters are distinguished by their location, immediately
  2445.    following the fixed part of the PDU header. The address part is
  2446.    illustrated below:
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474. ISO DIS 8473 (May 1984)                                        [Page 38]
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480. RFC 926                                                    December 1984
  2481.  
  2482.  
  2483.                                                       Octet  
  2484.           +--------------------------------------+           
  2485.           |                                      |           
  2486.           | Destination Address Length Indicator |      10   
  2487.           |                                      |           
  2488.           |--------------------------------------|           
  2489.           |                                      |      11   
  2490.           |         Destination Address          |           
  2491.           |                                      |      m-1  
  2492.           |--------------------------------------|           
  2493.           |                                      |           
  2494.           |   Source Address Length Indicator    |       m   
  2495.           |                                      |           
  2496.           |--------------------------------------|           
  2497.           |                                      |      m+1  
  2498.           |           Source Address             |           
  2499.           |                                      |      n-1  
  2500.           +--------------------------------------+           
  2501.  
  2502.                  Figure 7-3.  PDU header--Address Part
  2503.  
  2504.    7.3.1.1 Destination and Source Address Information
  2505.  
  2506.     The Destination and Source addresses are Network Service Access
  2507.     Point addresses as defined in ISO 8348/DAD2, Addendum to the Network
  2508.     Service Definition Covering Network Layer Addressing.
  2509.  
  2510.     The Destination and Source Address information is of variable
  2511.     length.
  2512.  
  2513.     The Destination Address Length Indicator field specifies the length
  2514.     of the Destination Address in number of octets. The Destination
  2515.     Address field follows the Destination Address Length Indicator
  2516.     field. The Source Address Length Indicator field specifies the
  2517.     length of the Source Address in number of octets. The Source Address
  2518.     Length Indicator field follows the Destination Address field. The
  2519.     Source Address field follows the Source Address Length Indicator
  2520.     field.
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532. ISO DIS 8473 (May 1984)                                        [Page 39]
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538. RFC 926                                                    December 1984
  2539.  
  2540.  
  2541.     Each address parameter is encoded as follows:
  2542.  
  2543.                       Bits   8   7   6   5   4   3   2   1  
  2544.             +---------------------------------------------+ 
  2545.             | Octet  | Address parameter Length Indicator | 
  2546.             |   n    |           (e.g., 'm')              | 
  2547.             |---------------------------------------------| 
  2548.             | Octets |                                    | 
  2549.             |  n+1   |     Address Parameter Value        | 
  2550.             | thru   |                                    | 
  2551.             |  n+m   |                                    | 
  2552.             +---------------------------------------------+ 
  2553.  
  2554.                      Table 7-2.  Address Parameters
  2555.  
  2556.  7.4 Segmentation Part
  2557.  
  2558.   If the Segmentation Permitted Flag in the Fixed Part of the PDU Header
  2559.   (Octet 4, Bit 8) is set to one, the segmentation part of the header,
  2560.   illustrated below, must be present:
  2561.  
  2562.                                                Octet   
  2563.                 +------------------------+             
  2564.                 |  Data Unit Identifier  |     n,n+1   
  2565.                 |------------------------|             
  2566.                 |     Segment Offset     |    n+2,n+3  
  2567.                 |------------------------|             
  2568.                 |      Total Length      |    n+4,n+5  
  2569.                 +------------------------+             
  2570.  
  2571.                Figure 7-4.  PDU Header--Segmentation Part
  2572.  
  2573.   Where the "Segmentation Permitted" flag is set to zero, the
  2574.   nonsegmenting protocol subset is in use.
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590. ISO DIS 8473 (May 1984)                                        [Page 40]
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596. RFC 926                                                    December 1984
  2597.  
  2598.  
  2599.   7.4.1 Data Unit Identifier
  2600.  
  2601.    The Data Unit Identifier identifies an Initial PDU (and hence, its
  2602.    Derived PDUs) so that a segmented data unit may be correctly
  2603.    reassembled by the destination network-entity. The Data Unit
  2604.    Identifier size is two octets.
  2605.  
  2606.   7.4.2 Segment Offset
  2607.  
  2608.    For each segment the Segment Offset field specifies the relative
  2609.    position of the segment in the data part of the Initial PDU with
  2610.    respect to the start of the data field. The offset is measured in
  2611.    units of octets. The offset of the first segment is zero.
  2612.  
  2613.   7.4.3 PDU Total Length
  2614.  
  2615.    The Total Length field specifies the entire length of the Initial
  2616.    PDU, including both the header and data. This field is not changed in
  2617.    any segment (Derived PDU) for the lifetime of the PDU.
  2618.  
  2619.  7.5 Options Part
  2620.  
  2621.   7.5.1 General
  2622.  
  2623.    The options part is used to convey optional parameters. If the
  2624.    options part is present, it contains one or more parameters. The
  2625.    number of parameters that may be contained in the options part is
  2626.    indicated by the length of the options part which is:
  2627.  
  2628.     PDU Header Length - (length of fixed part +
  2629.                          length of address part +
  2630.                          length of segmentation part).
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648. ISO DIS 8473 (May 1984)                                        [Page 41]
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654. RFC 926                                                    December 1984
  2655.  
  2656.  
  2657.    The options part of the PDU header is illustrated below:
  2658.  
  2659.                                                Octet 
  2660.                    +--------------------+            
  2661.                    |                    |       n+6  
  2662.                    |      Options       |            
  2663.                    |                    |       p    
  2664.                    +--------------------+            
  2665.  
  2666.                  Figure 7-5.  PDU Header--Options Part
  2667.  
  2668.    Each parameter contained within the options part of the PDU header is
  2669.    encoded as follows:
  2670.  
  2671.                           BITS    8  7  6  5  4  3  2  1  
  2672.              +------------------------------------------+ 
  2673.              |  Octets  |                               | 
  2674.              |    n     |  Parameter Code               | 
  2675.              |------------------------------------------| 
  2676.              |   n+1    |  Parameter Length (e.g., 'm') | 
  2677.              |------------------------------------------| 
  2678.              |   n+2    |  Parameter Value              | 
  2679.              |  n+m+1   |                               | 
  2680.              +------------------------------------------+ 
  2681.  
  2682.                    Table 7-3.  Encoding of Parameters
  2683.  
  2684.    The parameter code field is coded in binary and, without extensions,
  2685.    provides a maximum number of 255 different parameters. However, as
  2686.    noted below, bits 8 and 7 cannot take every possible value, so the
  2687.    practical maximum number of different parameters is less. A parameter
  2688.    code of 255 (binary 1111 1111) is reserved for possible extensions of
  2689.    the parameter code.
  2690.  
  2691.    The parameter length field indicates the length, in octets, of the
  2692.    parameter value field. The length is indicated by a binary number,
  2693.    'm', with a theoretical maximum value of 255. The practical maximum
  2694.    value of 'm' is lower. For example, in the case of a single parameter
  2695.    contained within the options part, two octets are required for the
  2696.    parameter code and the parameter length indication itself. Thus, the
  2697.    value of 'm' is limited to:
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706. ISO DIS 8473 (May 1984)                                        [Page 42]
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712. RFC 926                                                    December 1984
  2713.  
  2714.  
  2715.      253 - (length of fixed part +
  2716.      length of address part +
  2717.      length of segmentation part).
  2718.  
  2719.    For each succeeding parameter the maximum value of 'm' decreases.
  2720.  
  2721.    The parameter value field contains the value of the parameter
  2722.    identified in the parameter code field.
  2723.  
  2724.    No parameter codes use bits 8 and 7 with the value 00.
  2725.  
  2726.    Implementations shall accept the parameters defined in the options
  2727.    part in any order. Duplication of options (where detected) is not
  2728.    permitted. Receipt of a PDU with an option duplicated should be
  2729.    treated as a protocol error. The rules governing the treatment of
  2730.    protocol errors are described in Section 6.10, Error Reporting
  2731.    Function.
  2732.  
  2733.    The following parameters are permitted in the options part.
  2734.  
  2735.   7.5.2 Padding
  2736.  
  2737.    The padding parameter is used to lengthen the PDU header to a
  2738.    convenient size (See Section 6.12).
  2739.  
  2740.     Parameter Code:       1100 1100
  2741.     Parameter Length:     variable
  2742.     Parameter Value:      any value is allowed
  2743.  
  2744.   7.5.3 Security
  2745.  
  2746.    This parameter is user defined.
  2747.  
  2748.     Parameter Code:       1100 0101
  2749.     Parameter Length:     variable
  2750.     Parameter Value:
  2751.  
  2752.      High order bit of first octet is Security Domain bit, S, to be
  2753.      interpreted as follows:
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764. ISO DIS 8473 (May 1984)                                        [Page 43]
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770. RFC 926                                                    December 1984
  2771.  
  2772.  
  2773.       S=0
  2774.  
  2775.        +---------------------------
  2776.        | S | User Defined        ----
  2777.        +------------------------
  2778.  
  2779.       S=1
  2780.  
  2781.        +---------------------------
  2782.        | S | CODE | ORGANIZATION ----
  2783.        +------------------------
  2784.  
  2785.       where
  2786.  
  2787.        CODE = This field contains a geographic or non-geographic code to
  2788.               which the option applies.
  2789.  
  2790.        ORGANIZATION = This is a further subdivision of the CODE field
  2791.                       and is determined by an administrator of the
  2792.                       geographic or non-geographic domain identified by
  2793.                       the value of CODE.
  2794.  
  2795.   7.5.4 Source Routing
  2796.  
  2797.    The source routing parameter specifies, either completely or
  2798.    partially, the route to be taken from Source Network Address to
  2799.    Destination Network Address.
  2800.  
  2801.     Parameter Code:      1100 1000
  2802.     Parameter Length:    variable
  2803.     Parameter Value:     2 octet control information
  2804.                          succeeded by a concatenation
  2805.                          of ordered address fields
  2806.                          (ordered from source to destination)
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822. ISO DIS 8473 (May 1984)                                        [Page 44]
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828. RFC 926                                                    December 1984
  2829.  
  2830.  
  2831.    The first octet of the parameter value is the type code. This has the
  2832.    following significance.
  2833.  
  2834.     0000 0001     complete source routing
  2835.     0000 0000     partial source routing
  2836.  
  2837.     <all other values reserved>
  2838.  
  2839.    The second octet indicates the octet offset of the next address to be
  2840.    processed in the list. A value of three (3) indicates that the next
  2841.    address begins immediately after this control octet. Successive
  2842.    octets are indicated by correspondingly larger values of this
  2843.    indicator.
  2844.  
  2845.    The third octet begins the intermediate-system address list. The
  2846.    address list consists of variable length address fields. The first
  2847.    octet of each address field identifies the length of the address
  2848.    which comprises the remainder of the address field.
  2849.  
  2850.   7.5.5 Recording of Route
  2851.  
  2852.    The recording of route parameter identifies the route of intermediate
  2853.    systems traversed by the PDU.
  2854.  
  2855.     Parameter Code:       1100 1011
  2856.     Parameter Length:     variable
  2857.     Parameter Value:      two octets control information
  2858.                           succeeded  by a concatenation of
  2859.                           ordered addresses
  2860.  
  2861.    The first octet is used to indicate that the recording of route has
  2862.    been terminated owing to lack of space in the option. It has the
  2863.    following significance:
  2864.  
  2865.     0000 0000     Recording of Route still in progress
  2866.     1111 1111     Recording of Route terminated
  2867.  
  2868.     <all other values reserved>
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880. ISO DIS 8473 (May 1984)                                        [Page 45]
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886. RFC 926                                                    December 1984
  2887.  
  2888.  
  2889.    The second octet identifies the next octet which may be used to
  2890.    record an address. It is encoded relative to the start of the
  2891.    parameter, such that a value of three (3) indicates that the octet
  2892.    after this one is the next to be used.
  2893.  
  2894.    The third octet begins the address list. The address list consists of
  2895.    variable length address fields. The first octet of each address field
  2896.    identifies the length of the address which comprises the remainder of
  2897.    the field. Address fields are always added to the beginning of the
  2898.    address list; i.e., the most recently added field will begin in the
  2899.    third octet of the parameter value.
  2900.  
  2901.   7.5.6 Quality of Service Maintenance
  2902.  
  2903.    The Quality of Service parameter conveys information about the
  2904.    quality of service requested by the originating Network Service user.
  2905.    At intermediate systems, Network Layer relay entities may (but are
  2906.    not required to) make use of this information as an aid in selecting
  2907.    a route when more than one route satisfying other routing criteria is
  2908.    available and the available routes are known to differ with respect
  2909.    to Quality of Service (see Section 6.16).
  2910.  
  2911.     Parameter Code:       1100 0011
  2912.     Parameter Length:     one octet
  2913.     Parameter Value:      Bit 8:  transit delay vs. cost
  2914.                           Bit 7:  residual error probability vs.
  2915.                                   transit delay
  2916.                           Bit 6:  residual error probability vs.
  2917.                                   cost
  2918.                           Bits 5 thru 0 are not specified.
  2919.  
  2920.    Bit 8 is set to one indicates that where possible, routing decision
  2921.    should favor low transit delay over low cost. A value of 0 indicates
  2922.    that routing decisions should favor low cost over low transit delay.
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938. ISO DIS 8473 (May 1984)                                        [Page 46]
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944. RFC 926                                                    December 1984
  2945.  
  2946.  
  2947.    Bit 7 set to one indicates that where possible, routing decisions
  2948.    should favor low residual error probability over low transit delay. A
  2949.    value of zero indicates that routing decisions should favor low
  2950.    transit delay over low residual error probability.
  2951.  
  2952.    Bit 6 is set to one indicates that where possible, routing decisions
  2953.    should favor low residual error probability over low cost. A value of
  2954.    0 indicates that routing decisions should favor low cost over low
  2955.    residual error probability.
  2956.  
  2957.  7.6 Priority
  2958.  
  2959.   The priority parameter carries the relative priority of the protocol
  2960.   data unit. Intermediate systems that support this option should make
  2961.   use of this information in routing and in ordering PDUs for
  2962.   transmission.
  2963.  
  2964.    Parameter Code:       1100 1100
  2965.    Parameter Length:     one octet
  2966.    Parameter Value:      0000 0000 - Normal (Default)
  2967.                          thru
  2968.                          0000 1111 - Highest
  2969.  
  2970.   The values 0000 0001 through 0000 1111 are to be used for higher
  2971.   priority protocol data units. If an intermediate system does not
  2972.   support this option then all PDUs shall be treated as if the field had
  2973.   the value 0000 0000.
  2974.  
  2975.  7.7 Data Part
  2976.  
  2977.   The Data part of the PDU is structured as an ordered multiple of
  2978.   octets, which is identical to the same ordered multiple of octets
  2979.   specified for the NS_Userdata parameter of the N_UNITDATA Request and
  2980.   Indication primitives. The data field is illustrated below:
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996. ISO DIS 8473 (May 1984)                                        [Page 47]
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002. RFC 926                                                    December 1984
  3003.  
  3004.  
  3005.                                              Octet 
  3006.                   +------------------+                
  3007.                   |                  |      p+1       
  3008.                   |       Data       |                
  3009.                   |                  |       z        
  3010.                   +------------------+                
  3011.  
  3012.                   Figure 7-6.  PDU header--Data Field
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054. ISO DIS 8473 (May 1984)                                        [Page 48]
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060. RFC 926                                                    December 1984
  3061.  
  3062.  
  3063.  7.8 Data (DT) PDU
  3064.  
  3065.   7.8.1 Structure
  3066.  
  3067.    The DT PDU has the following format:
  3068.  
  3069.                                                   Octet           
  3070.      +--------------------------------------+                     
  3071.      |  Network Layer Protocol Identifier   |      1              
  3072.      |--------------------------------------|                     
  3073.      |           Length Indicator           |      2              
  3074.      |--------------------------------------|                     
  3075.      |   Version/Protocol Id Extension      |      3              
  3076.      |--------------------------------------|                     
  3077.      |              Lifetime                |      4              
  3078.      |--------------------------------------|                     
  3079.      |SP|MS|E/R|      Type                  |      5              
  3080.      |--------------------------------------|                     
  3081.      |           Segment Length             |     6,7             
  3082.      |--------------------------------------|                     
  3083.      |              Checksum                |     8,9             
  3084.      |--------------------------------------|                     
  3085.      | Destination Address Length Indicator |     10              
  3086.      |--------------------------------------|                     
  3087.      |         Destination Address          |     11 through m-1  
  3088.      |--------------------------------------|                     
  3089.      |    Source Address Length Indicator   |      m              
  3090.      |--------------------------------------|                     
  3091.      |            Source Address            |     m+1 through n-1 
  3092.      |--------------------------------------|                     
  3093.      |         Data Unit Identifier         |     n,n+1           
  3094.      |--------------------------------------|                     
  3095.      |            Segment Offset            |     n+2,n+3         
  3096.      |--------------------------------------|                     
  3097.      |             Total Length             |     n+4,n+5         
  3098.      |--------------------------------------|                     
  3099.      |                Options               |     n+6 through p   
  3100.      |--------------------------------------|                     
  3101.      |                 Data                 |     p+1 through z   
  3102.      +--------------------------------------+                     
  3103.  
  3104.                      Figure 7-7.  PDU Header Format
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112. ISO DIS 8473 (May 1984)                                        [Page 49]
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118. RFC 926                                                    December 1984
  3119.  
  3120.  
  3121.    7.8.1.1 Fixed Part
  3122.  
  3123.     1) Network Layer Protocol Identifier   See Section 7.2.2.
  3124.     2) Length Indicator                    See Section 7.2.3.
  3125.     3) Version/Protocol Id Extension       See Section 7.2.4.
  3126.     4) Lifetime                            See Section 7.2.5.
  3127.     5) SP, MS, E/R                         See Section 7.2.6.
  3128.     6) Type Code                           See Section 7.2.7.
  3129.     7) Segment Length                      See Section 7.2.8.
  3130.     8) Checksum                            See Section 7.2.9.
  3131.  
  3132.    7.8.1.2 Addresses
  3133.  
  3134.     See Section 7.3.
  3135.  
  3136.    7.8.1.3 Segmentation
  3137.  
  3138.     See Section 7.4.
  3139.  
  3140.    7.8.1.4 Options
  3141.  
  3142.     See Section 7.5.
  3143.  
  3144.    7.8.1.5 Data
  3145.  
  3146.     See Section 7.7.
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170. ISO DIS 8473 (May 1984)                                        [Page 50]
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176. RFC 926                                                    December 1984
  3177.  
  3178.  
  3179.  7.9 Inactive Network Layer Protocol
  3180.  
  3181.                                               Octet         
  3182.             +-----------------------------+                 
  3183.             |  Network Layer Protocol Id  |     1           
  3184.             |-----------------------------|                 
  3185.             |           Data              |     2 through n 
  3186.             +-----------------------------+                 
  3187.  
  3188.               Figure 7-9.  Inactive Network Layer Protocol
  3189.  
  3190.   7.9.1 Network Layer Protocol Id
  3191.  
  3192.    The value of the Network Layer Protocol Identifier field is binary
  3193.    zero (0000 0000).
  3194.  
  3195.   7.9.2 Data Field
  3196.  
  3197.    See Section 7.7.
  3198.  
  3199.    The length of the NS_Userdata parameter is constrained to be less
  3200.    than or equal to the value of the length of the SN_Userdata parameter
  3201.    minus one.
  3202.  
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228. ISO DIS 8473 (May 1984)                                        [Page 51]
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234. RFC 926                                                    December 1984
  3235.  
  3236.  
  3237.  7.10 Error Report PDU (ER)
  3238.  
  3239.   7.10.1 Structure
  3240.  
  3241.                                                   Octet           
  3242.      +--------------------------------------+                     
  3243.      |   Network Layer Protocol Identifier  |       1             
  3244.      |--------------------------------------|                     
  3245.      |           Length Indicator           |       2             
  3246.      |--------------------------------------|                     
  3247.      |     Version/Protocol Id Extension    |       3             
  3248.      |--------------------------------------|                     
  3249.      |               Lifetime               |       4             
  3250.      |--------------------------------------|                     
  3251.      |SP|MS|E/R|       Type                 |       5             
  3252.      |--------------------------------------|                     
  3253.      |             Segment Length           |      6,7            
  3254.      |--------------------------------------|                     
  3255.      |                Checksum              |      8,9            
  3256.      |--------------------------------------|                     
  3257.      | Destination Address Length Indicator |      10             
  3258.      |--------------------------------------|                     
  3259.      |         Destination Address          |     10 through m-1  
  3260.      |--------------------------------------|                     
  3261.      |     Source Address Length Indicator  |       m             
  3262.      |--------------------------------------|                     
  3263.      |             Source Address           |     m+1 through n-1 
  3264.      |--------------------------------------|                     
  3265.      |          Data Unit Identifier        |     n,n+1           
  3266.      |--------------------------------------|                     
  3267.      |             Segment Offset           |     n+2,n+3         
  3268.      |--------------------------------------|                     
  3269.      |              Total Length            |     n+4,n+5         
  3270.      |--------------------------------------|                     
  3271.      |                Options               |     n+6 through p-1 
  3272.      |--------------------------------------|                     
  3273.      |           Reason for Discard         |     p through q-1   
  3274.      |--------------------------------------|                     
  3275.      |       Error Report Data Field        |       z             
  3276.      +--------------------------------------+                     
  3277.  
  3278.                      Figure 7-10.  Error Report PDU
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286. ISO DIS 8473 (May 1984)                                        [Page 52]
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292. RFC 926                                                    December 1984
  3293.  
  3294.  
  3295.    7.10.1.1 Fixed Part
  3296.  
  3297.     The fixed part of the Error Report Protocol Data Unit is set as
  3298.     though this is a new (Initial) PDU. Thus, references are provided to
  3299.     precious sections describing the composition of the fields
  3300.     comprising the fixed part:
  3301.  
  3302.     1) Network Layer Protocol Identifier   See Section 7.2.2.
  3303.     2) Length Indicator                    See Section 7.2.3.
  3304.     3) Version/Protocol Id Extension       See Section 7.2.4.
  3305.     4) Lifetime                            See Section 7.2.5.
  3306.     5) SP, MS, E/R                         See Section 7.2.6.
  3307.     6) Type Code                           See Section 7.2.7.
  3308.     7) Segment Length                      See Section 7.2.8.
  3309.     8) Checksum                            See Section 7.2.9.
  3310.  
  3311.    7.10.1.2 Addresses
  3312.  
  3313.     See Section 7.3.
  3314.  
  3315.     The Destination Address specifies the original source of the
  3316.     discarded PDU. The Source Address specifies the intermediate system
  3317.     or end system network-entity initiating the Error Report PDU.
  3318.  
  3319.    7.10.1.3 Segmentation
  3320.  
  3321.     See Section 7.4.
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344. ISO DIS 8473 (May 1984)                                        [Page 53]
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350. RFC 926                                                    December 1984
  3351.  
  3352.  
  3353.    7.10.1.4 Options
  3354.  
  3355.     See Section 7.5.
  3356.  
  3357.    7.10.1.5 Reason for Discard
  3358.  
  3359.     This parameter is only valid for the Error Report PDU. It provides a
  3360.     report on the discarded protocol data unit.
  3361.  
  3362.     Parameter Code:
  3363.  
  3364.      1100 0001
  3365.  
  3366.     Parameter Length:
  3367.  
  3368.      two octets
  3369.      type of error encoded in binary:
  3370.  
  3371.       0000 0000:  Reason not specified.
  3372.       0000 0001:  Protocol Procedure Error.
  3373.                   other than below:
  3374.       0000 0010:  Incorrect checksum.
  3375.       0000 0011:  PDU discarded due to congestion.
  3376.       0000 0100:  Header syntax error (header cannot
  3377.                   be parsed).
  3378.       0000 0101:  Segmentation is needed but is not
  3379.                   permitted.
  3380.  
  3381.       1000 xxxx:  Addressing Error:
  3382.                   0000 0000:  Destination Address
  3383.                               Unreachable.
  3384.                   1000 0001:  Destination Address
  3385.                               Unknown.
  3386.  
  3387.       1001 xxxx:  Source Routing Error:
  3388.                   1001 0000:  Unspecified Source
  3389.                               Routing error.
  3390.                   1001 0001:  Syntax error in Source
  3391.                               Routing field.
  3392.                   1001 0010:  Unknown Address in
  3393.                               Source Routing field.
  3394.                   1001 0011:  Path not acceptable.
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.  
  3401.  
  3402. ISO DIS 8473 (May 1984)                                        [Page 54]
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408. RFC 926                                                    December 1984
  3409.  
  3410.  
  3411.       1010 xxxx:  Lifetime Expiration:
  3412.                   1010 0000:  Lifetime expired while
  3413.                               data unit in transit.
  3414.                   1010 0001:  Lifetime expired
  3415.                               during reassembly.
  3416.  
  3417.       1011 xxxx:  PDU discarded due to unsupported
  3418.                   option:
  3419.                   1011 0000:  unsupported option not
  3420.                               specified.
  3421.                   1011 0001:  unsupported padding
  3422.                               option.
  3423.                   1011 0010:  unsupported security
  3424.                               option.
  3425.                   1011 0011:  unsupported source
  3426.                               routing option.
  3427.                   1011 0100:  unsupported recording
  3428.                               of route option.
  3429.                   1011 0101:  unsupported QoS
  3430.                               Maintenance option.
  3431.  
  3432.      The second octet contains a pointer to the field in the associated
  3433.      discarded PDU which caused the error. If no one particular field
  3434.      can be associated with the error, then this field contains the
  3435.      value of zero.
  3436.  
  3437.    7.10.1.6 Error Report Data Field
  3438.  
  3439.     This field provides all or a portion of the discarded PDU. The
  3440.     octets comprising this field contain the rejected or discarded PDU
  3441.     up to and including the octet which caused the rejection/discard.
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460. ISO DIS 8473 (May 1984)                                        [Page 55]
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466. RFC 926                                                    December 1984
  3467.  
  3468.  
  3469. 8  FORMAL DESCRIPTION
  3470.  
  3471.  The operation of the protocol is modelled as a finite state automaton
  3472.  governed by a state variable with three values. The behavior of the
  3473.  automaton is defined with respect to individual independent Protocol
  3474.  Data Units. A transition of the automaton is prompted by the occurrence
  3475.  of an atomic event at one of three interfaces:
  3476.  
  3477.   1) an interface to the Transport Layer, defined by the service
  3478.       primitives of the Addendum to the Network Service Definition
  3479.       Covering Connectionless-mode Transmission;
  3480.  
  3481.   2) an interface to the subnetwork service provider, defined by the
  3482.       SN_UNITDATA primitive of Section 5.5 of this Standard;
  3483.  
  3484.   3) an interface to an implementation-dependent timer function defined
  3485.       by the TIMER primitives described in Section 5.6 of this Standard.
  3486.  
  3487.  In addition, a transition of the automaton may be prompted by the
  3488.  occurrence of a condition of the automaton.
  3489.  
  3490.  The atomic events are defined in Section 8.2. The occurrence of an
  3491.  atomic event is not in itself sufficient to cause a transition to take
  3492.  place; other conditions, called "enabling conditions" may also have to
  3493.  be met before a particular transition can take place. Enabling
  3494.  conditions are boolean expressions that depend on the values of
  3495.  parameters associated with the corresponding atomic event (that is, the
  3496.  parameters of some primitive), and on the values of locally maintained
  3497.  variables.
  3498.  
  3499.  More than one enabling condition -- and therefore, more than one
  3500.  possible transition -- may be associated with a single atomic event. In
  3501.  every such case, the enabling conditions are mutually exclusive, so
  3502.  that for any given combination of atomic event and parameter values,
  3503.  only one state transition can take place.
  3504.  
  3505.  Associated with each transition is an action, or "output." Actions
  3506.  consist of changes to the values of local variables and the sequential
  3507.  performance of zero or more functions. The operation of the finite
  3508.  state automaton is completely specified in Section 8.3 by defining the
  3509.  action associated with every possible transition.
  3510.  
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518. ISO DIS 8473 (May 1984)                                        [Page 56]
  3519.  
  3520.  
  3521.  
  3522.  
  3523.  
  3524. RFC 926                                                    December 1984
  3525.  
  3526.  
  3527.  8.1  Values of the State Variable
  3528.  
  3529.   The protocol state variable has three values:
  3530.  
  3531.   1)  INITIAL       The automaton is created in the INITIAL state.  No
  3532.                     transition may carry the automaton into the INITIAL
  3533.                     state.
  3534.  
  3535.   2)  REASSEMBLING  The automaton is in the REASSEMBLING state for the
  3536.                     period in which it is assembling PDU segments into a
  3537.                     complete PDU.
  3538.  
  3539.   3)  CLOSED        The final state of the automaton is the  CLOSED
  3540.                     state.  When the automaton enters the CLOSED state
  3541.                     it ceases to exist.
  3542.  
  3543.  8.2  Atomic Events
  3544.  
  3545.   An atomic event is the transfer of a unit of information across an
  3546.   interface.  The description of an atomic event specifies a primitive
  3547.   (such as an N_UNITDATA.Request), and the service boundary at which it
  3548.   is invoked (such as the Network Service boundary). The direction of
  3549.   information flow across the boundary is implied by the definition of
  3550.   each of the primitives.
  3551.  
  3552.   8.2.1  N.UNITDATA_request and N.UNITDATA_indication
  3553.  
  3554.    The N.UNITDATA_request and N.UNITDATA_indication atomic events occur
  3555.    at the Network Service boundary. They are defined by the Addendum to
  3556.    the Network Service Definition Covering Connectionless Data
  3557.    Transmission (ISO 8348/DAD1).
  3558.  
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571.  
  3572.  
  3573.  
  3574.  
  3575.  
  3576. ISO DIS 8473 (May 1984)                                        [Page 57]
  3577.  
  3578.  
  3579.  
  3580.  
  3581.  
  3582. RFC 926                                                    December 1984
  3583.  
  3584.  
  3585.    N.UNITDATA_request    (NS Source_Address,
  3586.                           NS_Destination_Address,
  3587.                           NS_Quality_of_Service,
  3588.                           NS_Userdata)
  3589.  
  3590.    N.UNITDATA_indication (NS_Source_Address,
  3591.                           NS_Destination_Address,
  3592.                           NS_Quality_of_Service, NS_Userdata)
  3593.  
  3594.    The     parameters     of     the     N.UNITDATA_request      and
  3595.    N.UNITDATA_indication  are  collectively  referred  to as Network
  3596.    Service Data Unit (NSDUs).
  3597.  
  3598.   8.2.2  SN.UNITDATA_request and SN.UNITDATA_indication
  3599.  
  3600.    The SN.UNITDATA_request and SN.UNITDATA_indication atomic events
  3601.    occur at the interface between the Protocol described herein and a
  3602.    subnetwork service provider. They are defined in Section 5.5 of this
  3603.    Standard.
  3604.  
  3605.    SN.UNITDATA_request    (SN_Source_Address,
  3606.                            SN_Destination_Address,
  3607.                            SN_Quality_of_Service,
  3608.                            SN_Userdata)
  3609.  
  3610.    SN.UNITDATA_indication (SN_Source_Address,
  3611.                            SN_Destination_Address,
  3612.                            SN_Quality_of_Service,
  3613.                            SN_Userdata)
  3614.  
  3615.    The parameters of the SN_UNITDATA request and SN_UNITDATA Indication
  3616.    are collectively referred to as Subnetwork Service Data Units
  3617.    (SNSDUs).
  3618.  
  3619.    The value of the SN_Userdata parameter may represent an Initial PDU
  3620.    or a Derived PDU.
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634. ISO DIS 8473 (May 1984)                                        [Page 58]
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640. RFC 926                                                    December 1984
  3641.  
  3642.  
  3643.   8.2.3  TIMER Atomic Events
  3644.  
  3645.    The TIMER atomic events occur at the interface between the Protocol
  3646.    described herein and its local environment. They are defined in
  3647.    Section 5.6 of this Standard.
  3648.  
  3649.     S.TIMER_request  (Time,
  3650.                       Name,
  3651.                       Subscript)
  3652.  
  3653.     S.TIMER_cancel   (Name
  3654.                       Subscript)
  3655.  
  3656.     S.TIMER_response (Name,
  3657.                       Subscript)
  3658.  
  3659.  8.3  Operation of the Finite State Automation
  3660.  
  3661.   The operation of the automaton is defined by use of the formal
  3662.   description technique and notation specified in ISO/TC97/SC16 N1347.
  3663.   This technique is based on an extended finite state transition model
  3664.   and the Pascal programming language. The technique makes use of strong
  3665.   variable typing to reduce ambiguity in interpretation of the
  3666.   specification.
  3667.  
  3668.   This specification formally specifies an abstract machine which
  3669.   provides a single instance of the Connectionless-Mode Network Service
  3670.   by use of the Protocol For Providing the Connectionless-Mode Network
  3671.   Service. It should be emphasized that this formal specification does
  3672.   not in any way constrain the internal operation or design of any
  3673.   actual implementation. For example, it is not required that the
  3674.   program segments contained in the state transitions will actually
  3675.   appear as part of an actual implementation. A formal protocol
  3676.   specification is useful in that it goes as far as possible to
  3677.   eliminate any degree of ambiguity or vagueness in the specification of
  3678.   a protocol standard.
  3679.  
  3680.   The formal specification contained here specifies the behavior of a
  3681.   single finite-state machine, which provides the protocol
  3682.  
  3683.  
  3684.  
  3685.  
  3686.  
  3687.  
  3688.  
  3689.  
  3690.  
  3691.  
  3692. ISO DIS 8473 (May 1984)                                        [Page 59]
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698. RFC 926                                                    December 1984
  3699.  
  3700.  
  3701.   behavior corresponding to a single independent service request. It is
  3702.   expected that any actual implementation will be able to handle
  3703.   behavior corresponding to many simultaneous finite state machines.
  3704.  
  3705.  
  3706.  
  3707.  
  3708.  
  3709.  
  3710.  
  3711.  
  3712.  
  3713.  
  3714.  
  3715.  
  3716.  
  3717.  
  3718.  
  3719.  
  3720.  
  3721.  
  3722.  
  3723.  
  3724.  
  3725.  
  3726.  
  3727.  
  3728.  
  3729.  
  3730.  
  3731.  
  3732.  
  3733.  
  3734.  
  3735.  
  3736.  
  3737.  
  3738.  
  3739.  
  3740.  
  3741.  
  3742.  
  3743.  
  3744.  
  3745.  
  3746.  
  3747.  
  3748.  
  3749.  
  3750. ISO DIS 8473 (May 1984)                                        [Page 60]
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756. RFC 926                                                    December 1984
  3757.  
  3758.  
  3759.   8.3.1  Type and Constant Definitions
  3760.  
  3761.    const
  3762.  
  3763.     ZERO  = 0;
  3764.     max_user_data = 64512;
  3765.  
  3766.    type
  3767.  
  3768.     NSAP_addr_type  = ...;
  3769.  
  3770.      { NSAP_addr_type defines the data type for NSAP addresses, as
  3771.      passed across the Network Service Boundary. }
  3772.  
  3773.     NPAI_addr_type  = ...;
  3774.  
  3775.      { NPAI_addr_type defines the data type for the addresses carried in
  3776.      PDUs. }
  3777.  
  3778.     SN_addr_type    = ...;
  3779.  
  3780.      { SN_addr_type defines the data type for addresses in the
  3781.      underlying service used by this protocol. }
  3782.  
  3783.     quality_of_service_type = ...;
  3784.  
  3785.      { Quality_of_service_type defines the data type for the QOS
  3786.      parameter passed across the Network Service boundary. }
  3787.  
  3788.     SN_QOS_type     = ...;
  3789.  
  3790.      { SN_QOS_type defines the data type for the QOS parameter, if any,
  3791.      passed to the underlying service used by this protocol. }
  3792.  
  3793.     data_type       = ...;
  3794.  
  3795.      { Data_type defines the data type for user data. Conceptually this
  3796.      is equivalent to a variable length binary string. }
  3797.  
  3798.     buffer_type     = ...;
  3799.  
  3800.      { Buffer_type defines the data type for the memory resources used
  3801.      in sending and receiving of user data.  This provides capabilities
  3802.      required for segmentation and reassembly. }
  3803.  
  3804.  
  3805.  
  3806.  
  3807.  
  3808. ISO DIS 8473 (May 1984)                                        [Page 61]
  3809.  
  3810.  
  3811.  
  3812.  
  3813.  
  3814. RFC 926                                                    December 1984
  3815.  
  3816.  
  3817.     timer_name_type = (lifetime_timer);
  3818.     timer_data_type = ...;
  3819.  
  3820.     network_layer_protocol_id_type = (ISO_8473_protocol_id);
  3821.     version_id_type  = (version1);
  3822.     pdu_tp_type      = (DT, ER);
  3823.  
  3824.     options_type    = ...;
  3825.  
  3826.      { Options_type defines the data type used to store the options part
  3827.      of the PDU header. }
  3828.  
  3829.     subnet_id_type  = ...;
  3830.  
  3831.      { The subnet_id_type defines the data type used to locally identify
  3832.      a particular underlying service used by this protocol.  In general
  3833.      there may be multiple underlying subnetwork (or data link)
  3834.      services. }
  3835.  
  3836.     error_type      = (NO_ERROR,
  3837.                        TOO_MUCH_USER_DATA,
  3838.                        PROTOCOL_PROCEDURE_ERROR,
  3839.                        INCORRECT_CHECKSUM, CONGESTION,
  3840.                        SYNTAX_ERROR,
  3841.                        SEG_NEEDED_AND_NOT_PERMITTED,
  3842.                        DESTINATION_UNREACHABLE,
  3843.                        DESTINATION_UNKNOWN,
  3844.                        UNSPECIFIED_SRC_ROUTING_ERROR,
  3845.                        SYNTAX_ERROR_IN_SRC_ROUTING,
  3846.                        UNKNOWN_ADDRESS_IN_SRC_ROUTING,
  3847.                        PATH_NOT_ACCEPTABLE_IN_SRC_ROUTING,
  3848.                        LIFETIME_EXPIRED_IN_TRANSIT,
  3849.                        LIFETIME_EXPIRED_IN_REASSEMBLY,
  3850.                        UNSUPPORTED_OPTION_NOT_SPECIFIED,
  3851.                        UNSUPPORTED_PADDING_OPTION,
  3852.                        UNSUPPORTED_SECURITY_OPTION,
  3853.                        UNSUPPORTED_SRC_ROUTING_OPTION,
  3854.                        UNSUPPORTED_RECORDING_OF_ROUTE_OPTION,
  3855.                        UNSUPPORTED_QOS_MAINTENANCE_OPTION);
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866. ISO DIS 8473 (May 1984)                                        [Page 62]
  3867.  
  3868.  
  3869.  
  3870.  
  3871.  
  3872. RFC 926                                                    December 1984
  3873.  
  3874.  
  3875.    nsdu_type = record
  3876.                    da   : NSAP_addr_type;
  3877.                    sa   : NSAP_addr_type;
  3878.                    qos  : quality_of_service_type;
  3879.                    data : data_type;
  3880.                 end;
  3881.  
  3882.    pdu_type = record
  3883.                    nlp_id   : network_layer_protocol_id_type;
  3884.                    hli      : integer;
  3885.                    vp_id    : version_id_type; lifetime : integer;
  3886.                    sp       : boolean;
  3887.                    ms       : boolean;
  3888.                    er_flag  : boolean;
  3889.                    pdu_tp   : pdu_tp_type;
  3890.                    seg_len  : integer;
  3891.                    checksum : integer;
  3892.                    da_len   : integer;
  3893.                    da       : NPAI_addr_type;
  3894.                    sa_len   : integer;
  3895.                    sa       : NPAI_addr_type;
  3896.                    du_id    : optional integer;
  3897.                    so       : optional integer;
  3898.                    tot_len  : optional integer;
  3899.                       { du_id, so, and tot_len are present
  3900.                        only if sp has the value TRUE. }
  3901.                    options  : options_type;
  3902.                    data     : data_type;
  3903.                 end;
  3904.  
  3905.  
  3906.  
  3907.  
  3908.  
  3909.  
  3910.  
  3911.  
  3912.  
  3913.  
  3914.  
  3915.  
  3916.  
  3917.  
  3918.  
  3919.  
  3920.  
  3921.  
  3922.  
  3923.  
  3924. ISO DIS 8473 (May 1984)                                        [Page 63]
  3925.  
  3926.  
  3927.  
  3928.  
  3929.  
  3930. RFC 926                                                    December 1984
  3931.  
  3932.  
  3933.    route_result_type =
  3934.                record
  3935.  
  3936.             subnet_id    : subnet_id_type;
  3937.             sn_da        : SN_addr_type;
  3938.             sn_sa        : SN_addr_type;
  3939.             segment_size : integer;
  3940.          end;
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.  
  3969.  
  3970.  
  3971.  
  3972.  
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978.  
  3979.  
  3980.  
  3981.  
  3982. ISO DIS 8473 (May 1984)                                        [Page 64]
  3983.  
  3984.  
  3985.  
  3986.  
  3987.  
  3988. RFC 926                                                    December 1984
  3989.  
  3990.  
  3991.   8.3.2  Interface Definitions
  3992.  
  3993.    channel Network_access_point (User, Provider);
  3994.  
  3995.     by User:
  3996.         UNITDATA_request
  3997.            (NS_Destination_address : NSAP_addr_type;
  3998.             NS_Source_address      : NSAP_addr_type;
  3999.             NS_Quality_of_Service  : quality_of_service_type;
  4000.             NS_Userdata            : data_type);
  4001.  
  4002.     by Provider:
  4003.         UNITDATA_indication
  4004.            (NS_Destination_address : NSAP_addr_type;
  4005.             NS_Source_address      : NSAP_addr_type;
  4006.             NS_Quality_of_Service  : quality_of_service_type;
  4007.             NS_Userdata            : data_type);
  4008.  
  4009.    channel Subnetwork_access_point (User, Provider);
  4010.  
  4011.     by User:
  4012.         UNITDATA_request
  4013.            (SN_Destination_address : SN_addr_type;
  4014.             SN_Source_address      : SN_addr_type;
  4015.             SN_Quality_of_Service  : SN_QOS_type;
  4016.             SN_Userdata            : pdu_type);
  4017.  
  4018.     by Provider:
  4019.         UNITDATA_indication
  4020.            (SN_Destination_address : SN_addr_type;
  4021.             SN_Source_address      : SN_addr_type;
  4022.             SN_Quality_of_Service  : SN_QOS_type;
  4023.             SN_Userdata            : pdu_type);
  4024.  
  4025.    channel System_access_point (User, Provider);
  4026.  
  4027.     by User:
  4028.         TIMER_request
  4029.            (Time      : integer;
  4030.             Name      : timer_name_type;
  4031.             Subscript : integer);
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038.  
  4039.  
  4040. ISO DIS 8473 (May 1984)                                        [Page 65]
  4041.  
  4042.  
  4043.  
  4044.  
  4045.  
  4046. RFC 926                                                    December 1984
  4047.  
  4048.  
  4049.         TIMER_cancel
  4050.  
  4051.              (Name      : timer_name_type;
  4052.               Subscript : integer);
  4053.  
  4054.     by Provider:
  4055.         TIMER_indication
  4056.            (Name      : timer_name_type;
  4057.             Subscript : integer);
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071.  
  4072.  
  4073.  
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098. ISO DIS 8473 (May 1984)                                        [Page 66]
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104. RFC 926                                                    December 1984
  4105.  
  4106.  
  4107.   8.3.3  Formal Machine Definition
  4108.  
  4109.    module Connectionless_Network_Protocol_Machine
  4110.         (N:  Network_access_point (Provider) common queue;
  4111.          SN: array [subnet_id_type] of Subnetwork_access_point
  4112.                                           (User) common queue;
  4113.          S:  System_access_point (User) individual queue );
  4114.  
  4115.    var
  4116.        nsdu    : nsdu_type;
  4117.        pdu     : pdu_type;
  4118.        rcv_buf : buffer_type;
  4119.  
  4120.    state : (INITIAL, REASSEMBLING, CLOSED);
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132.  
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156. ISO DIS 8473 (May 1984)                                        [Page 67]
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162. RFC 926                                                    December 1984
  4163.  
  4164.  
  4165.    procedure send_error_report (error : error_type;
  4166.                                 pdu   : pdu_type);
  4167.  
  4168.     var
  4169.         er_pdu : pdu_type;
  4170.  
  4171.     begin
  4172.      if (pdu.er_flag) then
  4173.       begin
  4174.        er_pdu.nlp_id   := ISO_8473_protocol_id;
  4175.        er_pdu.vp_id    := version1;
  4176.        er_pdu.lifetime := get_er_lifetime(pdu.sa);
  4177.        er_pdu.sp       := get_er_seg_per(pdu);
  4178.        er_pdu.ms       := FALSE;
  4179.        er_pdu.er_flag  := FALSE;
  4180.        er_pdu.pdu_tp   := ER;
  4181.        er_pdu.da_len   := pdu.sa_len;
  4182.        er_pdu.da       := pdu.sa;
  4183.        er_pdu.sa_len   := get_local_NPAI_addr_len;
  4184.        er_pdu.sa       := get_local_NPAI_addr;
  4185.        er_pdu.options  := get_er_options
  4186.                           (error,
  4187.                           er_pdu.da,
  4188.                           pdu.options);
  4189.        er_pdu.hli      := get_header_length
  4190.                           (er_pdu.da_len, er_pdu.sa_len,
  4191.                            er_pdu.sp,
  4192.                            er_pdu.options);
  4193.        er_pdu.data     := get_er_data_field(error, pdu);
  4194.        if (er_pdu.sp) then
  4195.                         begin
  4196.                            er_pdu.du_id   :=
  4197.                            get_data_unit_id(er_pdu.da);
  4198.                            er_pdu.so      := ZERO;
  4199.                            er_pdu.tot_len := er_pdu.hli +
  4200.                            size(er_pdu.data);
  4201.                         end;
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214. ISO DIS 8473 (May 1984)                                        [Page 68]
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220. RFC 926                                                    December 1984
  4221.  
  4222.  
  4223.        if (NPAI_addr_local(er_pdu.da))
  4224.                         then
  4225.                            post_error_report(er_pdu)
  4226.                         else
  4227.                            send_pdu(er_pdu);
  4228.       end;
  4229.     end;
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248.  
  4249.  
  4250.  
  4251.  
  4252.  
  4253.  
  4254.  
  4255.  
  4256.  
  4257.  
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.  
  4268.  
  4269.  
  4270.  
  4271.  
  4272. ISO DIS 8473 (May 1984)                                        [Page 69]
  4273.  
  4274.  
  4275.  
  4276.  
  4277.  
  4278. RFC 926                                                    December 1984
  4279.  
  4280.  
  4281.    procedure send_pdu (pdu : pdu_type);
  4282.  
  4283.     var
  4284.  
  4285.      rte_result   : route_result_type;
  4286.      error_code   : error_type;
  4287.      send_buf     : buffer_type;
  4288.      data_maxsize : integer;
  4289.      more_seg     : boolean;
  4290.      sn_qos       : SN_QOS_type;
  4291.  
  4292.     begin
  4293.  
  4294.      send_buf := make_buffer(pdu.data);
  4295.      more_seg := pdu.ms;
  4296.  
  4297.      repeat
  4298.  
  4299.       begin
  4300.  
  4301.        error_code := check_parameters
  4302.                      (pdu.hli,
  4303.                       pdu.sp,
  4304.                       pdu.da,
  4305.                       pdu.options,
  4306.                       size(pdu.data));
  4307.  
  4308.        if (error_code = NO_ERROR) then
  4309.  
  4310.                         begin
  4311.  
  4312.                            rte_result := route(pdu.hli,
  4313.                                                pdu.sp,
  4314.                                                pdu.da,
  4315.                                                pdu.options,
  4316.                                                size(pdu.data));
  4317.  
  4318.                            data_maxsize := rte_result.segment_size -
  4319.                            pdu.hli;
  4320.                            pdu.data     := extract(send_buf,
  4321.                            data_maxsize);
  4322.                            pdu.seg_len  := pdu.hli + size(pdu.data);
  4323.  
  4324.                            if (size(send_buf) = ZERO) then
  4325.                                pdu.ms   := more_seg
  4326.                            else
  4327.                                pdu.ms   := TRUE;
  4328.  
  4329.  
  4330. ISO DIS 8473 (May 1984)                                        [Page 70]
  4331.  
  4332.  
  4333.  
  4334.  
  4335.  
  4336. RFC 926                                                    December 1984
  4337.  
  4338.  
  4339.                            pdu.checksum := get_checksum(pdu);
  4340.                            sn_qos       := get_sn_qos
  4341.                            (rte_result.subnet_id,
  4342.                                                        pdu.options);
  4343.  
  4344.                            out SN[rte_result.subnet_id].UNITDATA_request
  4345.                                       (rte_result.sn_da,
  4346.                                        rte_result.sn_sa,
  4347.                                        sn_qos,
  4348.                                        pdu);
  4349.  
  4350.                            pdu.so := pdu.so + data_maxsize;
  4351.  
  4352.                         end
  4353.  
  4354.        else if (error_code = CONGESTION) then
  4355.  
  4356.                         begin
  4357.  
  4358.                            if (send_er_on_congestion (pdu)) then
  4359.                                send_error_report(CONGESTION, pdu);
  4360.  
  4361.                         end
  4362.  
  4363.        else
  4364.  
  4365.                         send_error_report(error_code, pdu);
  4366.  
  4367.       end;
  4368.  
  4369.      until (size_buf(data_buf) = ZERO) or
  4370.            (error_code <> NO_ERROR);
  4371.  
  4372.     end;
  4373.  
  4374.  
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.  
  4388. ISO DIS 8473 (May 1984)                                        [Page 71]
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394. RFC 926                                                    December 1984
  4395.  
  4396.  
  4397.    procedure allocate_reassembly_resources
  4398.             (pdu_tot_len : integer);
  4399.    primitive;
  4400.  
  4401.     { This procedure allocates resources required for reassembly of a
  4402.     PDU of the specified total length.  If this requires discarding of a
  4403.     PDU in which the ER flag is set, then an error report is returned to
  4404.     the source of the discarded data unit. }
  4405.  
  4406.    function check_parameters
  4407.         (hli     : integer;
  4408.          sp      : boolean;
  4409.          da      : NPAI_addr_type;
  4410.          options : options_type;
  4411.          datalen : integer) : error_type;
  4412.    primitive;
  4413.  
  4414.     { This function examines various parameters associated with a PDU,
  4415.     to determine whether forwarding of the PDU can continue.  If a
  4416.     result of NO_ERROR is returned, then the primitive route can be
  4417.     called to specify the route and segment size.  Otherwise this
  4418.     function specifies the reason that an error has occurred. }
  4419.  
  4420.    function data_unit_complete
  4421.         (buf : buffer_type) : boolean;
  4422.    primitive;
  4423.  
  4424.     { This function returns a boolean value specifying whether the PDU
  4425.     stored in the specified buffer has been completely received. }
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434.  
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.  
  4442.  
  4443.  
  4444.  
  4445.  
  4446. ISO DIS 8473 (May 1984)                                        [Page 72]
  4447.  
  4448.  
  4449.  
  4450.  
  4451.  
  4452. RFC 926                                                    December 1984
  4453.  
  4454.  
  4455.    function elapsed_time : integer;
  4456.    primitive;
  4457.  
  4458.     { This function returns an estimate of the time elapsed, in 500
  4459.     microsecond increments, since the PDU was transmitted by the
  4460.     previous peer network entity.  This estimate includes both time
  4461.     spent in transit, and any time to be spent in buffers within the
  4462.     local system.  Although this estimate need not be precise,
  4463.     overestimates are preferable to underestimates, as underestimating
  4464.     the time elapsed may defeat the intent of the lifetime function. }
  4465.  
  4466.    procedure empty_buffer
  4467.         (buf : buffer_type);
  4468.    primitive;
  4469.  
  4470.     { This procedure empties the specified buffer. }
  4471.  
  4472.    function extract
  4473.         (buf    : buffer_type;
  4474.          amount : integer) : data_type;
  4475.    primitive;
  4476.  
  4477.     { This function removes the specified amount of data from
  4478.     the specified buffer, and returns this data as the function
  4479.     value. }
  4480.  
  4481.    procedure free_reassembly_resources;
  4482.    primitive;
  4483.  
  4484.     { This procedure releases the resources that had been previously
  4485.     allocated by the procedure allocate_reassembly_resources. }
  4486.  
  4487.    function get_checksum
  4488.         (pdu : pdu_type) : integer;
  4489.    primitive;
  4490.  
  4491.     { This function returns the 16 bit integer value to be placed in the
  4492.     checksum field of the PDU.  If the checksum facility is not being
  4493.     used, then this function returns the value zero.  The algorithm for
  4494.     producing a correct checksum value is specified in Annex A. }
  4495.  
  4496.    function get_data_unit_id
  4497.         (da : NPAI_addr_type) : integer;
  4498.    primitive;
  4499.  
  4500.     { This function returns a data unit identifier which is unique for
  4501.     the specified destination address. }
  4502.  
  4503.  
  4504. ISO DIS 8473 (May 1984)                                        [Page 73]
  4505.  
  4506.  
  4507.  
  4508.  
  4509.  
  4510. RFC 926                                                    December 1984
  4511.  
  4512.  
  4513.    function get_er_data_field
  4514.         (error : error_type;
  4515.          pdu   : pdu_type) : data_type;
  4516.    primitive;
  4517.  
  4518.     { This function returns the correct data field for an error report,
  4519.     based on the information that the specified PDU is being discarded
  4520.     due to the specified error.  The data field of an error report must
  4521.     include the header of the discarded PDU, and may optionally contain
  4522.     additional user data. }
  4523.  
  4524.    function get_er_flag
  4525.         (nsdu : nsdu_type) : boolean;
  4526.    primitive;
  4527.  
  4528.     { This function returns a boolean value to be used as the error
  4529.     report flag in a PDU which transmits the specified nsdu.  If the PDU
  4530.     must be discarded at some future time, an error report can be
  4531.     returned only if this value is set to TRUE. }
  4532.  
  4533.    function get_er_lifetime
  4534.         (da : NPAI_addr_type) : integer;
  4535.    primitive;
  4536.  
  4537.     { This function returns the lifetime value to be used for an error
  4538.     report being sent to the specified destination address. }
  4539.  
  4540.    function get_er_options
  4541.         (error   : error_type;
  4542.          da      : NPAI_addr_type;
  4543.          options : options_type) : options_type;
  4544.    primitive;
  4545.  
  4546.     { This function returns the options field of an error report, based
  4547.     on the reason for discard, and the destination address and options
  4548.     field of the discarded PDU.  The options field contains the reason
  4549.     for discard option, and may contain other optional fields. }
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562. ISO DIS 8473 (May 1984)                                        [Page 74]
  4563.  
  4564.  
  4565.  
  4566.  
  4567.  
  4568. RFC 926                                                    December 1984
  4569.  
  4570.  
  4571.    function get_er_seg_per
  4572.  
  4573.         (pdu     : pdu_type) : boolean;
  4574.    primitive;
  4575.  
  4576.     { This function returns the boolean value which will be used for the
  4577.     segmentation permitted flag of an error report. }
  4578.  
  4579.    function get_header_len
  4580.         (da_len  : integer;
  4581.          sa_len  : integer;
  4582.          sp      : boolean;
  4583.          options : options_type) : integer;
  4584.    primitive;
  4585.  
  4586.     { This function returns the header length, in octets.  This depends
  4587.     upon the lengths of the source and destination addresses, whether
  4588.     the segmentation part of the header is present, and the length of
  4589.     the options part. }
  4590.  
  4591.    function get_lifetime
  4592.         (da  : NSAP_addr_type;
  4593.          qos : quality_of_service_type) : lifetime_type;
  4594.    primitive;
  4595.  
  4596.     { This function returns the lifetime value to be used for a PDU,
  4597.     based upon the destination address and requested quality of service.
  4598.     }
  4599.  
  4600.    function get_local_NPAI_addr : NPAI_addr_type;
  4601.    primitive;
  4602.  
  4603.     { This functions returns the local address as used in the protocol
  4604.     header. }
  4605.  
  4606.    function get_local_NPAI_addr_len : integer;
  4607.    primitive;
  4608.  
  4609.     { This functions returns the length of the local address as used in
  4610.     the protocol header. }
  4611.  
  4612.  
  4613.  
  4614.  
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620. ISO DIS 8473 (May 1984)                                        [Page 75]
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626. RFC 926                                                    December 1984
  4627.  
  4628.  
  4629.    function get_NPAI
  4630.         (addr : NSAP_addr_type) : NPAI_addr_type;
  4631.    primitive;
  4632.  
  4633.     { This function returns the network address as used in the protocol
  4634.     header, or "Network Protocol Addressing Information", corresponding
  4635.     to the specified NSAP address. }
  4636.  
  4637.    function get_NPAI_len
  4638.         (addr : NSAP_addr_type) : integer;
  4639.    primitive;
  4640.  
  4641.     { This function returns the length of the network address
  4642.     corresponding to a specified NSAP address. }
  4643.  
  4644.    function get_NSAP_addr
  4645.         (addr : NPAI_addr_type;
  4646.          len  : integer) : NSAP_addr_type;
  4647.    primitive;
  4648.  
  4649.     { This function returns the NSAP address corresponding to the
  4650.     network protocol addressing information (as it appears in the
  4651.     protocol header) of the specified length. }
  4652.  
  4653.    function get_options
  4654.         (da  : NSAP_addr_type;
  4655.          qos : quality_of_service_type) : options_type;
  4656.    primitive;
  4657.  
  4658.     { This function returns the options field for a PDU, based on the
  4659.     requested destination address and quality of service. }
  4660.  
  4661.    function get_seg_permitted
  4662.         (da : NSAP_addr_type;
  4663.          qos : quality_of_service_type) : boolean;
  4664.    primitive;
  4665.  
  4666.     { This function returns the boolean value to be used in the
  4667.     segmentation permitted field of a PDU.  This value may depend upon
  4668.     the destination address, requested quality of service, and the
  4669.     length of the user data. }
  4670.  
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677.  
  4678. ISO DIS 8473 (May 1984)                                        [Page 76]
  4679.  
  4680.  
  4681.  
  4682.  
  4683.  
  4684. RFC 926                                                    December 1984
  4685.  
  4686.  
  4687.    function get_sn_qos
  4688.         (subnet_id : subnet_id_type;
  4689.  
  4690.           options   : options_type) : SN_QOS_type;
  4691.    primitive;
  4692.  
  4693.     { This function returns the quality of service to be used on the
  4694.     specified subnetwork, in order to obtain the quality of service (if
  4695.     any) and other parameters requested in the options part of the PDU.
  4696.     }
  4697.  
  4698.    function get_qos
  4699.         (options : options_type) : quality_of_service_type;
  4700.    primitive;
  4701.  
  4702.     { This function determines, to the extent possible, the quality of
  4703.     service that was obtained for a particular PDU, based upon the
  4704.     quality of service and other information contained in the options
  4705.     part of the PDU header. }
  4706.  
  4707.    function make_buffer
  4708.         (data : data_type) : buffer_type;
  4709.    primitive;
  4710.  
  4711.     { This function places the specified data in a newly created buffer.
  4712.     The precise manner of handling buffers is implementation specific.
  4713.     This newly created buffer is returned as the function value. }
  4714.  
  4715.    procedure merge_seg
  4716.         (buf   : buffer_type;
  4717.          so    : integer;
  4718.          data  : data_type);
  4719.    primitive;
  4720.  
  4721.     { This procedure merges the specified data into the specified
  4722.     buffer, based on the specified segment offset of the data. }
  4723.  
  4724.    function NPAI_addr_local
  4725.         (addr : NPAI_addr_type) : boolean;
  4726.    primitive;
  4727.  
  4728.     { This function returns the boolean value TRUE only if the specified
  4729.     network protocol addressing information specifies a local address. }
  4730.  
  4731.  
  4732.  
  4733.  
  4734.  
  4735.  
  4736. ISO DIS 8473 (May 1984)                                        [Page 77]
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742. RFC 926                                                    December 1984
  4743.  
  4744.  
  4745.    function NSAP_addr_local
  4746.         (addr : NSAP_addr_type) : boolean;
  4747.    primitive;
  4748.  
  4749.     { This function returns the boolean value TRUE only if the specified
  4750.     NSAP address specifies a local address. }
  4751.  
  4752.    procedure post_error_report
  4753.         (er_pdu : pdu_type);
  4754.    primitive;
  4755.  
  4756.     { This procedure posts the specified error report (ER) type PDU to
  4757.     the appropriate local entity that handles error reports. }
  4758.  
  4759.    function route
  4760.         (hli     : integer;
  4761.          sp      : boolean;
  4762.          da      : NPAI_addr_type;
  4763.          options : options_type;
  4764.          datalen : integer) : route_result_type;
  4765.    primitive;
  4766.  
  4767.     { This function determines the route to be followed by a PDU
  4768.     segment, as well as the segment size.  Note that in general, the
  4769.     segment size and route may be mutually dependent.  This
  4770.     determination is made on the basis of the header length, the
  4771.     segmentation permitted flag, the destination address, several
  4772.     parameters (such as source routing) contained in the options part of
  4773.     the PDU header, and the length of data.  This function returns a
  4774.     structure that specifies the subnetwork on which the segment should
  4775.     be transmitted, the source and destination addresses to be used on
  4776.     the subnetwork, and the segment size.  This routine may only be
  4777.     called if the primitive function check_parameters has already
  4778.     determined that an error will not occur. }
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784.  
  4785.  
  4786.  
  4787.  
  4788.  
  4789.  
  4790.  
  4791.  
  4792.  
  4793.  
  4794. ISO DIS 8473 (May 1984)                                        [Page 78]
  4795.  
  4796.  
  4797.  
  4798.  
  4799.  
  4800. RFC 926                                                    December 1984
  4801.  
  4802.  
  4803.    function send_er_on_congestion
  4804.        (pdu : pdu_type) : boolean;
  4805.    primitive;
  4806.  
  4807.     { This function returns the boolean value true if an error report
  4808.     should be sent when the indicated data unit is discarded due to
  4809.     congestion.  Note that if the value true is returned, then the
  4810.     er_flag field of the discarded data unit must still be checked
  4811.     before an error report can be sent. }
  4812.  
  4813.    function size
  4814.        (data : data_type) : integer;
  4815.    primitive;
  4816.  
  4817.     { This function returns the length, in octets, of the specified
  4818.     data. }
  4819.  
  4820.    function size_buf
  4821.        (buf : buffer_type) : integer;
  4822.    primitive;
  4823.  
  4824.     { This function returns the length, in octets, of the data contained
  4825.     in the specified buffer. }
  4826.  
  4827.    initialize
  4828.  
  4829.     begin
  4830.         state to INITIAL;
  4831.     end;
  4832.  
  4833.  
  4834.  
  4835.  
  4836.  
  4837.  
  4838.  
  4839.  
  4840.  
  4841.  
  4842.  
  4843.  
  4844.  
  4845.  
  4846.  
  4847.  
  4848.  
  4849.  
  4850.  
  4851.  
  4852. ISO DIS 8473 (May 1984)                                        [Page 79]
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858. RFC 926                                                    December 1984
  4859.  
  4860.  
  4861.    trans  (* begin transitions *)
  4862.  
  4863.    from INITIAL  to  CLOSED
  4864.    when      N.UNITDATA_request
  4865.    provided  not NSAP_addr_local(NS_Destination_Address)
  4866.  
  4867.    begin
  4868.      nsdu.da   := NS_Destination_Address;
  4869.      nsdu.sa   := NS_Source_Address;
  4870.      nsdu.qos  := NS_Quality_o  _Service;
  4871.      nsdu.data := NS_Userdata;
  4872.  
  4873.      pdu.nlp_id   := ISO_8473_protocol_id;
  4874.      pdu.vp_id    := version1;
  4875.      pdu.lifetime := get_lifetime(nsdu.da, nsdu.qos);
  4876.      pdu.sp       := get_seg_permitted(nsdu.da, nsdu.qos);
  4877.      pdu.ms       := FALSE;
  4878.      pdu.er_flag  := get_er_flag(nsdu);
  4879.      pdu.pdu_tp   := DT;
  4880.      pdu.da_len   := get_NPAI_len(nsdu.da);
  4881.      pdu.da       := get_NPAI(nsdu.da);
  4882.      pdu.sa_len   := get_NPAI_len(nsdu.sa);
  4883.      pdu.sa       := get_NPAI(nsdu.sa);
  4884.      pdu.options  := get_options(nsdu.da, nsdu.qos);
  4885.      pdu.data     := nsdu.data;
  4886.  
  4887.      pdu.hli      := get_header_len(pdu.da_len,
  4888.                                     pdu.sa_len,
  4889.                                     pdu.sp,
  4890.                                     pdu.options);
  4891.  
  4892.      if (pdu.sp) then
  4893.            begin
  4894.              pdu.du_id    := get_data_unit_id(pdu.da);
  4895.              pdu.so       := ZERO;
  4896.              pdu.tot_len  := pdu.hli  +  size(pdu.data);
  4897.            end;
  4898.  
  4899.      if (size(pdu.data) > max_user_data) then
  4900.            send_error_report(TOO_MUCH_USER_DATA, pdu)
  4901.      else
  4902.            send_pdu(pdu);
  4903.    end;
  4904.  
  4905.  
  4906.  
  4907.  
  4908.  
  4909.  
  4910. ISO DIS 8473 (May 1984)                                        [Page 80]
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916. RFC 926                                                    December 1984
  4917.  
  4918.  
  4919.    from INITIAL  to  CLOSED
  4920.    when      N.UNITDATA_request
  4921.    provided  NSAP_addr_local(NS_Destination_Address)
  4922.  
  4923.    begin
  4924.      nsdu.da   := NS_Destination_Address;
  4925.      nsdu.sa   := NS_Source_Address;
  4926.      nsdu.qos  := NS_Quality_of_Service;
  4927.      nsdu.data := NS_Userdata;
  4928.  
  4929.      out N.UNITDATA_indication
  4930.          (nsdu.da, nsdu.sa, nsdu.qos, nsdu.data);
  4931.  
  4932.    end;
  4933.  
  4934.    from INITIAL  to  CLOSED
  4935.    when      SN[subnet_id].UNITDATA_indication
  4936.    provided  NPAI_addr_local(SN_Userdata.da)  and
  4937.              SN_Userdata.so       =  ZERO     and
  4938.              not  SN_Userdata.ms
  4939.  
  4940.    begin
  4941.      pdu := SN_Userdata;
  4942.  
  4943.      if (pdu.pdu_tp = DT) then
  4944.          out N.UNITDATA_indication
  4945.             (get_NSAP_addr(pdu.da_len, pdu.da),
  4946.              get_NSAP_addr(pdu.sa_len, pdu.sa),
  4947.              get_qos(pdu.options),
  4948.              pdu.data)
  4949.  
  4950.      else
  4951.          post_error_report(pdu);
  4952.  
  4953.    end;
  4954.  
  4955.  
  4956.  
  4957.  
  4958.  
  4959.  
  4960.  
  4961.  
  4962.  
  4963.  
  4964.  
  4965.  
  4966.  
  4967.  
  4968. ISO DIS 8473 (May 1984)                                        [Page 81]
  4969.  
  4970.  
  4971.  
  4972.  
  4973.  
  4974. RFC 926                                                    December 1984
  4975.  
  4976.  
  4977.    from INITIAL  to  REASSEMBLING
  4978.    when      SN[subnet_id].UNITDATA_indication
  4979.    provided  NPAI_addr_local(SN_Userdata.da)    and
  4980.              ((SN_Userdata.so > ZERO) or (SN_Userdata.ms))
  4981.  
  4982.    begin
  4983.      pdu := SN_Userdata;
  4984.      allocate_reassembly_resources(pdu.tot_len);
  4985.      empty_buffer(rcv_buf);
  4986.  
  4987.      merge_seg
  4988.         (rcv_buf,
  4989.          pdu.so,
  4990.          pdu.data);
  4991.  
  4992.      out S.TIMER_request
  4993.         (pdu.lifetime,
  4994.          lifetime_timer,
  4995.          ZERO);
  4996.  
  4997.    end;
  4998.  
  4999.    from INITIAL  to  CLOSED
  5000.    when      SN[subnet_id].UNITDATA_indication
  5001.    provided  not NPAI_addr_local(SN_Userdata.da)
  5002.  
  5003.    begin
  5004.      pdu := SN_Userdata;
  5005.  
  5006.      if (pdu.lifetime > elapsed_time) then
  5007.        begin
  5008.          pdu.lifetime := pdu.lifetime - elapsed_time;
  5009.          send_pdu(pdu);
  5010.        end
  5011.    else
  5012.        send_error_report(LIFETIME_EXPIRED, pdu);
  5013.  
  5014.    end;
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.  
  5021.  
  5022.  
  5023.  
  5024.  
  5025.  
  5026. ISO DIS 8473 (May 1984)                                        [Page 82]
  5027.  
  5028.  
  5029.  
  5030.  
  5031.  
  5032. RFC 926                                                    December 1984
  5033.  
  5034.  
  5035.    from REASSEMBLING  to  REASSEMBLING
  5036.    when      SN[subnet_id].UNITDATA_indication
  5037.    provided  (SN_Userdata.du_id   = pdu.du_id)   and
  5038.              (SN_Userdata.da_len  = pdu.da_len)  and
  5039.              (SN_Userdata.da      = pdu.da)      and
  5040.              (SN_Userdata.sa_len  = pdu.sa_len)  and
  5041.              (SN_Userdata.sa      = pdu.sa)
  5042.  
  5043.    begin
  5044.      merge_seg
  5045.         (rcv_buf,
  5046.          SN_Userdata.so,
  5047.          SN_Userdata.data);
  5048.  
  5049.    end;
  5050.  
  5051.    from REASSEMBLING  to  CLOSED
  5052.    provided  data_unit_complete(rcv_buf)
  5053.    no delay
  5054.  
  5055.    begin
  5056.      if (pdu.pdu_tp = DT) then
  5057.          out N.UNITDATA_indication
  5058.             (get_NSAP_addr(pdu.da_len, pdu.da),
  5059.              get_NSAP_addr(pdu.sa_len, pdu.sa),
  5060.              get_qos(pdu.options),
  5061.              extract (rcv_buf, size_buf(rcv_buf)))
  5062.     else
  5063.         post_error_report(pdu);
  5064.     out S.TIMER_cancel(lifetime_timer,ZERO);
  5065.     free_reassembly_resources;
  5066.  
  5067.    end;
  5068.  
  5069.    from REASSEMBLING  to  CLOSED
  5070.    when      S.TIMER_indication
  5071.  
  5072.    begin
  5073.      send_error_report(LIFETIME_EXPIRED, pdu);
  5074.  
  5075.    end;
  5076.  
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084. ISO DIS 8473 (May 1984)                                        [Page 83]
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090. RFC 926                                                    December 1984
  5091.  
  5092.  
  5093. 9  CONFORMANCE
  5094.  
  5095.  For conformance to this International Standard, the ability to
  5096.  originate, manipulate, and receive PDUs in accordance with the full
  5097.  protocol (as opposed to the "non-segmenting" or "Inactive Network Layer
  5098.  Protocol" subsets) is required.
  5099.  
  5100.  Additionally, the provision of the optional functions described in
  5101.  Section 6.17 and enumerated in Table 9-1 must meet the requirements
  5102.  described therein.
  5103.  
  5104.  Additionally, conformance to the Standard requires adherence to the
  5105.  formal description of Section 8 and to the structure and encoding of
  5106.  PDUs of Section 7.
  5107.  
  5108.  If and only if the above requirements are met is there conformance to
  5109.  this International Standard.
  5110.  
  5111.  9.1  Provision of Functions for Conformance
  5112.  
  5113.   The following table categorizes the functions in Section 6 with
  5114.   respect to the type of system providing the function:
  5115.  
  5116.  
  5117.  
  5118.  
  5119.  
  5120.  
  5121.  
  5122.  
  5123.  
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133.  
  5134.  
  5135.  
  5136.  
  5137.  
  5138.  
  5139.  
  5140.  
  5141.  
  5142. ISO DIS 8473 (May 1984)                                        [Page 84]
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148. RFC 926                                                    December 1984
  5149.  
  5150.  
  5151.   +---------------------------------------------------------+
  5152.   | Function                   |  Send  | Forward | Receive |
  5153.   |---------------------------------------------------------|
  5154.   | PDU Composition            |   M    |    -    |    -    |
  5155.   | PDU Decomposition          |   M    |    -    |    M    |
  5156.   | Header Format Analysis     |   -    |    M    |    M    |
  5157.   | PDU Lifetime Control       |   -    |    M    |    I    |
  5158.   | Route PDU                  |   -    |    M    |    -    |
  5159.   | Forward PDU                |   M    |    M    |    -    |
  5160.   | Segment PDU                |   M    | (note 1)|    -    |
  5161.   | Reassemble PDU             |   -    |    I    |    M    |
  5162.   | Discard PDU                |   -    |    M    |    M    |
  5163.   | Error Reporting            |   -    |    M    |    M    |
  5164.   | PDU Header Error Detection |   M    |    M    |    M    |
  5165.   | Padding                    |(note 2)| (note 2)| (note 2)|
  5166.   | Security                   |   -    | (note 3)| (note 3)|
  5167.   | Complete Source Routing    |   -    | (note 3)|    -    |
  5168.   | Partial Source Routing     |   -    | (note 4)|    -    |
  5169.   | Record Route               |   -    | (note 4)|    -    |
  5170.   | QoS Maintenance            |   -    | (note 4)|    -    |
  5171.   +---------------------------------------------------------+
  5172.  
  5173.                 Table 9-1.  Categorization of Functions
  5174.  
  5175.   +---------------------------------------------------------+
  5176.   | KEY:                                                    |
  5177.   |       M : Mandatory Function; must be implemented       |
  5178.   |       - : Not applicable                                |
  5179.   |       I : Implementation option, as described in text   |
  5180.   +---------------------------------------------------------+
  5181.  
  5182.   Notes:
  5183.  
  5184.    1)  The Segment PDU function is in general mandatory for an
  5185.        intermediate system. However, a system which is to be connected
  5186.        only to subnetworks all offering the same maximum SNSDU size
  5187.        (such as identical Local Area Networks) will not need to perform
  5188.        this function and therefore does not need to implement it.
  5189.  
  5190.        If this function is not implemented, this shall be stated as part
  5191.        of the specification of the implementation.
  5192.  
  5193.  
  5194.  
  5195.  
  5196.  
  5197.  
  5198.  
  5199.  
  5200. ISO DIS 8473 (May 1984)                                        [Page 85]
  5201.  
  5202.  
  5203.  
  5204.  
  5205.  
  5206. RFC 926                                                    December 1984
  5207.  
  5208.  
  5209.    2)  The correct treatment of the padding function requires no
  5210.        processing. A conforming implementation shall support the
  5211.        function, to the extent of ignoring this parameter wherever it
  5212.        may appear.
  5213.  
  5214.    3)  This function may or may not be supported. If an implementation
  5215.        does not support this function, and the function is selected by a
  5216.        PDU, then the PDU shall be discarded, and an ER PDU shall be
  5217.        generated and forwarded to the originating network-entity if the
  5218.        Error Report flag is set.
  5219.  
  5220.    4)  This function may or may not be supported. If an implementation
  5221.        does not support this function, and the function is selected by a
  5222.        PDU, then the function is not provided and the PDU is processed
  5223.        exactly as though the function was not selected. The PDU shall
  5224.        not be discarded.
  5225.  
  5226.  
  5227.  
  5228.  
  5229.  
  5230.  
  5231.  
  5232.  
  5233.  
  5234.  
  5235.  
  5236.  
  5237.  
  5238.  
  5239.  
  5240.  
  5241.  
  5242.  
  5243.  
  5244.  
  5245.  
  5246.  
  5247.  
  5248.  
  5249.  
  5250.  
  5251.  
  5252.  
  5253.  
  5254.  
  5255.  
  5256.  
  5257.  
  5258. ISO DIS 8473 (May 1984)                                        [Page 86]
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264. RFC 926                                                    December 1984
  5265.  
  5266.  
  5267.                                 ANNEXES
  5268.  
  5269.  (These annexes are provided for information for implementors and are
  5270.  not an integral part of the body of the Standard.)
  5271.  
  5272.                 ANNEX A.  SUPPORTING TECHNICAL MATERIAL
  5273.  
  5274.  A.1  Data Unit Lifetime
  5275.  
  5276.   There are two primary purposes of providing a PDU lifetime capability
  5277.   in the ISO 8473 Protocol. One purpose is to ensure against unlimited
  5278.   looping of protocol data units. Although the routing algorithm should
  5279.   ensure that it will be very rare for data to loop, the PDU lifetime
  5280.   field provides additional assurance that loops will be limited in
  5281.   extent.
  5282.  
  5283.   The other important purpose of the lifetime capability is to provide
  5284.   for a means by which the originating network entity can limit the
  5285.   Maximum NSDU lifetime. ISO Transport Protocol Class 4 assumes that
  5286.   there is a particular Maximum NSDU Lifetime in order to protect
  5287.   against certain error states in the connection establishment and
  5288.   termination phases. If a TPDU does not arrive within this time, then
  5289.   there is no chance that it will ever arrive. It is necessary to make
  5290.   this assumption, even if the Network Layer does not guarantee any
  5291.   particular upper bound on NSDU lifetime. It is much easier for
  5292.   Transport Protocol Class 4 to deal with occasional lost TPDUs than to
  5293.   deal with occasional very late TPDUs. For this reason, it is
  5294.   preferable to discard very late TPDUs than to deliver them. Note that
  5295.   NSDU lifetime is not directly associated with the retransmission of
  5296.   lost TPDUs, but relates to the problem of distinguishing old
  5297.   (duplicate) TPDUs from new TPDUs.
  5298.  
  5299.   Maximum NSDU Lifetime must be provided to transport protocol entity in
  5300.   units of time; a transport entity cannot count "hops". Thus NSDU
  5301.   lifetime must be calculated in units of time in order to be useful in
  5302.   determining Transport timer values.
  5303.  
  5304.   In the absence of any guaranteed bound, it is common to simply guess
  5305.   some value which seems like a reasonable compromise. In essence one is
  5306.   simply assuming that "surely no TPDU would ever take more than 'x'
  5307.   seconds to traverse the network." This value is probably chosen by
  5308.   observation of past performance, and may
  5309.  
  5310.  
  5311.  
  5312.  
  5313.  
  5314.  
  5315.  
  5316. ISO DIS 8473 (May 1984)                                        [Page 87]
  5317.  
  5318.  
  5319.  
  5320.  
  5321.  
  5322. RFC 926                                                    December 1984
  5323.  
  5324.  
  5325.   vary with source and destination.
  5326.  
  5327.   Three possible ways to deal with the requirement for a limit on the
  5328.   maximum NSDU lifetime are: (1) specify lifetime in units of time,
  5329.   thereby requiring intermediate systems to decrement the lifetime field
  5330.   by a value which is an upper bound on the time spent since the
  5331.   previous intermediate system, and have the Network Layer discard
  5332.   protocol data units whose lifetime has expired; (2) provide a
  5333.   mechanism in the Transport Layer to recognize and discard old TPDUs;
  5334.   or (3) ignore the problem, anticipating that the resulting
  5335.   difficulties will be rare. Which solution should be followed depends
  5336.   in part upon how difficult it is to implement solutions (1) and (2),
  5337.   and how strong the transport requirement for a bounded time to live
  5338.   really is.
  5339.  
  5340.   There is a problem with solution (2) above, in that transport entities
  5341.   are inherently transient. In case of a computer system outage or other
  5342.   error, or in the case where one of the two endpoints of a connection
  5343.   closes without waiting for a sufficient period of time (approximately
  5344.   twice Maximum NSDU Lifetime), it is possible for the Transport Layer
  5345.   to have no way to know whether a particular TPDU is old unless
  5346.   globally synchronized clocks are used (which is unlikely). On the
  5347.   other hand, it is expected that intermediate systems will be
  5348.   comparatively stable. In addition, even if intermediate systems do
  5349.   fail and resume processing without memory of the recent past, it will
  5350.   still be possible (in most instances) for the intermediate system to
  5351.   easily comply with lifetime in units of time, as discussed below.
  5352.  
  5353.   It is not necessary for each intermediate system to subtract a precise
  5354.   measure of the time that has passed since an NPDU (containing the TPDU
  5355.   or a segment thereof) has left the previous intermediate system. It is
  5356.   sufficient to subtract an upper bound on the time taken. In most
  5357.   cases, an intermediate system may simply subtract a constant value
  5358.   which depends upon the typical near-maximum delays that are
  5359.   encountered in a specific subnetwork. It is only necessary to make an
  5360.   accurate estimate on a per NPDU basis for those subnetworks which have
  5361.   both a relatively large maximum delay, and a relatively large
  5362.   variation in delay.
  5363.  
  5364.   As an example, assume that a particular local area network has short
  5365.   average delays, with overall delays generally in the 1 to 5
  5366.  
  5367.  
  5368.  
  5369.  
  5370.  
  5371.  
  5372.  
  5373.  
  5374. ISO DIS 8473 (May 1984)                                        [Page 88]
  5375.  
  5376.  
  5377.  
  5378.  
  5379.  
  5380. RFC 926                                                    December 1984
  5381.  
  5382.  
  5383.   millisecond range and with occasional delays up to 20 milliseconds. In
  5384.   this case, although the relative range in delays might be large (a
  5385.   factor of 20), it would still not be necessary to measure the delay
  5386.   for actual NPDUs. A constant value of 20 milliseconds (or more) can be
  5387.   subtracted for all delays ranging from .5 seconds to .6 seconds (.5
  5388.   seconds for the propagation delay, 0 to .1 seconds for queueing delay)
  5389.   then the constant value .6 seconds could be used.
  5390.  
  5391.   If a third subnetwork had normal delays ranging from .1 to 1 second,
  5392.   but occasionally delivered an NPDU after a delay of 15 seconds, the
  5393.   intermediate system attached to this subnetwork might be required to
  5394.   determine how long it has actually take the PDU to transit the
  5395.   subnetwork. In this last example, it is likely to be more useful to
  5396.   have the intermediate systems determine when the delays are extreme ad
  5397.   discard very old NPDUs, as occasional large delays are precisely what
  5398.   causes the Transport Protocol the most trouble.
  5399.  
  5400.   In addition to the time delay within each subnetwork, it is important
  5401.   to consider the time delay within intermediate systems. It should be
  5402.   relatively simple for those gateways which expect to hold on to some
  5403.   data-units for significant periods of time to decrement the lifetime
  5404.   appropriately.
  5405.  
  5406.   Having observed that (i) the Transport Protocol requires Maximum NSDU
  5407.   to be calculated in units of time; (ii) in the great majority of
  5408.   cases, it is not difficult for intermediate systems to determine a
  5409.   valid upper bound on subnetwork transit time; and (iii) those few
  5410.   cases where the gateways must actually measure the time take by a NPDU
  5411.   are precisely the cases where such measurement truly needs to be made,
  5412.   it can be concluded that NSDU lifetime should in fact be measured in
  5413.   units of time, and that intermediate systems should required to
  5414.   decrement the lifetime field of the ISO 8473 Protocol by a value which
  5415.   represents an upper bound on the time actually taken since the
  5416.   lifetime field was last decremented.
  5417.  
  5418.  A.2  Reassembly Lifetime Control
  5419.  
  5420.   In order to ensure a bound on the lifetime of NSDUs, and to
  5421.   effectively manage reassembly buffers in the Network Layer, the
  5422.   Reassembly Function described in Section 6 must control the
  5423.  
  5424.  
  5425.  
  5426.  
  5427.  
  5428.  
  5429.  
  5430.  
  5431.  
  5432. ISO DIS 8473 (May 1984)                                        [Page 89]
  5433.  
  5434.  
  5435.  
  5436.  
  5437.  
  5438. RFC 926                                                    December 1984
  5439.  
  5440.  
  5441.   lifetime of segments representing partially assembled PDUs. This annex
  5442.   discusses methods of bounding reassembly lifetime and suggests some
  5443.   implementation guidelines for the reassembly function.
  5444.  
  5445.   When segments of a PDU arrive at a destination network-entity, they
  5446.   are buffered until an entire PDU is received, assembled, and passed to
  5447.   the PDU Decomposition Function. The connectionless Internetwork
  5448.   Protocol does not guarantee the delivery of PDUs; hence, it is
  5449.   possible for some segments of a PDU to be lost or delayed such that
  5450.   the entire PDU cannot be assembled in a reasonable length of time. In
  5451.   the case of loss of a PDU "segment", for example, this could be
  5452.   forever. There are a number of possible schemes to prevent this:
  5453.  
  5454.    a)  Per-PDU reassembly timers,
  5455.  
  5456.    b)  Extension of the PDU Lifetime control function, and
  5457.  
  5458.    c)  Coupling of the Transport Retransmission timers.
  5459.  
  5460.   Each of these methods is discussed in the subsections which follow.
  5461.  
  5462.   A.2.1  Method (a)
  5463.  
  5464.    assigns a "reassembly lifetime" to each PDU received and identified
  5465.    by its Data-unit Identifier. This is a local, real time which is
  5466.    assigned by the reassembly function and decremented while some, but
  5467.    not all segments of the PDU are being buffered by the destination
  5468.    network-entity. If the timer expires, all segments of the PDU are
  5469.    discarded, thus freeing the reassembly buffers and preventing a "very
  5470.    old" PDU from being confused with a newer one bearing the same
  5471.    Data-unit Identifier. For this scheme to function properly, the
  5472.    timers must be assigned in such a fashion as to prevent the
  5473.    phenomenon of Reassembly Interference (discussed below). In
  5474.    particular, the following guidelines should be followed:
  5475.  
  5476.     1)  The Reassembly Lifetime must be much less than the maximum PDU
  5477.         lifetime of the network (to prevent the confusion of old and new
  5478.         data-units).
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486.  
  5487.  
  5488.  
  5489.  
  5490. ISO DIS 8473 (May 1984)                                        [Page 90]
  5491.  
  5492.  
  5493.  
  5494.  
  5495.  
  5496. RFC 926                                                    December 1984
  5497.  
  5498.  
  5499.     2)  The lifetime should be less than the Transport protocol's
  5500.         retransmission timers minus the average transit time of the
  5501.         network. If this is not done, extra buffers are tied up holding
  5502.         data which has already been retransmitted by the Transport
  5503.         Protocol. (Note that an assumption has been made that such
  5504.         timers are integral to the Transport Protocol, which in some
  5505.         sense, dictates that retransmission functions must exist in the
  5506.         Transport Protocol employed).
  5507.  
  5508.   A.2.2  Method (b)
  5509.  
  5510.    is feasible if the PDU lifetime control function operates based on
  5511.    real or virtual time rather than hop-count. In this scheme, the
  5512.    lifetime field of all PDU segments of a Data-unit continues to be
  5513.    decremented by the reassembly function of the destination
  5514.    network-entity as if the PdU were still in transit (in a sense, it
  5515.    still is). When the lifetime of any segment of a partially
  5516.    reassembled PDU expires, all segments of that PDU are discarded. This
  5517.    scheme is attractive since the delivery behavior of the ISO 8473
  5518.    Protocol would be identical for segmented and unsegmented PDUs.
  5519.  
  5520.   A.2.3  Method (c)
  5521.  
  5522.    couples the reassembly lifetime directly to the Transport Protocol's
  5523.    retransmission timers, and requires that Transport Layer management
  5524.    make known to Network Layer Management (and hence, the Reassembly
  5525.    Function) the values of its retransmission timers for each source
  5526.    from which it expects to be receiving traffic. When a PDU segment is
  5527.    received from a source, the retransmission time minus the anticipated
  5528.    transit time becomes the reassembly lifetime of that PDU. If this
  5529.    timer expires before the entire PDU has been reassembled, all
  5530.    segments of the PDU are discarded. This scheme is attractive since it
  5531.    has a low probability of holding PDU segments that have already been
  5532.    retransmitted by the source Transport-entity; it has, however, the
  5533.    disadvantage of depending on reliable operation of the Transport
  5534.    Protocol to work effectively. If the retransmission timers are not
  5535.    set correctly, it is possible that all PDUs would be discarded too
  5536.    soon, and the Transport Protocol would make no progress.
  5537.  
  5538.  A.3  The Power of the Header Error Detection Function
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548. ISO DIS 8473 (May 1984)                                        [Page 91]
  5549.  
  5550.  
  5551.  
  5552.  
  5553.  
  5554. RFC 926                                                    December 1984
  5555.  
  5556.  
  5557.   A.3.1  General
  5558.  
  5559.    The form of the checksum used for PDU header error detection is such
  5560.    that it is easily calculated in software or firmware using only two
  5561.    additions per octet of header, yet it has an error detection power
  5562.    approaching (but not quite equalling) that of techniques (such as
  5563.    cyclic polynomial checks) which involve calculations that are much
  5564.    more time- or space-consuming. This annex discusses the power of this
  5565.    error detection function.
  5566.  
  5567.    The checksum consists of two octets, either of which can assume any
  5568.    value except zero. That is, 255 distinct values for each octet are
  5569.    possible. The calculation of the two octets is such that the value of
  5570.    either is independent of the value of the other, so the checksum has
  5571.    a total of 255 x 255 = 65025 values. If one considers all ways in
  5572.    which the PDU header might be corrupted as equally likely, then there
  5573.    is only one chance in 65025 that the checksum will have the correct
  5574.    value for any particular corruption. This corresponds to 0.0015  of
  5575.    all possible errors.
  5576.  
  5577.    The remainder of this annex considers particular classes of errors
  5578.    that are likely to be encountered. The hope is that the error
  5579.    detection function will be found to be more powerful, or at least no
  5580.    less powerful, against these classes as compared to errors in
  5581.    general.
  5582.  
  5583.   A.3.2  Bit Alteration Errors
  5584.  
  5585.    First considered are classes of errors in which bits are altered, but
  5586.    no bits are inserted nor deleted. This section does not consider the
  5587.    case where the checksum itself is erroneously set to be all zero;
  5588.    this case is discussed in section A.3.4.
  5589.  
  5590.    A burst error of length b is a corruption of the header in which all
  5591.    of the altered bits (no more than b in number) are within a single
  5592.    span of consecutively transmitted bits that is b bits long. Checksums
  5593.    are usually expected to do well against burst errors of a length not
  5594.    exceeding the number of bits in the header error detection parameter
  5595.    (16 for the PDU header). The PDU header error detection parameter in
  5596.    fact fails to detect only 0.000019  of all such errors, each distinct
  5597.    burst error of length 16 or less being considered to be equally
  5598.    likely. In particular,
  5599.  
  5600.  
  5601.  
  5602.  
  5603.  
  5604.  
  5605.  
  5606. ISO DIS 8473 (May 1984)                                        [Page 92]
  5607.  
  5608.  
  5609.  
  5610.  
  5611.  
  5612. RFC 926                                                    December 1984
  5613.  
  5614.  
  5615.    it cannot detect an 8-bit burst in which an octet of zero is altered
  5616.    to an octet of 255 (all bits = 1) or vice versa. Similarly, it fails
  5617.    to detect the swapping of two adjacent octets only if one is zero and
  5618.    the other is 255.
  5619.  
  5620.    The PDU header error detection, as should be expected, detects all
  5621.    errors involving only a single altered bit.
  5622.  
  5623.    Undetected errors involving only two altered bits should occur only
  5624.    if the two bits are widely separated (and even then only rarely). The
  5625.    PDU header error detection detects all double bit errors for which
  5626.    the spacing between the two altered bits is less than 2040 bits = 255
  5627.    octets. Since this separation exceeds the maximum header length, all
  5628.    double bit errors are detected.
  5629.  
  5630.    The power to detect double bit errors is an advantage of the checksum
  5631.    algorithm used for the protocol, versus a simple modulo 65536
  5632.    summation of the header split into 16 bit fields. This simple
  5633.    summation would not catch all such double bit errors. In fact, double
  5634.    bit errors with a spacing as little as 16 bits apart could go
  5635.    undetected.
  5636.  
  5637.   A.3.3  Bit Insertion/Deletion Errors
  5638.  
  5639.    Although errors involving the insertion or deletion of bits are in
  5640.    general neither more nor less likely to go undetected than are all
  5641.    other kinds of general errors, at least one class of such errors is
  5642.    of special concern. If octets, all equal to either zero or 255, are
  5643.    inserted at a point such that the simple sum CO in the running
  5644.    calculation (described in Annex C) happens to equal zero, then the
  5645.    error will go undetected. This is of concern primarily because there
  5646.    are two points in the calculation for which this value for the sum is
  5647.    not a rare happenstance, but is expected; namely, at the beginning
  5648.    and the end. That is, if the header is preceded or followed by
  5649.    inserted octets all equal to zero or 255 then no error is detected.
  5650.    Both cases are examined separately.
  5651.  
  5652.    Insertion of erroneous octets at the beginning of the header
  5653.    completely misaligns the header fields, causing them to be
  5654.    misinterpreted. In particular, the first inserted octet is
  5655.    interpreted as the network layer protocol identifier, probably
  5656.    eliminating any knowledge that the data unit is related to the
  5657.  
  5658.  
  5659.  
  5660.  
  5661.  
  5662.  
  5663.  
  5664. ISO DIS 8473 (May 1984)                                        [Page 93]
  5665.  
  5666.  
  5667.  
  5668.  
  5669.  
  5670. RFC 926                                                    December 1984
  5671.  
  5672.  
  5673.    ISO 8473 Protocol, and thereby eliminating any attempt to perform the
  5674.    checksum calculation or invoking a different form of checksum
  5675.    calculation. An initial octet of zero is reserved for the Inactive
  5676.    Network Layer Protocol. This is indeed a problem but not one which
  5677.    can be ascribed to the form of checksum being used. Therefore, it is
  5678.    not discussed further here.
  5679.  
  5680.    Insertion of erroneous octets at the end of the header, in the
  5681.    absence of other errors, is impossible because the length field
  5682.    unequivocally defines where the header ends. Insertion or deletion of
  5683.    octets at the end of the header requires an alteration in the value
  5684.    of the octet defining the header length. Such an alteration implies
  5685.    that the value of the calculated sum at the end of the header would
  5686.    not be expected to have the dangerous value of zero and consequently
  5687.    that the error is just as likely to be detected as is any error in
  5688.    general.
  5689.  
  5690.    Insertion of an erroneous octet in the middle of the header is
  5691.    primarily of concern if the inserted octet has either the value zero
  5692.    or 255, and if the variable CO happens to have the value zero at this
  5693.    point. In most cases, this error will completely destroy the parsing
  5694.    of the header, which will cause the data unit to e discarded. In
  5695.    addition, in the absence of any other error, the last octet of the
  5696.    header will be thought to be data. This in turn will cause the header
  5697.    to end in the wrong place. In the case where the header otherwise can
  5698.    parse correctly, the last field will be found to be missing. Even in
  5699.    the case where necessary, the length field is the padding option, and
  5700.    therefore not necessary, the length field for the padding function
  5701.    will be inconsistent with the header length field, and therefore the
  5702.    error can be detected.
  5703.  
  5704.   A.3.4  Checksum Non-calculation Errors
  5705.  
  5706.    Use of the header error detection function is optional. The choice of
  5707.    not using it is indicated by a checksum parameter value of zero. This
  5708.    creates the possibility that the two octets of the checksum parameter
  5709.    (neither of which is generated as being zero) could both be altered
  5710.    to zero. This would in effect be an error not detected by the
  5711.    checksum since the check would not be made. One of three
  5712.    possibilities exists:
  5713.  
  5714.     1)  A burst error of length sixteen (16) which sets the entire
  5715.  
  5716.  
  5717.  
  5718.  
  5719.  
  5720.  
  5721.  
  5722. ISO DIS 8473 (May 1984)                                        [Page 94]
  5723.  
  5724.  
  5725.  
  5726.  
  5727.  
  5728. RFC 926                                                    December 1984
  5729.  
  5730.  
  5731.     checksum to zero. Such an error could not be detected; however, it
  5732.         requires a particular positioning of the burst within the
  5733.         header. [A calculation of its effect on overall detectability of
  5734.         burst errors depends upon the length of the header.]
  5735.  
  5736.     2)  All single bit errors are detected. Since both octets of the
  5737.         checksum field must be non-zero when the checksum is being used,
  5738.         no single bit error can set the checksum to zero.
  5739.  
  5740.     3)  Where each of the two octets of the checksum parameter has a
  5741.         value that is a power of two, such that only one bit in each
  5742.         equals one (1), then a zeroing of the checksum parameter could
  5743.         result in an undetected double bit error. Furthermore, the two
  5744.         altered bits have a separation of less than sixteen (16), and
  5745.         could be consecutive. This is clearly a decline from the
  5746.         complete detectability previously described.
  5747.  
  5748.    Where a particular administration is highly concerned about the
  5749.    possibility of accidental zeroing of the checksum among data units
  5750.    within its domain, then the administration may impose the restriction
  5751.    that all data units whose source or destination lie within its domain
  5752.    must make use of the header error detection function. Any data units
  5753.    which do not could be discarded, nor would they be allowed outside
  5754.    the domain. This protects against errors that occur within the
  5755.    domain, and would protect all data units whose source or destination
  5756.    lies within the domain, even where the data path between all such
  5757.    pairs crosses other domains (errors outside the protected domain
  5758.    notwithstanding).
  5759.  
  5760.  
  5761.  
  5762.  
  5763.  
  5764.  
  5765.  
  5766.  
  5767.  
  5768.  
  5769.  
  5770.  
  5771.  
  5772.  
  5773.  
  5774.  
  5775.  
  5776.  
  5777.  
  5778.  
  5779.  
  5780. ISO DIS 8473 (May 1984)                                        [Page 95]
  5781.  
  5782.  
  5783.  
  5784.  
  5785.  
  5786. RFC 926                                                    December 1984
  5787.  
  5788.  
  5789.                       ANNEX B.  NETWORK MANAGEMENT
  5790.  
  5791.  The following topics are considered to be major components of Network
  5792.  Layer management:
  5793.  
  5794.   A.  Routing
  5795.  
  5796.    Considered by many to be the most crucial element of Network Layer
  5797.    management, since management of the Routing algorithms for networking
  5798.    seem to be an absolutely necessary prerequisite to a practical
  5799.    networking scheme.
  5800.  
  5801.    Routing management consists of three parts; forwarding, decision, and
  5802.    update. Management of forwarding is the process of interpreting the
  5803.    Network Layer address to properly forward NSDUs on its next network
  5804.    hop on a route through the network. Management of decision is the
  5805.    process of choosing routes for either connections or NSDUs, depending
  5806.    on whether the network is operating a connection-oriented or
  5807.    connectionless protocol. The decision component will be driven by a
  5808.    number of considerations, not the least of which are those associated
  5809.    with Quality of Service. Management of update is the management
  5810.    protocol(s) used to exchange information among
  5811.    intermediate-systems/network- entities which is used in the decision
  5812.    component to determine routes.
  5813.  
  5814.    To what extent is it desirable and/or practical to pursue a single
  5815.    OSI network routing algorithm and associated Management protocol(s)?
  5816.    It is generally understood that it is impractical to expect ISO to
  5817.    adopt a single global routing algorithm. On the other hand, it is
  5818.    recognized that having no standard at all upon which to make routing
  5819.    decisions effectively prevents an internetwork protocol from working
  5820.    at all. One possible compromise would be to define the principles for
  5821.    the behavior of an internetwork routing algorithm. A possible next
  5822.    step would be to specify the types of information that must be
  5823.    propagated among the intermediate-systems/network-entities via their
  5824.    update procedures. The details of the updating protocol might then be
  5825.    left to bilateral agreements among the cooperating administrations.
  5826.  
  5827.  
  5828.  
  5829.  
  5830.  
  5831.  
  5832.  
  5833.  
  5834.  
  5835.  
  5836.  
  5837.  
  5838. ISO DIS 8473 (May 1984)                                        [Page 96]
  5839.  
  5840.  
  5841.  
  5842.  
  5843.  
  5844. RFC 926                                                    December 1984
  5845.  
  5846.  
  5847.   B.  Statistical Analysis
  5848.  
  5849.    These management functions relate to the gathering and reporting of
  5850.    information about the real-time behavior of the global network. They
  5851.    consist of Data counts such as number of PDUs forwarded, entering
  5852.    traffic, etc., and Event Counts such as topology changes, quality of
  5853.    service changes, etc.
  5854.  
  5855.   C.  Network Control
  5856.  
  5857.    These management functions are those related to the control of the
  5858.    global network, and possibly could be performed by a Network Control
  5859.    Center(s). The control functions needed are not al all clear. Neither
  5860.    are the issues relating to what organization(s) is/are responsible
  5861.    for the management of the environment. Should there be a Network
  5862.    Control Center distinct from those provided by the subnetwork
  5863.    administrations? What subnetwork management information is needed by
  5864.    the network management components to perform their functions?
  5865.  
  5866.   D.  Directory Mapping Functions
  5867.  
  5868.    Does the Network layer contain a Directory function as defined in the
  5869.    Reference Model? Current opinion is that the Network Layer restricts
  5870.    itself to the function of mapping NSAP addresses to routes.
  5871.  
  5872.   E.  Congestion Control
  5873.  
  5874.    Does this come under the umbrella of Network Layer management? How?
  5875.  
  5876.   F.  Configuration Control
  5877.  
  5878.    This is tightly associated with the concepts of Resource Management,
  5879.    and is generally considered to be somehow concerned with the control
  5880.    of the resources used in the management of the global network. The
  5881.    resources which have to be managed are Bandwidth (use of subnetwork
  5882.    resources), Processor (CPU), and Memory (buffers). Where is the
  5883.    responsibility for resources assigned, and are they appropriate for
  5884.    standardization? It appears that these
  5885.  
  5886.  
  5887.  
  5888.  
  5889.  
  5890.  
  5891.  
  5892.  
  5893.  
  5894.  
  5895.  
  5896. ISO DIS 8473 (May 1984)                                        [Page 97]
  5897.  
  5898.  
  5899.  
  5900.  
  5901.  
  5902. RFC 926                                                    December 1984
  5903.  
  5904.  
  5905.    functions are tightly related to how one signals changes in Quality
  5906.    of Service.
  5907.  
  5908.   G.  Accounting
  5909.  
  5910.    What entities, administrations, etc., are responsible for network
  5911.    accounting? How does this happen? What accounting information, if
  5912.    any, is required from the subnetworks in order to charge for network
  5913.    resources? Who is charged? To what degree is this to be standardized?
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.  
  5935.  
  5936.  
  5937.  
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.  
  5948.  
  5949.  
  5950.  
  5951.  
  5952.  
  5953.  
  5954. ISO DIS 8473 (May 1984)                                        [Page 98]
  5955.  
  5956.  
  5957.  
  5958.  
  5959.  
  5960. RFC 926                                                    December 1984
  5961.  
  5962.  
  5963.       ANNEX C.  ALGORITHMS FOR PDU HEADER ERROR DETECTION FUNCTION
  5964.  
  5965.  This Annex describes algorithm which may be used to computer, check and
  5966.  update the checksum field of the PDU Header in order to provide the PDU
  5967.  Header Error Detection function described in Section 6.11.
  5968.  
  5969.  C.1  Symbols used in algorithms
  5970.  
  5971.   CO,C1  variables used in the algorithms
  5972.   i      number (i.e., position) of an octet within the header
  5973.   n      number (i.e., position) of the first octet of the checksum
  5974.          parameter (n=8)
  5975.   L      length of the PDU header in octets
  5976.   X      value of octet one of the checksum parameter
  5977.   Y      value of octet two of the checksum parameter
  5978.   a      octet occupying position i of the PDU header
  5979.  
  5980.  C.2  Arithmetic Conventions
  5981.  
  5982.   Addition is performed in one of the two following modes:
  5983.  
  5984.    a)  modulo 255 arithmetic;
  5985.  
  5986.    b)  eight-bit one's complement arithmetic in which, if any of the
  5987.        variables has the value minus zero (i.e., 255) it shall be
  5988.        regarded as though it was plus zero (i.e., 0).
  5989.  
  5990.  C.3  Algorithm for Generating Checksum Parameters
  5991.  
  5992.   A:  Construct the complete PDU header with the value of the checksum
  5993.       parameter field set to zero;
  5994.  
  5995.   B:  Initialize C0 and C1 to zero;
  5996.  
  5997.   C:  Process each octet of the PDU header sequentially from i = 1 to L
  5998.       by
  5999.  
  6000.    a)  adding the value of the octet to C0; then
  6001.  
  6002.    b)  adding the value of C0 to C1;
  6003.  
  6004.   D:  Calculate X = (L-8)C0 - C1 (modulo 255) and Y = (L-7) (-C0) + C1
  6005.       (modulo 255)
  6006.  
  6007.  
  6008.  
  6009.  
  6010.  
  6011.  
  6012. ISO DIS 8473 (May 1984)                                        [Page 99]
  6013.  
  6014.  
  6015.  
  6016.  
  6017.  
  6018. RFC 926                                                    December 1984
  6019.  
  6020.  
  6021.   E:  If X = 0, set X = 255;
  6022.  
  6023.   F:  If Y = 0, set Y = 255;
  6024.  
  6025.   G:  Place the values X and Y in octets 8 and 9 respectively.
  6026.  
  6027.  C.4  Algorithm for Checking Checksum Parameters
  6028.  
  6029.   A:  If octets 8 and 9 of PDU header both contain 0 (all bits off),
  6030.       then the checksum calculation has succeeded; otherwise initialize
  6031.       C1 = 0, C0 - 0 and proceed;
  6032.  
  6033.   B:  process each octet of the PDU header sequentially from i = 1 to L
  6034.       by
  6035.  
  6036.    a)  adding the value of the octet to C0; then
  6037.  
  6038.    b)  adding the value of C0 to C1;
  6039.  
  6040.   C:  If, when all the octets have been processed, C0 = C1 = 0 (modulo
  6041.       255) then the checksum calculation has succeeded; otherwise, the
  6042.       checksum calculation has failed.
  6043.  
  6044.  C.5  Algorithm to adjust checksum parameter when an octet is altered
  6045.  
  6046.   This algorithm adjusts the checksum when an octet (such as the
  6047.   lifetime field) is altered. Suppose the value in octet k is changed by
  6048.   Z = new_value - old_value.
  6049.  
  6050.   If X and Y denote the checksum values held in octets n and n+1,
  6051.   respectively, then adjust X and Y as follows:
  6052.  
  6053.    If X = 0 and Y = 0 do nothing, else;
  6054.         X := (k-n-1)Z + X (modulo 255) and
  6055.         Y := (n-k)Z + Y   (modulo 255).
  6056.    If X is equal to zero, then set it to 255; and
  6057.    similarly for Y.
  6058.  
  6059.   For this Protocol, n = 8. If the octet being altered is the lifetime
  6060.   field, k = 4. For the case where the lifetime is decreased by 1 unit
  6061.   (Z = -1), the results simplify to
  6062.  
  6063.  
  6064.  
  6065.  
  6066.  
  6067.  
  6068.  
  6069.  
  6070. ISO DIS 8473 (May 1984)                                       [Page 100]
  6071.  
  6072.  
  6073.  
  6074.  
  6075.  
  6076. RFC 926                                                    December 1984
  6077.  
  6078.  
  6079.    X := X + 5 (modulo 255) and
  6080.    Y := Y - 4 (modulo 255).
  6081.  
  6082.    Note:
  6083.  
  6084.     To derive this result, assume that when octet k has the value Z
  6085.     added to it then X and Y have values ZX and ZY added to them. For
  6086.     the checksum parameters to satisfy the conditions of Section 6.11
  6087.     both before and after the values are added, the following is
  6088.     required:
  6089.  
  6090.      Z + ZX + ZY = 0 (modulo 255) and
  6091.      (L-k+1)Z + (L-n+1)ZX + (L-n)ZY = 0 (modulo 255).
  6092.  
  6093.   Solving these equations simultaneously yields ZX = (k-n-1)Z and ZY +
  6094.   (m-k)Z.
  6095.  
  6096.  
  6097.  
  6098.  
  6099.  
  6100.  
  6101.  
  6102.  
  6103.  
  6104.  
  6105.  
  6106.  
  6107.  
  6108.  
  6109.  
  6110.  
  6111.  
  6112.  
  6113.  
  6114.  
  6115.  
  6116.  
  6117.  
  6118.  
  6119.  
  6120.  
  6121.  
  6122.  
  6123.  
  6124.  
  6125.  
  6126.  
  6127.  
  6128. ISO DIS 8473 (May 1984)                                       [Page 101]
  6129.  
  6130.