1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 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 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 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 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 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 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 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 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117
|
<pre>Network Working Group K. Schneider
Request for Comments: 1963 S. Venters
Category: Informational ADTRAN, Inc.
August 1996
<span class="h1">PPP Serial Data Transport Protocol (SDTP)</span>
Status of This Memo
This memo provides information for the Internet community. This memo
does not specify an Internet standard of any kind. Distribution of
this memo is unlimited.
Abstract
The Point-to-Point Protocol (PPP) [<a href="#ref-1" title=""The Point-to-Point Protocol (PPP)"">1</a>] provides a standard method for
transporting multi-protocol datagrams over point-to-point links. PPP
defines an extensible Link Control Protocol, and proposes a family of
Network Control Protocols for establishing and configuring different
network-layer protocols.
This document describes a new Network level protocol (from the PPP
point of view), PPP Serial Data Transport Protocol, that provides
encapsulation and an associated control protocol for transporting
serial data streams over a PPP link. This protocol was developed for
the purpose of using PPP's many features to provide a standard method
for synchronous data compression. The encapsulation uses a header
structure based on that of the ITU-T Recommendation V.120 [<a href="#ref-2" title=""Support by an ISDN of Data Terminal Equipment with V-Series Type Interfaces with Provision for Statistical Multiplexing"">2</a>].
Table of Contents
<a href="#section-1">1</a>. Introduction .......................................... <a href="#page-2">2</a>
<a href="#section-2">2</a>. SDTP Packets .......................................... <a href="#page-3">3</a>
<a href="#section-2.1">2.1</a> Padding ......................................... <a href="#page-4">4</a>
<a href="#section-2.2">2.2</a> Packet Formats .................................. <a href="#page-4">4</a>
<a href="#section-3">3</a>. Serial Data Control Protocol .......................... <a href="#page-11">11</a>
<a href="#section-4">4</a>. SDCP Configuration Option Format ...................... <a href="#page-12">12</a>
<a href="#section-4.1">4.1</a> Packet-Format ................................... <a href="#page-13">13</a>
<a href="#section-4.2">4.2</a> Header-Type ..................................... <a href="#page-13">13</a>
<a href="#section-4.3">4.3</a> Length-Field-Present ............................ <a href="#page-14">14</a>
<a href="#section-4.4">4.4</a> Multi-Port ...................................... <a href="#page-14">14</a>
<a href="#section-4.5">4.5</a> Transport-Mode .................................. <a href="#page-15">15</a>
<a href="#section-4.6">4.6</a> Maximum-Frame-Size .............................. <a href="#page-16">16</a>
<a href="#section-4.7">4.7</a> Allow-Odd-Frames ................................ <a href="#page-16">16</a>
<a href="#section-4.8">4.8</a> FCS-Type ........................................ <a href="#page-17">17</a>
<a href="#section-4.9">4.9</a> Flow-Expiration-Time ............................ <a href="#page-18">18</a>
SECURITY CONSIDERATIONS ...................................... <a href="#page-19">19</a>
<span class="grey">Schneider & Venters Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
REFERENCES ................................................... <a href="#page-19">19</a>
CHAIR'S ADDRESS .............................................. <a href="#page-20">20</a>
AUTHORS' ADDRESSES ........................................... <a href="#page-20">20</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document is a product of the TR30.1 ad hoc committee on
compression of synchronous data. It represents a component of a
proposal to use PPP to provide compression of synchronous data in
DSU/CSUs.
In addition to providing support for multi-protocol datagrams, the
Point-to-Point Protocol (PPP) [<a href="#ref-1" title=""The Point-to-Point Protocol (PPP)"">1</a>] has defined an effective and robust
negotiating mechanism that can be used on point to point links. When
used in conjunction with the PPP Compression Control Protocol [<a href="#ref-3" title=""The PPP Compression Control Protocol (CCP)"">3</a>] and
one of the PPP Compression Protocols [4-10], PPP provides an
interoperable method of employing data compression on a point-to-
point link.
This document provides a PPP encapsulation for serial data,
specifying a transport protocol, PPP Serial Data Transport Protocol
(PPP-SDTP), and an associated control protocol, PPP Serial Data
Control Protocol (PPP-SDCP). When these protocols are added to above
mentioned PPP protocols, PPP can be used to provide compression of
serial data on a point-to-point link.
This first edition of PPP-SDTP/SDCP covers HDLC-like synchronous
serial data and asynchronous serial data. It does this by using a
terminal adaption header based on that of ITU-T Recommendation V.120
[<a href="#ref-2" title=""Support by an ISDN of Data Terminal Equipment with V-Series Type Interfaces with Provision for Statistical Multiplexing"">2</a>]. Support may be added in the future for other synchronous
protocols as the marketplace demands.
The V.120 terminal adaption header allows transported data frames to
be split over several packets, supports the transport of DTE port
idle and error information, and optionally supports the transport of
DTE control state information.
In addition to the V.120 Header, fields can be added to the packet
format through negotiation to provide support for features not
included in the V.120 header. The extra fields are: a Length Field,
which is used to distinguish packets in compound frames, and a Port
field, which is used to provide multi-port multiplexing capability.
The protocol also allows reserved bits in the V.120 header to be used
to transport non-octet aligned frames and to provide a flow control
mechanism.
<span class="grey">Schneider & Venters Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
To provide these features, PPP-SDTP permits a single frame format to
be selected from several possible formats by using PPP-SDCP
negotiation. The terminal adaption header can be either fixed length
or variable length, to allow either simplicity or flexibility.
The default frame format places the terminal adaption header at the
end of the packet. This permits optimal transmitter timelines when
user frames are segmented and compression is also used in conjunction
with this protocol.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. SDTP Packets</span>
Before any SDTP packets may be communicated, PPP must reach the
Network-Layer Protocol phase, and the SDTP Control Protocol must
reach the Opened state.
By default, exactly one SDTP packet is encapsulated in the PPP
Information field, where the PPP Protocol field indicates type hex
0049 (PPP-SDTP). If the Length-Field-Present Configuration Option
and the LCP Compound-Frames Configuration Option are successfully
negotiated, multiple SDTP packets may be placed in the PPP
Information field, and they are distinguished by the presence of
Length fields in each packet.
The maximum length of the SDTP datagram transmitted over a PPP link
is limited only by the negotiated Maximum-Frame-Size and the maximum
length of the Information field of a PPP encapsulated packet. Note
that if compression is used on the PPP link, this the maximum length
of the SDTP datagram may be larger or smaller than the maximum
length of the Information field of a PPP encapsulated packet,
depending on the particular compression algorithm and protocol used.
ITU-T Recommendation V.120 [<a href="#ref-2" title=""Support by an ISDN of Data Terminal Equipment with V-Series Type Interfaces with Provision for Statistical Multiplexing"">2</a>] defines an adaption header that is
used with its asynchronous and synchronous modes of operation. SDTP
packets include this header as a Header field to provide the protocol
adaption function. Using negotiation, additional fields can be added
to the packet to provide sequencing and multiplexing capability
within SDTP. SDTP also has an option of using the reserved bits of
the header to provide a flow control mechanism and support for
transporting non-octet aligned data frames.
The default SDTP packet format is designed to allow the efficient use
of the protocol's segmentation feature when combined with a PPP
Compression Protocol [4-10]. This format is a little different from
other PPP NCP's in that data is read from both ends of the packet.
The Header field is placed at the end of the SDTP packet, with the
order of the octets reversed. This somewhat unique format has been
selected to allow optimal transmitter timelines when compression is
<span class="grey">Schneider & Venters Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
used and transported data frames are split into multiple SDTP
packets. In such a situation, the Header field contains the
information about whether the data is split into multiple packets or
not, so if it is located at the end of a packet, the decision can be
made after observing the compressed size of the packet. The Header
field can then simply be run through the compressor after the
decision has been made.
When the Header field is placed before the data, as in the optional
packet format, the transmitter must make the decision about whether
to split a frame over multiple packets without knowing about the
compressibility of the frame. Therefore the optional format is
designed to be used when transported frames are not split into
multiple SDTP packets or where SDTP is not coupled with compression.
It is believed that this format may be useful for some hardware
implementations.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Padding</span>
If padding is used, SDTP packets require the use of the Length Field
or the previous negotiation of the LCP Self-Describing-Padding
Configuration Option [<a href="#ref-11" title=""PPP LCP Extensions"">11</a>].
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Packet Formats</span>
The default SDTP packet format is shown below. The fields are
transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PPP Protocol ID | Transported Data ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Header - H |
+-+-+-+-+-+-+-+-+
The two complete frame formats are shown below: Header-Last and
Header-First. Header-Last is the default packet format. The
additional fields provided support for: Control State Information
(CS), multiple packets and multi-port multiplexing. Again, the
fields are transmitted from left to right. Descriptions of the
fields follow the packet formats.
<span class="grey">Schneider & Venters Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Header-Last
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PPP Protocol ID | (Length) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| (Port) | Transported Data / (Odd-Pad) ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Header - (CS) : H |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Header-First
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PPP Protocol ID | (Length) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| (Port) | Header - H : (CS) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Transported Data / (Odd-Pad) ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
PPP Protocol ID
The PPP Protocol ID field is described in the Point-to-Point
Protocol Encapsulation [<a href="#ref-1" title=""The Point-to-Point Protocol (PPP)"">1</a>].
When the SDTP Protocol is successfully negotiated by the SDTP
Control Protocol (SDCP), the value is 0049 hex. This value may be
compressed to one octet when Protocol-Field-Compression is
negotiated, or if one of the PPP compression protocols [4-10] is
used.
Length
The optional Length field is present in every SDTP packet upon
successful negotiation of the Length-Field-Present Configuration
Option.
The value of the Length field is the combined lengths of the
Length, Port (if present), Header, Transmitted Data, and Odd-Pad
(if present) fields in octets.
The length of the Length field defaults to one octet. Valid
lengths are from 2 to 255 octets, since each packet must include
<span class="grey">Schneider & Venters Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
at least a one octet Header field.
If desired, the length field can be negotiated to be two octets in
length. In that case, valid lengths are from 2 to 65535 octets,
and the field is transmitted most significant octet first.
In either case, a length of 0 means that the combined length is
the same as the length of the remainder of the PPP Information
Field.
Port
The optional Port field is present in every SDTP packet upon
successful negotiation of the Multi-Port Option.
The length of the Port field is one octet. Valid Port numbers are
0 to 254. Port number 255 is reserved for control purposes (see
section on flow control).
Header
The Header field is the terminal adaption header from ITU-T
Recommendation V.120. As specified in that document, it contains
up to two octets: The terminal adaption header octet (H), and the
optional header extension for control state information (CS).
SDTP only supports the protocol sensitive operation of V.120; bit
transparent operation is not supported. The descriptions of the
header bits provided below are derived from the descriptions
provided in Recommendation V.120. In addition to the bit
definitions of V.120, SDTP optionally permits the use of reserved
bits to be used for flow control and to provide support for non-
octet aligned frames.
The length of the Header field is either one or two octets, and is
determined by the value of the E bit in the first octet. By
default, the E-bit must be set in the H octet and the CS octet is
not present. A Configuration Option may be negotiated to allow
the use of the CS octet, or even to require its presence in every
packet.
<span class="grey">Schneider & Venters Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
H (V.120 Terminal Adaption Header)
The format of the first octet of the Header field is shown
below:
0 1 2 3 4 5 6 7
+-----+-----+-----+-----+-----+-----+-----+-----+
| E | BR | Res | FC | C2 | C1 | B | F |
+-----+-----+-----+-----+-----+-----+-----+-----+
E - Extension Bit
The E bit is the extension bit. If set to 0, it indicates
that the Control-2 field is present.
BR - Break / HDLC Idle Bit
In asynchronous mode, the BR bit indicates the invocation of
the BREAK function by the DTE. A value of 1 indicates
BREAK.
In synchronous HDLC mode, the BR bit is used to indicate
that DTE port is receiving HDLC idle condition. A value of
1 indicates this idle condition.
Res - Reserved
This bit is reserved and MUST be set to 0. (This is a
reserved bit in V.120.)
FC - Flow Control
This bit can be used for flow control of SDTP traffic on the
network, for applications which require it. When SDTP is
used in conjunction with data compression, flow control may
be needed. Reasons for this could be that the DTE port uses
an X.21 interface (and therefore does not have independent
control of DTE transmit and receive clocks), or simply that
the underlying link layer (such as PPP in HDLC-like Framing)
does not include a mechanism for network flow control, so
some flow control mechanism is needed.
This bit set to a value of 0 indicates that the receiver is
ready to receive data (Flow-On). A value of 1 indicates that
the receiver does not wish to receive data and the
transmitting peer should stop sending it (Flow-Off). Flow
<span class="grey">Schneider & Venters Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
control operates on a per port basis. Flow control messages
on Port 255 affect all ports.
To ensure that a missed Flow-On message cannot cause a
hangup condition, a Flow-Off is defined to expire after a
time of T1 seconds. If a unit desires to keep its peer in
the Flow-Off state for more than T1 seconds, it MUST
transmit another Flow-Off message after every period of T1
seconds. A unit that receives a Flow-Off message may resume
transmitting T1 seconds after the last Flow-Off was
received. The value of T1 is controlled by the Flow-
Expiration-Time Configuration Option. The default value is
10 seconds. There is not a separate value for T1 for each
port; all ports use the same T1 value.
(This bit is a reserved bit in V.120, which requires the bit
to be set to a value of zero. The above definition of flow
control provides compatibility with this definition when
flow control is not used.)
C1, C2 - Error Control Bits
The C1 and C2 bits are used for DTE port Error detection and
transmission. Their meaning is defined in the following
table:
+----+----+--------------+--------------+
| | Meaning |
+----+----+--------------+--------------+
| C1 | C2 | Synchronous | Asynchronous |
+----+----+--------------+--------------+
| 0 | 0 | No Error | No Error |
| | | Detected | Detected |
+----+----+--------------+--------------+
| 0 | 1 | FCS Error | Stop-bit |
| | | (DTE) | Error |
+----+----+--------------+--------------+
| 1 | 0 | Abort | Parity Error |
| | | | on the Last |
| | | | Character in |
| | | | Frame |
+----+----+--------------+--------------+
| 1 | 1 | DTE Overrun* | Stop-bit and |
| | | | Parity Error |
+----+----+--------------+--------------+
<span class="grey">Schneider & Venters Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Appropriate responses to these bits are provided in Sections
2.2.1 and 2.2.2 of the V.120 standard (where R reference
point is translated to mean DTE port.)
B, F - Segmentation Bits
The B and F bits are used for segmenting and reassembly of
the transported frames in synchronous HDLC mode. Setting
the B bit to 1 indicates that the packet contains the
beginning of a transported frame or a Begin Frame. Setting
the F bit indicates that the packet contains the final
portion of a transported frame, or a Final Frame. A packet
that contains neither the beginning of a frame nor the end
is said to contain a Middle Frame. For asynchronous mode
and bit transparent mode operation both bits MUST be set to
1. The following table summarizes the use of these bits:
+---+---+--------------+----------------+
| | Application |
+---+---+--------------+----------------+
| B | F | Synchronous | Asynchronous |
+---+---+--------------+----------------+
| 1 | 0 | Begin Frame | Not Applicable |
+---+---+--------------+----------------+
| 0 | 0 | Middle Frame | Not Applicable |
+---+---+--------------+----------------+
| 1 | 0 | Final Frame | Not Applicable |
+---+---+--------------+----------------+
| 1 | 1 | Single Frame | Required |
+---+---+--------------+----------------+
CS (V.120 optional Header Extension for Control State Information)
The format of the second Header octet (CS) is shown below:
0 1 2 3 4 5 6 7
+-----+-----+-----+-----+-----+-----+-----+-----+
| E | DR | SR | RR | Res |(Odd-Pad Length) |
+-----+-----+-----+-----+-----+-----+-----+-----+
E - Extension Bit
The E bit is the extension bit, and allows further extension
of the Header field. It is set to 1, to indicate no further
extension of the Header field.
<span class="grey">Schneider & Venters Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
DR - Data Ready
This bit set to 1 indicates that the DTE port is activated.
SR - Send Ready
This bit set to 1 indicates that the DTE is ready to send
data.
RR - Receive Ready
This bit set to 1 indicates that the DTE is ready to receive
data. It can be used for DTE flow control in half-duplex
transmissions.
Res - Reserved
This bit is reserved and set to 0. (This is a V.120 reserved
bit.)
Odd-Pad Length (Optional)
The Odd-Pad Length field is used when non-octet aligned HDLC
frames are allowed. It is a 3-bit field, that can take on
the values of 0 through 7. Its value is the length of the
Odd-Pad field in bits. This value is determined as the
number of bits necessary to have the combined length of the
Transported Data Field and the Odd-Pad Field be aligned with
an octet boundary.
If non-octet aligned frames are not allowed, this field is
not used and all bits are set to the value of 0. (These
bits are reserved in V.120.)
Transported Data
The transported data field contains the transported serial data.
When the serial data type has been negotiated to be HDLC-like
synchronous, this field will contain all or part of a transported
HDLC-like frame.
A sample transported HDLC frame is shown below. The figure does
not show bits inserted for transparency.
<span class="grey">Schneider & Venters Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flag:01111110 | (Address, Control and Information Fields) ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| (FCS) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - - - - - - - - -+
| Flag:01111110 |
+-+-+-+-+-+-+-+-+
Only the data between the flags is transported. The flags are not
transported. The FCS is tranported unless the FCS-Mode
Configuration Option has been successfully negotiated otherwise.
Odd-Pad
The optional Odd-Pad (Odd Frame Pad) field is used when the
transported data frame is non-octet aligned, and the Allow-Odd-
Frames Option has been successfully negotiated. It contains the
bits that are required to pad the Transported Data field out to an
octet boundary. The Odd-Pad field is in the high order bits of
the last octet of the Transported Data field. The values of these
bits are all zero.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Serial Data Control Protocol</span>
The Serial Data Control Protocol (SDCP) is responsible for
configuring, enabling and disabling the SDTP modules on both ends of
the point-to-point link. SDCP uses the same packet exchange
mechanism and state machine as the Link Control Protocol. SDCP
packets may not be exchanged until PPP has reached the Network-Layer
Protocol phase. SDCP packets received before this phase is reached
SHOULD be silently discarded.
The Serial Data Control Protocol is exactly the same as the Link
Control Protocol [<a href="#ref-1" title=""The Point-to-Point Protocol (PPP)"">1</a>] with the following exceptions:
Frame Modifications
The packet may utilize any modifications to the basic frame format
which have been negotiated during the Link Establishment phase.
Data Link Layer Protocol Field
Exactly one SDCP packet is encapsulated in the PPP Information
field, where the PPP Protocol field indicates type hex 8049 (PPP-
SDCP).
<span class="grey">Schneider & Venters Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Code Field
Only Codes 1 through 7 (Configure-Request, Configure-Ack,
Configure-Nak, Configure-Reject, Terminate-Request, Terminate-Ack,
and Code-Reject) are used. other Codes SHOULD be treated as
unrecognized and SHOULD result in Code-Rejects.
Timeouts
SDCP packets may not be exchanged until PPP has reached the
Network-Layer Protocol phase. An implementation SHOULD be
prepared to wait for Authentication and Link Quality Determination
to finish before timing out waiting for a Configure-Ack or other
response. It is suggested that an implementation give up only
after user intervention or a configurable amount of time.
Configuration Option Types
SDCP has a distinct set of Configuration Options which are defined
in this document.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. SDCP Configuration Option Format</span>
SDCP Configuration Options allow modifications to the default SDCP
characteristics to be negotiated. If a Configuration Option is not
included in a Configure-Request packet, the default value for that
Configuration Option is assumed.
SDCP uses the same Configuration Option format defined in LCP [<a href="#ref-1" title=""The Point-to-Point Protocol (PPP)"">1</a>],
with a separate set of Options.
The Option Types are:
1 Packet-Format
2 Header-Type
3 Length-Field-Present
4 Multi-Port
5 Transport-Mode
6 Maximum-Frame-Size
7 Allow-Odd-Frames
8 FCS-Type
9 Flow-Expiration-Time
Note that Option Types 5-8 are specific to a single port and require
port numbers in their format. Option Types 6-8 are specific to the
HDLC-Synchronous Transport-Mode.
<span class="grey">Schneider & Venters Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Packet-Format</span>
This option selects whether the Header field precedes or follows the
data field. When the Header field follows the data field, the order
of its octets are reversed.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Format |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
1
Length
3
Format
0 Header-Last (default)
1 Header-First
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Header-Type</span>
This option selects the type of the Header field. The Header-Type of
H-and-CS means that the CS octet will be present if indicated by the
E-bit in the H-octet. The Header-Type of H-and-CS-Always signifies
that both the H and CS octets are present in every packet.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Header-Type |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
2
Length
3
<span class="grey">Schneider & Venters Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Header-Type
0 H-Only (default)
1 H-and-CS
2 H-and-CS-Always
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Length-Field-Present</span>
By default, a PPP Information Field contains only a single SDTP
packet, and an SDTP Packet does not contain a length field.
Successful negotiation of this option causes all SDTP packets to
contain the length field, and allows SDTP packets to be contained in
compound frames (see LCP Compound-Frames Configuration Option [<a href="#ref-11" title=""PPP LCP Extensions"">11</a>]).
This option is required if the LCP Length-Field-Present Configuration
option has been negotiated.
The size of the Length field is negotiated via the Length-Size
parameter.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Length-Size |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
3
Length
3
Length-Size
0 No Length Field (default)
1 Length field of 1 octet
2 Length field of 2 octets
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Multi-Port</span>
By default, packets do not contain a port number and all packets are
sent to the default port, Port 0. The Successful negotiation of the
Multi-Port configuration option means that every packet will contain
a port number. The maximum port number, and hence the number of
ports, is negotiated by using the Max-Port-Num field. A value of 0
specifies that a single port is to be used and no port field will be
<span class="grey">Schneider & Venters Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
present in an SDTP packet. (This is the same as not negotiating or
rejecting this option.) Port numbers begin with 0 and range to 254.
Port number 255 is reserved for control purposes (see section on flow
control).
Protocol Specific negotiations which are on a per port basis, require
the port number to be specified as part of the configuration
negotiation.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Max-Port-Num |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
4
Length
3
Max-Port-Num
The maximum port number that can be used. The number of ports
present is Max-Port-Num + 1. The value can range from 0 to 254.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. Transport-Mode</span>
This parameter selects the mode of transport for the specified port.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Port | Mode |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
5
Length
4
<span class="grey">Schneider & Venters Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Port
The port for which this option applies.
Mode
The transport mode to be used for this port.
0 HDLC Synchronous (default)
1 Asynchronous
<span class="h3"><a class="selflink" id="section-4.6" href="#section-4.6">4.6</a>. Maximum-Frame-Size</span>
This parameter specifies the maximum number of octets allowed in a
transported data frame.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Port |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Maximum-Frame-Size |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
6
Length
7
Port
The port for which this option applies.
Maximum-Frame-Size
The maximum allowed length of a transported data frame in octets.
Default is 10,000. Negotiable range is 1 to 2**31 - 1. The value
0 is reserved to mean no limit. This field is transmitted most
significant octet first.
<span class="h3"><a class="selflink" id="section-4.7" href="#section-4.7">4.7</a>. Allow-Odd-Frames</span>
By default, only octet-aligned data frames are allowed for transport.
Successful negotiation of this option allows the transport of non-
octet aligned frames. The size of the padding required to align the
<span class="grey">Schneider & Venters Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
frames is carried in the CS Header octet.
Use of Header-Type H-Only is not permitted in conjunction with this
option.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Port |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
7
Length
3
Port
The port for which this option applies.
<span class="h3"><a class="selflink" id="section-4.8" href="#section-4.8">4.8</a>. FCS-Type</span>
By default, the transported data frame FCS is transported. This
option allows the FCS to be removed by the transmitter and
regenerated by the receiver.
It is important that implementations not use regeneration unless they
are using PPP Reliable Transmission [<a href="#ref-12" title=""PPP Reliable Transmission"">12</a>] or operating over some other
layer that will provide reliable notification of a dropped packet.
Implementations are not permitted to send a incomplete or bad frame
to the user with a good (regenerated) FCS.
This option also selects the type of user FCS that will be
regenerated.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Port | FCS-Type |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
8
<span class="grey">Schneider & Venters Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Length
4
Port
The port for which this option applies.
FCS-Type
0 Transparent-Transport (Default)
1 16-bit ITU-T CRC
2 32-bit ITU-T CRC
<span class="h3"><a class="selflink" id="section-4.9" href="#section-4.9">4.9</a>. Flow-Expiration-Time</span>
As described in <a href="#section-2.2">section 2.2</a>, Flow-Off messages expire after T1
seconds. By default, T1 is 10 seconds. This configuration option
allows the value of T1 to be changed.
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flow-Expiration-Time |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
9
Length
5
Flow-Expiration-Time
The Flow-Expiration-Time field contains a 16 bit unsigned integer
which is used to specify the value to be assigned to T1 as
follows: T1 = Flow-Expiration-Time / 10 seconds. Therefore this
value is in units of 1/10 of a second, with allowable values from
1 to 2^16-1 (0.1 to 6553.5 seconds). It is transmitted most
significant octet first. The default value is 100 (10 seconds),
which all must support.
<span class="grey">Schneider & Venters Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Security Considerations
Security issues are not discussed in this memo.
References
[<a id="ref-1">1</a>] Simpson, W., ed., "The Point-to-Point Protocol (PPP)", STD
51, <a href="./rfc1661">RFC 1661</a>, July 1994.
[<a id="ref-2">2</a>] CCITT Recommendation V.120 (09/92), "Support by an ISDN of
Data Terminal Equipment with V-Series Type Interfaces with
Provision for Statistical Multiplexing", 1993.
[<a id="ref-3">3</a>] Rand, D., "The PPP Compression Control Protocol (CCP)", <a href="./rfc1962">RFC</a>
<a href="./rfc1962">1962</a>, June 1996.
[<a id="ref-4">4</a>] Friend, R., and W. Simpson, "PPP Stac LZS Compression
Protocol", <a href="./rfc1974">RFC 1974</a>, August 1996.
[<a id="ref-5">5</a>] Rand, D., "PPP Predictor Compression Protocol", <a href="./rfc1978">RFC 1978</a>,
August 1996.
[<a id="ref-6">6</a>] Petty, J., "PPP Hewlett-Packard Packet-by-Packet Compression
(HP PPC) Protocol", Work in Progress.
[<a id="ref-7">7</a>] Carr, D., <a style="text-decoration: none" href='https://www.google.com/search?sitesearch=datatracker.ietf.org%2Fdoc%2Fhtml%2F&q=inurl:draft-+%22PPP+Gandalf+FZA+Compression+Protocol%22'>"PPP Gandalf FZA Compression Protocol"</a>, Work in
Progress.
[<a id="ref-8">8</a>] Schryver, V., "PPP BSD Compression Protocol", <a href="./rfc1977">RFC 1977</a>,
August 1996.
[<a id="ref-9">9</a>] Schremp, et. al., "PPP Magnalink Variable Resource
Compression", <a href="./rfc1975">RFC 1975</a>, August 1996.
[<a id="ref-10">10</a>] Schneider, K., "PPP Stacker LZS Compression Protocol using a
DCP Header (LZS-DCP)", <a href="./rfc1967">RFC 1967</a>, August 1996.
[<a id="ref-11">11</a>] Simpson, W.A., "PPP LCP Extensions", <a href="./rfc1570">RFC 1570</a>, January 1994.
[<a id="ref-12">12</a>] Rand, D., "PPP Reliable Transmission", <a href="./rfc1663">RFC 1663</a>, July 1994.
<span class="grey">Schneider & Venters Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc1963">RFC 1963</a> PPP SDTP August 1996</span>
Chair's Address
The working group can be contacted via the current chair:
Karl Fox
Ascend Communications
3518 Riverside Drive, Suite 101
Columbus, Ohio 43221
EMail: karl@ascend.com
Authors' Addresses
Questions about this memo should be directed to:
Kevin Schneider
Adtran, Inc.
901 Explorer Blvd.
Huntsville, AL 35806-2807
Phone: (205) 971-8000
EMail: kevin@adtran.com
Stuart Venters
Adtran, Inc.
901 Explorer Blvd.
Huntsville, AL 35806-2807
Phone: (205) 971-8000
EMail: sventers@adtran.com
Schneider & Venters Informational [Page 20]
</pre>
|