RFC 907: Host Access Protocol specification (original) (raw)

[RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

INTERNET STANDARD
Updated by: 1221

 [RFC 907](./rfc907)
 
 
                HOST ACCESS PROTOCOL SPECIFICATION
 
 
                             July 1984
 
 
                           prepared for
 
             Defense Advanced Research Projects Agency
                       1400 Wilson Boulevard
                     Arlington, Virginia 22209
 
 
                                by
 
               Bolt Beranek and Newman Laboratories
                         10 Moulton Street
                  Cambridge, Massachusetts 02238
 
 

RFC 907 Host Access Protocol July 1984 Specification

using the stream. Stream traffic arrivals must match the stream allocation both in interarrival time and message size if reasonable efficiency is to be achieved. The characteristics and use of datagrams and streams are described in detail in Sections 3 and 4 of this document.
Both datagram and stream transmission in the satellite network use logical addressing. Each host on the network is assigned a permanent 16-bit logical address which is independent of the physical port on the SIMP to which it is attached. These 16-bit logical addresses are provided in all Host-to-SIMP and SIMP-to-Host data messages.
Hosts may also be members of groups. Group addressing is provided primarily to support the multi-destination delivery required for conferencing applications. Like streams, group addresses are dynamically created and deleted by the use of setup messages exchanged between a host and the network. Membership in a group may consist of an arbitrary subset of all the permanent network hosts. A message addressed to a group address is delivered to all hosts that are members of that group.
Although HAP does not guarantee error-free delivery, error control is an important aspect of the protocol design. HAP error control is concerned with both local transfers between a host and its local SIMP and transfers from SIMP-to-SIMP over the satellite channel. The SIMP offers users a choice of network error protection options based on the network's ability to selectively send messages over the satellite channel at different coding rates. These forward error correction (FEC) options are referred to as reliability levels. Three reliability levels (low, medium, and high) are available to the host.
In addition to forward error correction, a number of checksum mechanisms are employed in the satellite network to add an error detection capability. A host has an opportunity when sending a message to indicate whether the message should be delivered to its destination or discarded if a data error is detected by the network. Each message received by a host from the network will have a flag indicating whether or not an error was detected in that particular message. A host can decide on a

4

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0 | 0|LB|GOPRI| XXXX | F| MESSAGE NUMBER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 1 | HEADER CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 2 | A/R | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 3 | 0|IL| D| E| TTL | PRI | RLY | RLEN | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 4 | DESTINATION HOST ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 5 | SOURCE HOST ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6-N | DATA | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 1 . DATAGRAM MESSAGE

0[15] Message Class. This bit identifies the message as a data message or a control message.
0 = Data Message 1 = Control Message
0[14] Loopback Bit. This bit allows the sender of a message to determine if its own messages are being looped back. The host and the SIMP each use different settings of this bit for their transmissions. If a message arrives with the loopback bit set equal to its outgoing value, then the message has been looped.
0 = Sent by Host 1 = Sent by SIMP

9

RFC 907 Host Access Protocol July 1984 Specification

0[12-13] Go-Priority. In SIMP-to-Host messages, this field provides advisory information concerning the lowest priority currently being accepted by the SIMP. The host may optionally choose to provide similar priority information to the SIMP.
0 = Low Priority 1 = Medium-Low Priority 2 = Medium-High Priority 3 = High Priority
0[9-11] Reserved.
0[8] Force Channel Transmission Flag. This flag can be set by the source host to force the SIMP to transmit the message over the satellite channel even if the message contains permanent destination and source host addresses corresponding to hosts which are physically connected to the same SIMP.
0 = Normal operation 1 = Force channel transmission
0[0-7] Message Number. This field contains the identification of the message used by the acceptance/refusal (A/R) mechanism (when enabled). If the message number is zero, A/R is disabled for this specific message. See Section 5 for a detailed description of the A/R mechanism.
1[0-15] Header Checksum. This field contains a checksum which covers words 0-5. It is computed as the negation of the 2's-complement sum of words 0-5 (excluding the checksum word itself).
2[0-15] Piggybacked A/R. This field may contain an acceptance/refusal word providing A/R status on traffic flowing in the opposite direction. Its inclusion may eliminate the need for a separate A/R control message (see Section 5). A value of zero for this word is used to indicate that no piggybacked A/R information is

10

RFC 907 Host Access Protocol July 1984 Specification

0 = No Data Errors Detected 1 = Data Errors Detected

3[10-11] Time-to-Live Designator. The source host uses this field to specify the maximum time that a message should be allowed to exist within the satellite network before being deleted. Messages may be discarded by the network prior to this maximum elapsed time.
0 = 1 seconds 1 = 2 seconds 2 = 5 seconds 3 = 10 seconds

The Time-to-Live field is undefined in messages sent from a SIMP to a host.
3[8-9] Priority. The source host uses this field to specify the priority with which the message should be handled within the network.
0 = Low Priority 1 = Medium-Low Priority 2 = Medium-High Priority 3 = High Priority

The priority of each message is passed to the destination host by the destination SIMP.
3[6-7] Reliability. The source host uses this field to specify the basic bit error rate requirement for the data portion of this message. The source SIMP uses this field to determine the satellite channel transmission parameters required to provide that bit error rate.
0 = Low Reliability 1 = Medium Reliability

12

RFC 907 Host Access Protocol July 1984 Specification

2 = High Reliability 3 = Reserved

The Reliability field is undefined in messages sent from a SIMP to a host.
3[0-5] Reliability Length. This source host uses this field to specify a portion of the user data which should be transmitted at the highest reliability level (lowest bit error rate). Both the six message header words and the first Reliability Length words of user data will be transmitted at Reliability=2 while the remainder of the user data will be transmitted at whatever reliability level is specified in field 3[6-7]. The reliability length mechanism gives the user the ability to transmit private header information (e.g., IP and TCP headers) at a higher reliability level than the remainder of the data. The Reliability Length field is undefined in messages sent from a SIMP to a host.
4[0-15] Destination Host Address. This field contains the satellite network logical address of the destination host.
5[0-15] Source Host Address. This field contains the satellite network logical address of the source host.
6-N Data. This field contains up to 16,384 bits (1024 16- bit words) of user data.

13

RFC 907 Host Access Protocol July 1984 Specification

4 Stream Messages
Stream messages are the second type of message level data messages. As noted in Section 2, streams exist primarily to provide a one satellite hop delay for volatile traffic such as speech. Hosts may also use streams to support high duty cycle applications which require guaranteed channel bandwidth.
Streams must be created before stream messages can flow from host to host. The protocol to accomplish stream creation is described in Section 6.1. Once established, a stream is associated with a recurring channel allocation within the satellite network. This fixed allocation imposes rather strict requirements on the host using the stream if efficient channel utilization is to be achieved. In particular, stream messages must match the stream allocation both in terms of message size and message interarrival time.
Within the bounds of its stream allocation, a host is permitted considerable flexibility in how it may use a stream. Although the priority, reliability, and reliability length of each stream message is fixed at stream creation time, the destination logical address can vary from stream message to stream message. A host can, therefore, multiplex a variety of logical flows onto a single host stream. The format of stream messages is described in Figure 2.

14

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0 | 0|LB|GOPRI| XXXX | MESSAGE NUMBER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 1 | HEADER CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 2 | A/R | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 3 | 1|IL| D| E| TTL | HOST STREAM ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 4 | DESTINATION HOST ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 5 | SOURCE HOST ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6-N | DATA | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 2 . STREAM MESSAGE

0[15] Message Class = 0 (Data Message).
0[14] Loopback Bit.
0[12-13] Go-Priority.
0[8-11] Reserved.
0[0-7] Message Number. This field serves the same purpose as the message number field in the datagram message. Moreover, a single message number sequence is used for both datagram and stream messages (see Section 5).
1[0-15] Header Checksum. Covers Words 0-5.
2[0-15] Piggybacked A/R.

15

RFC 907 Host Access Protocol July 1984 Specification

3[15] Data Message Type = 1 (Stream).
3[14] Internet/Local Flag.
3[13] Discard Flag.
3[12] Data Error Flag.
3[10-11] Time-to-live Designator.
0 = Reserved 1 = 1 second 2 = Reserved 3 = Reserved
3[0-9] Host Stream ID. The service host uses this field to identify the host stream over which the message is to be sent by the SIMP. Host stream IDs are established at stream creation time via host exchanges with their network service host (see Section 6.1).
4[0-15] Destination Host Address.
5[0-15] Source Host Address.
6-N Data. This field contains up to 16,000 bits of user data (multiple of 16-bits).

16

RFC 907 Host Access Protocol July 1984 Specification

the message to which this acceptance/refusal refers. It also applies to all outstanding messages with earlier numbers. Note that this field can never be zero since a message number of zero implies that the A/R mechanism is disabled.

20

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0 | 1|LB|GOPRI| XXXX | LENGTH | 1 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 1 | HEADER CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 2 | A/R | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ . . ... . . . ... . +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ N | A/R | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 4 . ACCEPTANCE/REFUSAL MESSAGE

0[15] Message Class = 1 (Control Message).
0[14] Loopback Bit.
0[12-13] Go-Priority.
0[8-11] Reserved.
0[4-7] Message Length. This field contains the total length of this message in words (N+1).
0[0-3] Control Message Type = 1 (Acceptance/Refusal).
1[0-15] Header Checksum. The checksum covers words 0-N.
2[0-15] Acceptance/Refusal Word.
3-N Additional Acceptance/Refusal Words (optional).

21

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0 | 1|LB|GOPRI| XXXX | RES-CODE | 5 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 1 | HEADER CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 2 | RESPONSE INFO | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 3 | RESPONSE INFO | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 5 . UNNUMBERED RESPONSE

0[15] Message Class = 1 (Control Message).
0[14] Loopback Bit.
0[12-13] Go-Priority.
0[8-11] Reserved.
0[4-7] Response Code.
3 = Destination unreachable 5 = Illegal destination host address 7 = Illegal source host address 9 = Nonexistent stream ID 10 = Illegal stream ID 13 = Protocol violation 15 = Can't implement loop
0[0-3] Control Message Type = 5 (Unnumbered Response).
1[0-15] Header Checksum. Covers words 0-3.

22

RFC 907 Host Access Protocol July 1984 Specification

2[0-15] Response Information. If Response Code is:
3, Destination Host Address 5, Destination Host Address 7, Source Host Address 9, Stream ID (right justified) 10, Stream ID (right justified) 13, Word 0 of offending message 15, Word 0 of Loopback Request message
3[0-15] Response Information. If Response Code is:
3,5,7, or 9. Undefined 10, Source Host Address 13, Word 3 of offending message, or zero if no word 3 15, Word 2 of Loopback Request message

23

RFC 907 Host Access Protocol July 1984 Specification

6 Setup Level Messages
Setup level protocol is provided to support the establishment, modification, and deletion of groups and streams in the packet satellite network. A host wishing to perform one of these generic operations interacts with the network service host (logical address zero). The service host causes the requested action to be carried out and serves as the intermediary between the user and the rest of the network. In the process of implementing the requested action, various network data bases are updated to reflect the current state of the referenced group or stream.
The communication between the host and the service host is implemented via special-purpose datagrams called setup messages. Each interaction initiated by a host involves a 3-way exchange where: (1) the user host sends a Request to the service host, (2) the service host returns a Reply to the user host, and (3) the user host returns a Reply Acknowledgment to the service host. This procedure is used to insure reliable transmission of requests and replies. In order to allow more than one setup request message from a host to be outstanding, each request is assigned a unique Request ID. The associated Reply and subsequent Reply Acknowledgment are identified by the Request ID that they contain. Hosts should generally expect a minimum delay of about two satellite round-trip times between the transmission of a setup Request to the SIMP and the receipt of the associated Reply. (Note that the Join Group Request and the Leave Group Request require only local communication between a host and its SIMP. The response time for these requests, therefore, is dependent solely on SIMP processing time and should be considerably shorter than two round-trip times.) This delay establishes a maximum rate at which changes can be processed by the SIMP. The user should receive a reply to a setup request requiring global communication within 2 seconds and to a setup request requiring local communication within 1 second. The host should respond to a SIMP Reply with a Reply Acknowledgment within 1 second.

24

RFC 907 Host Access Protocol July 1984 Specification

Setup exchanges can also be initiated by the SIMP. SIMP- initiated setup messages are used to notify a host of changes in the status of an associated group or stream. Each notification involves a 2-way exchange where: (1) the service host sends a Notification to the user host, and (2) the user host returns a Notification Acknowledgment to the service host. In order to allow more than one Notification to be outstanding, each is assigned a unique Notification ID. The Notification Acknowledgment returned by the user host to the service host must contain the Notification ID.
The general format of every setup message is:

The service host accepts setup requests in either Internet or non-Internet format. Replies from the service host will be in the same form as the request, that is, Internet requests get Internet replies, and non-Internet requests get non-Internet replies.
The format of the combined datagram message header and setup message header is illustrated in Figure 6. The body of the setup messages depends on the particular setup message type. Stream request and reply messages are described in Section 6.1. Group request and reply messages are described in Section 6.2. To simplify the presentation in both of these sections, the setup messages are assumed to be exchanged between a local host and SIMP even though Internet group and stream setups are supported (see Figure 6). The format of notifications, which consists of only a single word beyond the basic setup header, is shown in Figure 7. Since the SIMP does not retain the optional Internet header information that can be included in setup requests, Internet notifications are not supported. The format of acknowledgment messages associated with request/reply and notification setups is illustrated in Figure 8.

25

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6-N | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ N+1 | SETUP TYPE | SETUP CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ N+2 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ N+3 | SETUP ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 6 . SETUP MESSAGE HEADER

0-5 Datagram Message Header. Each setup message begins with the six word datagram message header (see Section 3).
6-N Internet Header (Optional). These fields, when present, conform to the DoD Standard Internet Protocol (IP). The Internet header size is a minimum of 10 words but can be longer depending on the use of optional IP facilities. (Internet notification messages are not supported.)
N+1[8-15] Setup Type. This field determines the type of setup message.
0 = Acknowledgment 1 = Request 2 = Reply 3 = Notification
N+1[0-7] Setup Code. For requests, this field identifies the

26

RFC 907 Host Access Protocol July 1984 Specification

Request Type.
1 = Create group address 2 = Delete group address 3 = Join group 4 = Leave group 5 = Create stream 6 = Delete stream 7 = Change stream parameters 8 = Reserved
For Replies, this field provides the Reply Code. Some of the Reply Codes can be returned to any setup request and others are request specific.
0 = Group or stream created 1 = Group or stream deleted 2 = Group joined 3 = Group left 4 = Stream changed 5 = Reserved 6 = Bad request type 7 = Reserved 8 = Network trouble 9 = Bad key 10 = Group address/stream ID nonexistent 11 = Not member of group/creator of stream 12 = Stream priority not being accepted 13 = Reserved 14 = Reserved 15 = Illegal interval 16 = Reserved 17 = Insufficient network resources 18 = Requested bandwidth too large 19 = Reserved 20 = Reserved 21 = Maximum messages per slot not consistent with slot size 22 = Reply lost in network 23 = Illegal reliability value

27

RFC 907 Host Access Protocol July 1984 Specification

For Notifications, this field contains the Notification Type.
0 = Stream suspended 1 = Stream resumed 2 = Stream deleted 3 = Group deleted by host 4 = Group deleted by SIMP 5 = All streams deleted 6 = All groups deleted
For Acknowledgments, this field contains the Acknowledgment Type.
0 = Reply acknowledgment 1 = Notification acknowledgment
N+2[0-15] Setup Checksum. The checksum covers the three setup message header words and the setup message body data words. Setups received with bad checksums must be discarded.
N+3[0-15] Setup ID. This field is assigned by the host to uniquely identify outstanding requests (Request ID) and by the service host to uniquely identify outstanding notifications (Notification ID).

28

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 3 | NOTIFICATION TYPE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | NOTIFICATION ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | NOTIFICATION INFO | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 7 . NOTIFICATION MESSAGE

0-5 Datagram Message Header (see Section 3).
6[8-15] Setup Type = 3 (Notification).
6[0-7] Notification Type.
0 = Stream suspended 1 = Stream resumed 2 = Stream deleted 3 = Group deleted by host 4 = Group deleted by SIMP 5 = All streams deleted 6 = All groups deleted
7[0-15] Setup Checksum. Covers words 6-9.
8[0-15] Notification ID.
9[0-15] Notification Information. This field contains the 16-bit group address in the case of a group

29

RFC 907 Host Access Protocol July 1984 Specification

notification (types 3 and 4) and the 10-bit host stream ID (right justified) in the case of a stream notification (types 0-2). This field is zero for Notification Types 5 and 6, which pertain to ALL streams and groups, respectively.

30

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 0 | ACK TYPE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | SETUP ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 8 . SETUP ACKNOWLEDGMENT

0-5 Datagram Message Header.
6[8-15] Setup Type = 0 (Acknowledgment).
6[0-7] Acknowledgment Type.
0 = Reply acknowledgment 1 = Notification acknowledgment
7[0-15] Setup Checksum. Covers words 6-8.
8[0-15] Setup ID. This is either a Request ID or a Notification ID.

31

RFC 907 Host Access Protocol July 1984 Specification

6.1 Stream Setup Messages
Hosts use streams to support high duty cycle applications and applications requiring a one satellite hop network transmission delay. Host streams must be set up before stream data messages can flow. The stream setup messages defined by HAP are Create Stream Request, Create Stream Reply, Delete Stream Request, Delete Stream Reply, Change Stream Parameters Request, and Change Stream Parameters Reply. The use of these messages is illustrated in the scenario of exchanges between a host and its local SIMP shown in Figure 9 where the host establishes a stream, sends some data, modifies the stream characteristics, sends some more data, and finally closes down the stream.
It is worthwhile noting that the setup exchanges in Figure 9 are completely between the host originating the stream and its local SIMP. Other SIMPs and hosts are essentially unaware of the existence of the stream. Stream messages received by a destination host are, therefore, processed identically to datagram messages. (All SIMPs must, of course, be aware of the channel allocation associated with a host stream in order to perform satellite channel scheduling.) Not illustrated, but implicit in this scenario, are the optional A/R indications associated with each of the stream setup messages.

32

RFC 907 Host Access Protocol July 1984 Specification

Host SIMP
Create Stream Request ------> Create Stream Reply <------ Reply Acknowledgment ------> Stream Message ------> . . Stream Message ------> Change Stream Parameters Request ------> Change Stream Parameters Reply <------ Reply Acknowledgment ------> Stream Message ------> . . Stream Message ------> Delete Stream Request ------> Delete Stream Reply <------ Reply Acknowledgment ------>

Figure 9 . STREAM EXAMPLE

Host streams have six characteristic properties which are selected at stream setup time. These properties, which apply to every message transmitted in the stream, are: (1) slot size, (2) interval, (3) reliability, (4) reliability length, (5) priority, and (6) maximum messages per slot. To establish a stream, the host sends the Create Stream Request message illustrated in Figure 10 to the SIMP. After the satellite network has processed the Create Stream Request, the SIMP will respond to the host with a Create Stream Reply message formatted as shown in Figure 11. Assuming that the reply code in the Create Stream Reply is zero indicating that the stream has been created successfully, the host may proceed to transmit stream data messages after sending a

33

RFC 907 Host Access Protocol July 1984 Specification

Reply Acknowledgment.
During the lifetime of a stream, the host which created it may decide that some of its six characteristic properties should be modified. All of the properties except the stream interval can be modified using the Change Stream Parameters Request message. The format of this command is illustrated in Figure 12. After the network has processed the Change Stream Parameters Request, the SIMP will respond by sending a Change Stream Parameters Reply to the host with the format shown in Figure 13. A host requesting a reduced channel allocation should decrease its sending rate immediately without waiting for receipt of the Change Stream Parameters Reply. A host requesting an increased allocation should not proceed to transmit according to the new set of parameters without first having received a Reply Code of 4 indicating that the requested change has taken effect.
When the host which created the host stream determines that the stream is no longer needed and the associated satellite channel allocation can be freed up, the host sends its local SIMP a Delete Stream Request message formatted as indicated in Figure 14. After the network has processed the Delete Stream Request, the SIMP will respond by sending a Delete Stream Reply to the host with the format shown in Figure 15.

34

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 1 | 5 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | MAX MES | INT | PRI | RLY | RLEN | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 10 | SLOT SIZE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 10 . CREATE STREAM REQUEST

0-5 Datagram Message Header.
6[8-15] Setup Type = 1 (Request).
6[0-7] Request Type = 5 (Create Stream).
7[0-15] Setup Checksum. Covers words 6-10.
8[0-15] Request ID.
9[12-15] Maximum Messages Per Slot. This field specifies the the maximum number of stream messages that will ever be delivered to the SIMP by the host for transmission in one stream slot.
9[10-11] Interval. This field specifies the interval, in number of 21.2 ms frames, between stream slots.

35

RFC 907 Host Access Protocol July 1984 Specification

0 = 1 frame 1 = 2 frames 2 = 4 frames 3 = 8 frames
As an example, an interval of 4 frames corresponds to an allocation of Slot Size words every 85 ms.
9[8-9] Priority. This field specifies the priority at which all messages in the host stream should be handled.
0 = Low priority 1 = Medium Low Priority 2 = Medium High Priority 3 = High Priority
9[6-7] Reliability. This field specifies the basic bit- error rate requirement for the data portion of all messages in the host stream.
0 = Low Reliability 1 = Medium Reliability 2 = High Reliability 3 = Reserved
9[0-5] Reliability Length. This field specifies how many words beyond the stream message header should be transmitted at maximum reliability for all messages in the host stream.
10[0-15] Slot Size. This field specifies the slot size in 16-bit words of stream message text. Stream message header words are excluded from this count. The host can partition this allocation on a slot-by-slot basis among a variable number of messages as long as the maximum number of messages per slot does not exceed MAX MES.

36

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 2 | REPLY CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | XXXXX | HOST STREAM ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 11 . CREATE STREAM REPLY

0-5 Datagram Message Header.
6[8-15] Setup Type = 2 (Reply).
6[0-7] Reply Code.
0 = Stream created 8 = Network trouble 12 = Stream priority not being accepted 17 = Insufficient network resources 18 = Requested bandwidth too large 21 = Maximum messages per slot not consistent with slot size 22 = Reply lost in network 23 = Illegal reliability value
7[0-15] Setup Checksum. Covers words 6-9.
8[0-15] Request ID.

37

RFC 907 Host Access Protocol July 1984 Specification

9[10-15] Reserved.
9[0-9] Host Stream ID. This field contains a host stream ID assigned by the network. It must be included in all stream data messages sent by the host to allow the SIMP to associate the message with stored stream characteristics and the reserved satellite channel time.

38

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 1 | 7 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | XXXXX | HOST STREAM ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 10 | MAX MES | INT | PRI | RLY | RLEN | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 11 | SLOT SIZE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 12 . CHANGE STREAM PARAMETERS REQUEST

0-5 Datagram Message Header.
6[8-15] Setup Type = 1 (Request).
6[0-7] Request Type = 7 (Change Stream Parameters).
7[0-15] Setup Checksum. Covers words 6-11.
8[0-15] Request ID.
9[10-15] Reserved.
9[0-9] Host Stream ID.
10[12-15] New Maximum Messages Per Slot.

39

RFC 907 Host Access Protocol July 1984 Specification

10[10-11] Interval. This field must specifiy the same interval as was specified in the Create Stream Request message for this stream.
10[8-9] New Priority.
10[6-7] New Reliability.
10[0-5] New Reliability Length.
11[0-15] New Slot Size.

40

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 2 | REPLY CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 13 . CHANGE STREAM PARAMETERS REPLY

0-5 Datagram Message Header.
6[8-15] Setup Type = 2 (Reply).
6[0-7] Reply Code.
4 = Stream changed 8 = Network trouble 10 = Stream ID nonexistent 11 = Not creator of stream 12 = Stream priority not being accepted 15 = Illegal interval 17 = Insufficient network resources 18 = Requested bandwidth too large 21 = Maximum messages per slot not consistent with slot size 22 = Reply lost in network 23 = Illegal reliability value
7[0-15] Setup Checksum. Covers words 6-8.
8[0-15] Request ID.

41

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 1 | 6 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | XXXXX | HOST STREAM ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 14 . DELETE STREAM REQUEST

0-5 Datagram Message Header.
6[8-15] Setup Type = 1 (Request).
6[0-7] Request Type = 6 (Delete Stream).
7[0-15] Setup Checksum. Covers words 6-9.
8[0-15] Request ID.
9[10-15] Reserved.
9[0-9] Host Stream ID.

42

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 2 | REPLY CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 15 . DELETE STREAM REPLY

0-5 Datagram Message Header.
6[8-15] Setup Type = 2 (Reply).
6[0-7] Reply Code.
1 = Stream deleted 8 = Network trouble 10 = Stream ID nonexistent 11 = Not creator of stream 17 = Insufficient network resources 22 = Reply lost in network
7[0-15] Setup Checksum. Covers words 6-8.
8[0-15] Request ID.

43

RFC 907 Host Access Protocol July 1984 Specification

6.2 Group Setup Messages
Group addressing allows hosts to take advantage of the broadcast capability of the satellite network and is primarily provided to support the multi-destination delivery required for conferencing applications. Group addresses are dynamically created and deleted via setup messages exchanged between hosts and the network. Membership in a group may consist of an arbitrary subset of all the permanent network hosts. A datagram message or stream message addressed to a group is always sent over the satellite channel and delivered to all hosts that are members of that group. The group setup messages are Create Group Request, Create Group Reply, Delete Group Request, Delete Group Reply, Join Group Request, Join Group Reply, Leave Group Request, and Leave Group Reply.
The use of group setup messages is shown in Figure 16. The figure illustrates a scenario of exchanges between two hosts and their local SIMPs. In the scenario one host, Host A, creates a group which is joined by a second host, Host B. After the two hosts have exchanged some data mesages addressed to the group, Host B decides to leave the group and Host A decides to delete the group. As in the scenario in Section 6.1, A/R indications have been omitted for clarity.
Part of the group creation procedure involves the service host returning a 48-bit key along with a 16-bit group address to the host creating the group. The creating host must pass the key along with the group address to the other hosts which it wants as group members. These other hosts must supply the key along with the group address in their Join Group Requests. The key is used by the network to authenticate these operations and thereby minimize the probability that unwanted hosts will deliberately or inadvertently become members of the group. The procedure used by a host to distribute the group address and key is not within the scope of HAP.

44

RFC 907 Host Access Protocol July 1984 Specification

Host SIMP SIMP Host A A B B
Create Group Request ------> Create Group Reply <------ Reply Acknowledgment ------> . . >>Group Address,Key>> . . Join Group Request <------ Join Group Reply ------> Reply Acknowledgment <------
Data Message 1 ------> Data Message 1 <------ ------> Data Message 2 <------ Data Message 2 <------ ------> Leave Group Request <------ Leave Group Reply ------> Reply Acknowledgment <------ Delete Group Request ------> Delete Group Reply <------ Reply Acknowledgment ------>

Figure 16 . GROUP EXAMPLE

Any host no longer wishing to participate in a group may choose to drop out. This can be accomplished by either a Leave or a Delete. Both Leave and Delete operations are authenticated using the 48-bit key. Leave is a local operation between a host and its SIMP which removes the requesting host from the group membership list but does not alter the global existence of the

45

RFC 907 Host Access Protocol July 1984 Specification

group. A Delete, on the other hand, expunges all knowledge of the group from every SIMP in the network. HAP will permit any member of a group to delete the group at any time. Thus, group addresses can be deleted even if the host which originally created the group has left the group or has crashed. Moreover, groups may exist for which there are currently no members because each member has executed a Leave while none has executed a Delete. It is the responsibility of the hosts to coordinate and manage the use of groups.
The Create Group Request message sent to the service host to establish a group address is illustrated in Figure 17. After the network has processed the Create Group Request, the service host will respond by sending a Create Group Reply to the host as illustrated in Figure 18.
A host may become a member of a group once it knows the address and key associated with the group by sending the service host the Join Group Request message shown in Figure 19. The service host will respond to the Join Group Request with a Join Group Reply formatted as indicated in Figure 20. The host which creates a group automatically becomes a member of that group without any need for an explicit Join Group Request.
At any time after becoming a member of a group, a host may choose to drop out of the group. To effect this the host sends the service host a Leave Group Request formatted as shown in Figure 21. The service host will respond to the Leave Group Request with a Leave Group Reply formatted as shown in Figure 22.
Any member of a group can request that the service host delete an existing group via a Delete Group Request. The format of the Delete Group Request setup message is illustrated in Figure 23. After the network has processed the Delete Group Request, the service host will respond to the host with a Delete Group Reply formatted as illustrated in Figure 24.

46

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 1 | 1 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 17 . CREATE GROUP REQUEST

0-5 Datagram Message Header.
6[8-15] Setup Type = 1 (Request).
6[0-7] Request Type = 1 (Create Group).
7[0-15] Setup Checksum. Covers words 6-8.
8[0-15] Request ID.

47

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 2 | REPLY CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | GROUP ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 10 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 11 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 12 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 18 . CREATE GROUP REPLY

0-5 Datagram Message Header.
6[8-15] Setup Type = 2 (Reply).
6[0-7] Reply Code.
0 = Group created 8 = Network trouble 17 = Insufficient network resources 22 = Reply lost in network
7[0-15] Setup Checksum. Covers words 6-12.
8[0-15] Request ID.

48

RFC 907 Host Access Protocol July 1984 Specification

9[0-15] Group Address. This field contains a 16-bit logical address assigned by the network which may be used by the host as a group address.
10-12 Key. This field contains a 48-bit key assigned by the network which is associated with the group address. It must be provided for subsequent Join, Leave, and Delete requests which reference the group address.

49

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 1 | 3 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | GROUP ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 10 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 11 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 12 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 19 . JOIN GROUP REQUEST

0-5 Datagram Message Header.
6[8-15] Setup Type = 1 (Request).
6[0-7] Request Type = 3 (Join Group).
7[0-15] Setup Checksum. Covers words 6-12.
8[0-15] Request ID.
9[0-15] Group Address. This is the logical address of the group that the host wishes to join.
10-12 Key. This is the key associated with the group

50

RFC 907 Host Access Protocol July 1984 Specification

address.

51

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 2 | REPLY CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 20 . JOIN GROUP REPLY

0-5 Datagram Message Header.
6[8-15] Setup Type = 2 (Reply).
6[0-7] Reply Code.
2 = Group joined 9 = Bad key 10 = Group address nonexistent 17 = Insufficient network resources
7[0-15] Setup Checksum. Covers words 6-8.
8[0-15] Request ID.

52

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 1 | 4 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | GROUP ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 10 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 11 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 12 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 21 . LEAVE GROUP REQUEST

0-5 Datagram Message Header.
6[8-15] Setup Type = 1 (Request).
6[0-7] Request Type = 4 (Leave Group).
7[0-15] Setup Checksum. Covers words 6-12.
8[0-15] Request ID.
9[0-15] Group Address. This is the logical address of the group that the host wishes to leave.
10-12 Key. This is the key associated with the group

53

RFC 907 Host Access Protocol July 1984 Specification

address.

54

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 2 | REPLY CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 22 . LEAVE GROUP REPLY

0-5 Datagram Message Header.
6[8-15] Setup Type = 2 (Reply).
6[0-7] Reply Code.
3 = Group left 9 = Bad key 10 = Group address nonexistent 11 = Not member of group 17 = Insufficient network resources
7[0-15] Setup Checksum. Covers words 6-8.
8[0-15] Request ID.

55

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 1 | 2 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | GROUP ADDRESS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 10 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 11 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 12 | KEY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 23 . DELETE GROUP REQUEST

0-5 Datagram Message Header.
6[8-15] Setup Type = 1 (Request).
6[0-7] Request Type = 2 (Delete Group).
7[0-15] Setup Checksum. Covers words 6-12.
8[0-15] Request ID.
9[0-15] Group Address.
10-12 Key.

56

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0-5 | DATAGRAM MESSAGE HEADER | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | 2 | REPLY CODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | SETUP CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | REQUEST ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 24 . DELETE GROUP REPLY

0-5 Datagram Message Header.
6[8-15] Setup Type = 2 (Reply).
6[0-7] Reply Code.
1 = Group deleted 8 = Network trouble 9 = Bad key 10 = Group address nonexistent 11 = Not member of group 17 = Insufficient network resources 22 = Reply lost in network
7[0-15] Setup Checksum. Covers words 6-8.
8[0-15] Request ID.

57

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0 | 1|LB|GOPRI| XXXXX | 0 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 1 | HEADER CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 2 | MOST RECENT A/R SENT | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 3 | STREAM CAPACITY | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 4 | TIMESTAMP | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 5 | SBU | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 6 | STU | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 7 | RNE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 8 | RWE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 9 | BHC | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 10 | HEI | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 25 . STATUS MESSAGE

0[15] Message Class = 1 (Control Message).
0[14] Loopback Bit.
0[12-13] Go-Priority.
0[4-11] Reserved.

59

RFC 907 Host Access Protocol July 1984 Specification

for an event of type (1)-(3), it will return a "Can't implement loop" response to the host and will continue to wait. A host in the converse situation, however, will abort its loopback request and will instead act on the SIMP's loopback request.

70

RFC 907 Host Access Protocol July 1984 Specification

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 0 | 1|LB|GOPRI| XXXXX | LOOP TYPE | 8 | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 1 | HEADER CHECKSUM | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ 2 | LOOP DURATION | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

Figure 29 . LOOPBACK REQUEST

0[15] Message Type = 1 (Control Message).
0[14] Loopback Bit.
0[12-13] Go-Priority.
0[8-11] Reserved.
0[4-7] Loop Type. This field indicates the type of loop that is being requested as follows:
0 = Undefined 1 = Loop at interface (hardware loop) 2 = Loop at driver (software loop) 3-15 = Undefined
0[0-3] Control Message Type = 8 (Loopback Request).
1[0-15] Header Checksum. Covers words 0-2.
2[0-15] Loop Duration. The transmitter of a Loopback Request message uses this field to specify the number of seconds that the loop is to be maintained by the receiver.

71

RFC 907 Host Access Protocol July 1984 Specification

9 = Not scheduled up 10 = Last warning: The SIMP or host is disabling the link in 10 seconds 11-15 = Undefined
0[0-3] Control Message Type = 7 (Link Going Down).
1[0-15] Header Checksum. Covers words 0-3.
2[0-15] Time Until Down. This field specifies the amount of time remaining until the SIMP or host disables the link (in minutes). An entry of zero indicates that there is less than a minute remaining.
3[0-15] Down Duration. This field specifies the amount of time that the SIMP-host link will be down (in minutes). An entry of zero indicates that the down duration will be less than a minute. An entry of -1 (all bits set) indicates an indefinite down duration.

74

RFC 907 Host Access Protocol July 1984 Specification

          15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
         +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 [0](#section-0)       | 1|LB|            XXXXX            |     6     |
         +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 [1](#section-1)       |                HEADER CHECKSUM                |
         +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 2-N     |                ARBITRARY DATA                 |
         +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 
 
                  Figure 31 . NO OPERATION (NOP)
 
 
 0[15]     Message Type = 1 (Control Message).
 
 0[14]     Loopback Bit.
 
 0[4-13]   Reserved.
 
 0[0-3]    Control Message Type = 6 (NOP).
 
 1[0-15]   Header Checksum.  Covers words 0-N.
 
 2-N       Arbitrary Data.  Up to 32 words of data  may  be  sent.
           The data are undefined by HAP.
 
 
                                75