|
|
RFC 802: The ARPANET 1822L Host Access Protocol
Andrew G. Malis
Netmail: malis@bbn-unix
Bolt Beranek and Newman Inc.
November 1981
1 INTRODUCTION
2 THE ARPANET 1822L HOST ACCESS PROTOCOL
2.1 Addresses and Names
2.2 Name Authorization and Effectiveness
2.3 Uncontrolled Messages
2.4 The Short-Blocking Feature
2.4.1 Host Blocking
2.4.2 Reasons for Host Blockage
2.5 Establishing Host-IMP Communications
3 1822L LEADER FORMATS
3.1 Host-to-IMP 1822L Leader Format
3.2 IMP-to-Host 1822L Leader Format
4 REFERENCES
- i -
1822 Address Format
1822L Name Format
1822L Address Format
Communications between different host types
Host-to-IMP 1822L Leader Format
NDM Message Format
IMP-to-Host 1822L Leader Format
- ii -
- 1 -
"please refer to Report 1822, section x, for further details".
- 2 -
- 3 -
independent of its location on the network.
time-division basis.
more than one port to communicate with the network).
share the same name.
- 4 -
- 5 -
1 8 9 24
+----------------+---------------------------------+
| | |
| Host number | IMP number |
| | |
+----------------+---------------------------------+
Figure 1. 1822 Address Format
- 6 -
1 16
+--------------------------------+
| |
| 1822L name |
| |
+--------------------------------+
Figure 2. 1822L Name Format
1 2 3 8 9 16
+---+---+------------+----------------+
| | | | |
| 0 | 0 | host # | IMP number |
| | | | |
+---+---+------------+----------------+
Figure 3. 1822L Address Format
- 7 -
- 8 -
- 9 -
- 10 -
- 11 -
"1822 on C/30" signifies an 1822 host that is on a C/30 IMP,
"1822L" signifies an 1822L host (on a C/30 IMP), and "1822 on
- 12 -
Host | 1822 on C/30 | 1822L | 1822 on non-C/30
--------+----------------+----------------+-----------------
| | |
1822 on | 1822 | 1822 | 1822
C/30 | | (note 1) |
| | |
--------+----------------+----------------+-----------------
| | |
| 1822L, using | 1822L, using | 1822L, using
1822L | 1822L name or | 1822L name or | 1822L address
|address (note 2)| address | only (note 2)
| | |
--------+----------------+----------------+-----------------
| | |
1822 on | 1822 | 1822 | 1822
non-C/30| | (note 1) |
| | |
--------+----------------+----------------+-----------------
Note 1: The message is presented to the destination host with an 1822L leader containing the 1822L addresses of the source and destination hosts. If either address cannot be encoded as an 1822L address, then the message is not delivered and and error message is sent to the source host.
Note 2: The message is presented to the destination host with an 1822 leader containing the 1822 address of the source host.
Figure 4. Communications between different host types
- 13 -
- 14 -
- 15 -
(see below). Therefore, although it might take a long time to
- 16 -
"unfair" for the IMP to refuse to accept these message until it
- 17 -
- 18 -
- 19 -
message-at-a-time interface to the host, it provides an
internal connection-oriented (virtual circuit) service,
except in the case of uncontrolled messages (see section
connection if they have the same source host (i.e., they are
submitted to the same IMP over the same host interface), the
same priority, and the same destination host name or address.
The subnet maintains internal connection set-up and tear-down
procedures. Connections are set up as needed, and are torn
down only after a period of inactivity. Occasionally,
network congestion or resource shortage will cause a lengthy
delay in connection set-up. During this period, no messages
for that connection can be accepted, but other messages can
be accepted.
submits to an IMP (except uncontrolled messages) the IMP
eventually returns a reply to the host indicating the
disposition of the message. Between the time that the
- 20 -
reply, the message is said to be outstanding. The ARPANET
allows only eight outstanding messages on any given
connection. If there are eight outstanding messages on a
given connection, and a ninth is submitted, it cannot the
accepted. If a message is refused because its connection is
blocked due to flow control, messages on other connections
can still be accepted.
End-to-end flow control is the most common cause of host
blocking in the ARPANET at present.
message of more than 1008 bits (exclusive of the 96-bit
leader), buffer space at the destination IMP must be reserved
before the message can be accepted. Buffer space at the
destination IMP is always reserved on a per-connection basis.
If the destination IMP is heavily loaded, there may be a
lengthy wait for the buffer space; this is another common
cause of blocking in the present ARPANET. Messages are
rejected for this reason based on their length and
connection; messages of 1008 or fewer bits or messages for
other connections may still be acceptable.
- 21 -
congestion control if the path via the intermediate IMPs and
lines to the destination IMP is too heavily loaded to handle
additional traffic. Messages to other destinations may be
acceptable, however.
short of buffer space, table entries, or some other resource
that it needs to accept a message. Unlike the other reasons
for message rejection, this resource shortage will affect all
messages equally, except for uncontrolled messages. The
message's size or connection is not relevant.
- 22 -
- 23 -
- 24 -
- 25 -
1 4 5 8 9 16
+--------+--------+----------------+
| | 1822L | |
| Unused | H2I | Handling Type |
| | Flag | |
+--------+--------+----------------+
17 20 21 22 24 25 32
+--------+-+------+----------------+
| |T|Leader| |
| Unused |R|Flags | Message Type |
| |C| | |
+--------+-+------+----------------+
33 48
+----------------------------------+
| |
| Source Host |
| |
+----------------------------------+
49 64
+----------------------------------+
| |
| Destination Host |
| |
+----------------------------------+
65 76 77 80
+-------------------------+--------+
| | |
| Message ID |Sub-type|
| | |
+-------------------------+--------+
81 96
+----------------------------------+
| |
| Unused |
| |
+----------------------------------+
Figure 5. Host-to-IMP 1822L Leader Format
- 26 -
This field is set to decimal 13 (1101 in binary).
This field is bit-coded to indicate the transmission
characteristics of the connection desired by the host. See
1822(3.3).
Bit 9: Priority Bit:
Messages with this bit on will be treated as priority
messages.
Bits 10-16: Unused, must be zero.
If equal to one, this message is designated for tracing as
it proceeds through the network. See 1822(5.5).
Bit 22: A flag available for use by the destination host.
See 1822(3.3) for a description of its use by the IMP's
TTY fake host.
Bits 23-24: Reserved for future use, must be zero.
- 27 -
Type 0: Regular Message - All host-to-host communication
occurs via regular messages, which have several sub-
types, found in bits 77-80. These sub-types are:
0: Standard - The IMP uses its full message and error
control facilities, and host blocking (see section
1: Standard, short-blocking - See section 2.4.
2: Uncontrolled, short-blocking - See section 2.4.
3: Uncontrolled - The IMP will perform no message-
control functions for this type of message, and
network flow and congestion control (see section
1822(3.6) and section 2.3.
4-15: Unassigned.
Type 1: Error Without Message ID - See 1822(3.3).
Type 2: Host Going Down - see 1822(3.3).
Type 3: Name Declaration Message (NDM) - This message is
used by the host to declare which of its 1822L names is
or is not effective (see section 2.2), or to make all
of its names non-effective. The first 16 bits of the
data portion of the NDM message, following the leader
and any padding, contains the number of 1822L name
- 28 -
the 1822L name entries, each 32 bits long, of which the
first 16 bits is a 1822L name and the second 16 bits
contains either of the integers zero or one. Zero
indicates that the name should not be effective, and
one indicates that the name should be effective. The
IMP will reply with a NDM Reply message (see section
and which are not. Pictorially, a NDM message has the
following format (including the leader, which is
printed in hexadecimal):
- 29 -
1 16 17 32 33 48
+----------------+----------------+----------------+
| | | |
| 0D00 | 0003 | 0000 |
| | | |
+----------------+----------------+----------------+
49 64 65 80 81 96
+----------------+----------------+----------------+
| | | |
| 0000 | 0000 | 0000 |
| | | |
+----------------+----------------+----------------+
97 112 113 128 129 144
+----------------+----------------+----------------+
| | | |
| # of entries | 1822L name #1 | 0 or 1 |
| | | |
+----------------+----------------+----------------+
145 160 161 176
+----------------+----------------+
| | |
| 1822L name #2 | 0 or 1 | etc.
| | |
+----------------+----------------+
Figure 6. NDM Message Format
An NDM with zero entries will cause all current
effective names for the host to become non-effective.
Type 4: NOP - This allows the IMP to know which style of
leader the host wishes to use. A 1822L NOP signifies
that the host wishes to use 1822L leaders, and an 1822
NOP signifies that the host wishes to use 1822 leaders.
All of the other remarks concerning the NOP message in
- 30 -
NOPs in groups of three to insure proper reception by
the IMP. Also see section 2.5 for a further discussion
on the use of the NOP message.
Type 8: Error with Message ID - see 1822(3.3).
Types 5-7,9-255: Unassigned.
This field contains one of the source host's 1822L names
(or, alternatively, the 1822L address of the host port the
message is being sent over). This field is not
automatically filled in by the IMP, as in the 1822 protocol,
because the host may be known by several names and may wish
to use a particular name as the source of this message. All
messages from the same host need not use the same name in
this field. Each source name, when used, is checked for
authorization, effectiveness, and actually belonging to this
host. Messages using names that do not satisfy all of these
requirements will not be delivered, and will instead result
in an error message being sent back into the source host.
If the host places its 1822L Address in this field, the
address is checked to insure that it actually represents the
host port where the message originated. If the message is
destined for an 1822 host on a non-C/30 IMP, this field MUST
- 31 -
This field contains the 1822L name or address of the
destination host. If it contains a name, the name will be
checked for effectiveness, with an error message returned to
the source host if the name is not effective. If the
message is destined for an 1822 host on a non-C/30 IMP, this
field MUST contain the destination host's 1822L address (see
Figure 4 in section 2.2).
This is a host-specified identification used in all type 0
and type 8 messages, and is also used in type 2 messages.
When used in type 0 messages, bits 65-72 are also known as
the Link Field, and should contain values specified in
Assigned Numbers [3] appropriate for the host-to-host
protocol being used.
This field is used as a modifier by message types 0, 2, 4,
and 8.
- 32 -
- 33 -
1 4 5 8 9 16
+--------+--------+----------------+
| | 1822L | |
| Unused | I2H | Handling Type |
| | Flag | |
+--------+--------+----------------+
17 20 21 22 24 25 32
+--------+-+------+----------------+
| |T|Leader| |
| Unused |R|Flags | Message Type |
| |C| | |
+--------+-+------+----------------+
33 48
+----------------------------------+
| |
| Source Host |
| |
+----------------------------------+
49 64
+----------------------------------+
| |
| Destination Host |
| |
+----------------------------------+
65 76 77 80
+-------------------------+--------+
| | |
| Message ID |Sub-type|
| | |
+-------------------------+--------+
81 96
+----------------------------------+
| |
| Message Length |
| |
+----------------------------------+
Figure 7. IMP-to-Host 1822L Leader Format
- 34 -
This field is set to decimal 14 (1110 in binary).
This has the value assigned by the source host (see section
and 15.
If equal to one, the source host designated this message for
tracing as it proceeds through the network. See 1822(5.5).
Bit 22: Available as a destination host flag.
Bits 23-24: Reserved for future use, set to zero.
Type 0: Regular Message - All host-to-host communication
occurs via regular messages, which have several sub-
types. The sub-type field (bits 77-80) is the same as
sent in the host-to-IMP leader (see section 3.1).
Type 1: Error in Leader - See 1822(3.4).
- 35 -
Type 3: NDM Reply - This is a reply to the NDM host-to-IMP
message (see section 3.1). It will have the same
number of entries as the NDM message that is being
replying to, and each listed 1822L name will be
accompanied by a zero or a one. A zero signifies that
the name is not effective, and a one means that the
name is now effective.
Type 4: NOP - The host should discard this message. It is
used during initialization of the IMP/host
communication. The Destination Host field will contain
the 1822L Address of the host port over which the NOP
is being sent. All other fields are unused.
Type 5: Ready for Next Message (RFNM) - See 1822(3.4).
Type 6: Dead Host Status - See 1822(3.4).
Type 7: Destination Host or IMP Dead (or unknown) - This
message is sent in response to a message for a
destination which the IMP cannot reach. The message to
the "dead" destination is discarded. See 1822(3.4) for
a complete list of the applicable sub-types. If this
message is in response to a standard (type 0, sub-type
0 or 1) message, it will be followed by a Dead Host
Status message, which gives further information about
- 36 -
response to an uncontrolled (type 0, sub-type 2 or 3)
message, only sub-type 1 (The destination host is not
up) will be used, and it will not be followed by a Dead
Host Status message.
Type 8: Error in Data - See 1822(3.4).
Type 9: Incomplete Transmission - The transmission of the
named message was incomplete for some reason. An
incomplete transmission message is similar to a RFNM,
but is a failure indication rather than a success
indication. This message is also used by the short-
blocking feature to indicate that the named message was
rejected because it would have caused to IMP to block
the host for a long amount of time. See section 2.4
for more details concerning the short-blocking feature.
The message's sub-types are:
0: The destination host did not accept the message
quickly enough.
1: The message was too long.
2: The host took more than 15 seconds to transmit the
message to the IMP. This time is measured from
the last bit of the leader through the last bit of
the message.
- 37 -
circuit failures.
4: The IMP could not accept the entire message within
15 seconds because of unavailable resources. This
sub-type is only used in response to non-short-
blocking messages. If a short-blocking message
timed out, it will be responded to with one of the
sub-types 6-10.
5: Source IMP I/O failure occurred during receipt of
this message.
Sub-types 6-10 are all issued in response to a short-
blocking message that timed out (would have caused the
host to become blocked for a long amount of time). The
sub-types are designed to give the host some indication
of why it timed out and what other messages would also
time out. See section 2.4.2 for further details
concerning each of these sub-types.
6: The message timed out because of connection set-up
delay. Further messages to the same host (if on
the same connection) may also be affected.
7: The message timed out because of end-to-end flow
control. Further messages to the same host on the
same connection will also be affected.
- 38 -
to time out. This affects multi-packet standard
messages to the specified host, but shorter
messages or messages to hosts on other IMPs may
not be affected.
9: Network congestion control caused the message to be
rejected. Messages to hosts on other IMPs may not
be affected, however.
10: Local resource shortage kept the IMP from being
able to accept the message within the short-
blocking timeout period.
11-15: Unassigned.
Type 10: Interface Reset - See 1822(3.4).
Type 15: 1822L Name or Address Error - This message is sent
in response to a type 0 message from a host that
contained an erroneous Source Host or Destination Host
field. Its sub-types are:
0: The Source Host 1822L name is not authorized or not
effective.
1: The Source Host 1822L address does not match the
host port used to send the message.
2: The Destination Host 1822L name is not authorized.
3: The Destination Host 1822L name is authorized but
- 39 -
If the host were actually down, a type 7 message
would be returned, not a type 15.
4: The Source or Destination Host field contains a
1822L name, but the host being addressed is on a
non-C/30 IMP (see Figure 4 in section 2.2).
5-15: Unassigned.
Types 11-14,16-255: Unassigned.
For type 0 messages, this field contains the 1822L name or
address of the host that originated the message. All
replies to the message should be sent to the host specified
herein. For message types 5-9, 11 and 15, this field
contains the source host field used in a previous type 0
message sent by this host.
For type 0 messages, this field contains the 1822L name or
address that the message was sent to. This allows the
destination host to detect how it was specified by the
source host. For message types 5-9, 11 and 15, this field
contains the destination host field used in a previous type
0 message sent by this host.
- 40 -
For message types 0, 5, 7-9, 11 and 15, this is the value
assigned by the source host to identify the message (see
section 3.1). This field is also used by message types 2
and 6.
This field is used as a modifier by message types 0-2, 4-7,
9, 11 and 15.
This field is contained in type 0 and type 3 messages only,
and is the actual length in bits of the message (exclusive
of leader, leader padding, and hardware padding) as computed
by the IMP.
- 41 -
[1] Specifications for the Interconnection of a Host and an IMP,
BBN Report 1822, May 1978 Revision.
[2] E. C. Rosen et. al., ARPANET Routing Algorithm Improvements,
IEN 183 (also published as BBN Report 4473, Vol. 1), August
1980, pp. 55-107.
[3] J. Postel, Assigned Numbers, RFC 790, September 1981, p. 10.
- 42 -
1822
1822 address
1822 host
1822L
1822L address
1822L host
1822L name
authorized
blocking
congestion control
connection
destination host
effective
flow control
handing type
incomplete transmission message
leader flags
link field
logical addressing
message ID
message length
message type
multi-homing
NDM
NDM reply
NOC
NOP
outstanding
priority bit
regular message
RFNM
short-blocking feature
short-blocking message
source host
standard message
sub-type
symmetric
trace bit
uncontrolled message
- 43 -