2.4. Compound-Frames
2.4. Compound-Frames
Description
This Configuration Option provides a method for an implementation to send multiple PPP encapsulated packets within the same frame. This option might be used for many diverse purposes, such as savings on toll charges. Only those PPP Protocols which have determinate lengths or integral length fields may be aggregated into a compound frame. When Compound-Frames is successfully negotiated, the sender MAY add additional packets to the same frame. Each packet is immediately followed by another Protocol field, with its attendant datagram. When padding is added to the end of the Information field, the procedure described in Self-Describing-Padding is used. Therefore, this option MUST be negotiated together with the Self-Describing-Padding option. If the FCS-Alternatives option has been negotiated, self describing padding MUST always be added. That is, the final packet MUST be followed by a series of octets, the first of which contains the value one (1). On receipt, the first Protocol field is examined, and the packet is processed as usual. For those datagrams which have a determinate length, the remainder of the frame is returned to the demultiplexor. Each succeeding Protocol field is processed as a separate packet. This processing is complete when a packet is processed which does not have a determinate length, when the remainder of the frame is empty, or when the Protocol field is determined to have a value of one (1). The PPP Protocol value of one (1) is reserved as the Padding Protocol. Any following octets are removed as padding. A summary of the Compound-Frames Option format is shown below. The fields are transmitted from left to right. 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
15
Length
2