| draft-mcquistin-augmented-tcp-example-01.txt | draft-mcquistin-augmented-tcp-example-02.txt | |||
|---|---|---|---|---|
| Network Working Group S. McQuistin | Network Working Group S. McQuistin | |||
| Internet-Draft V. Band | Internet-Draft V. Band | |||
| Intended status: Experimental D. Jacob | Intended status: Experimental D. Jacob | |||
| Expires: 6 November 2021 C. S. Perkins | Expires: 28 April 2022 C. S. Perkins | |||
| University of Glasgow | University of Glasgow | |||
| 5 May 2021 | 25 October 2021 | |||
| Describing TCP with Augmented Packet Header Diagrams | Describing TCP with Augmented Packet Header Diagrams | |||
| draft-mcquistin-augmented-tcp-example-01 | draft-mcquistin-augmented-tcp-example-02 | |||
| Abstract | Abstract | |||
| This document describes TCP, and a number of its extensions, using | This document describes TCP, and a number of its extensions, using | |||
| Augmented Packet Header Diagrams. This document is an example of the | Augmented Packet Header Diagrams. This document is an example of the | |||
| Augmented Packet Header Diagram language: it is not intended as a | Augmented Packet Header Diagram language: it is not intended as a | |||
| contribution to any ongoing or future work on maintaining or | contribution to any ongoing or future work on maintaining or | |||
| extending TCP. | extending TCP. | |||
| Status of This Memo | Status of This Memo | |||
| skipping to change at page 1, line 36 ¶ | skipping to change at page 1, line 36 ¶ | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
| working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| This Internet-Draft will expire on 6 November 2021. | This Internet-Draft will expire on 28 April 2022. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2021 IETF Trust and the persons identified as the | Copyright (c) 2021 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents (https://trustee.ietf.org/ | Provisions Relating to IETF Documents (https://trustee.ietf.org/ | |||
| license-info) in effect on the date of publication of this document. | license-info) in effect on the date of publication of this document. | |||
| Please review these documents carefully, as they describe your rights | Please review these documents carefully, as they describe your rights | |||
| skipping to change at page 4, line 48 ¶ | skipping to change at page 4, line 48 ¶ | |||
| word for checksum purposes. The pad is not transmitted as part of | word for checksum purposes. The pad is not transmitted as part of | |||
| the segment. While computing the checksum, the checksum field | the segment. While computing the checksum, the checksum field | |||
| itself is replaced with zeros. | itself is replaced with zeros. | |||
| Urgent Pointer: 16 bits. This field communicates the current value | Urgent Pointer: 16 bits. This field communicates the current value | |||
| of the urgent pointer as a positive offset from the sequence | of the urgent pointer as a positive offset from the sequence | |||
| number in this segment. The urgent pointer points to the sequence | number in this segment. The urgent pointer points to the sequence | |||
| number of the octet following the urgent data. This field is only | number of the octet following the urgent data. This field is only | |||
| be interpreted in segments with the URG control bit set. | be interpreted in segments with the URG control bit set. | |||
| Options: [TCP Option]; Options#Size == (DOffset-5)*32; present | Options: [TCP Option]; size(Options) == (DOffset-5)*32; present | |||
| only when DOffset > 5. Options may occupy space at the end of the | only when DOffset > 5. Options may occupy space at the end of the | |||
| TCP header and are a multiple of 8 bits in length. All options | TCP header and are a multiple of 8 bits in length. All options | |||
| are included in the checksum. | are included in the checksum. | |||
| Payload. Payload. | Payload. Payload. | |||
| 3. TCP Options | 3. TCP Options | |||
| A TCP Option is one of: a EOL Option, a NOOP Option, a Maximum | A TCP Option is one of: a EOL Option, a NOOP Option, a Maximum | |||
| Segment Size Option, a Window Scale Factor Option, a Timestamp | Segment Size Option, a Window Scale Factor Option, a Timestamp | |||
| skipping to change at page 6, line 15 ¶ | skipping to change at page 6, line 15 ¶ | |||
| Option Length (Length): 1 byte; Length == 4. Option length. | Option Length (Length): 1 byte; Length == 4. Option length. | |||
| Maximum Segment Size (MSS): 2 bytes. The maximum segment size | Maximum Segment Size (MSS): 2 bytes. The maximum segment size | |||
| allowed. | allowed. | |||
| A Window Scale Factor Option is formatted as follows: | A Window Scale Factor Option is formatted as follows: | |||
| 0 1 2 3 | 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 | 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 | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| | 3 | Length | Window Scale Factor | | | 3 | Length | Window Scale | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| where: | where: | |||
| Option Kind (Kind): 1 byte; Kind == 3. If present, this option | Option Kind (Kind): 1 byte; Kind == 3. If present, this option | |||
| carries the window scale factor. | carries the window scale factor. | |||
| Option Length (Length): 1 byte; Length == 3. Option length. | Option Length (Length): 1 byte; Length == 3. Option length. | |||
| Window Scale Factor: 1 byte. Window scale factor. | Window Scale: 1 byte. Window scale factor. | |||
| A Timestamp Option is formatted as follows: | A Timestamp Option is formatted as follows: | |||
| 0 1 2 3 | 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 | 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 | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| | 8 | Length | | | 8 | Length | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| | Timestamp value (TSval) | | | Timestamp value (TSval) | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| skipping to change at page 8, line 43 ¶ | skipping to change at page 8, line 43 ¶ | |||
| This work has received funding from the UK Engineering and Physical | This work has received funding from the UK Engineering and Physical | |||
| Sciences Research Council under grant EP/R04144X/1. | Sciences Research Council under grant EP/R04144X/1. | |||
| 8. Informative References | 8. Informative References | |||
| [AUGMENTED-DIAGRAMS] | [AUGMENTED-DIAGRAMS] | |||
| McQuistin, S., Band, V., Jacob, D., and C. S. Perkins, | McQuistin, S., Band, V., Jacob, D., and C. S. Perkins, | |||
| "Describing Protocol Data Units with Augmented Packet | "Describing Protocol Data Units with Augmented Packet | |||
| Header Diagrams", Work in Progress, Internet-Draft, draft- | Header Diagrams", Work in Progress, Internet-Draft, draft- | |||
| mcquistin-augmented-ascii-diagrams-08, 5 May 2021, | mcquistin-augmented-ascii-diagrams-09, 25 October 2021, | |||
| <http://www.ietf.org/internet-drafts/draft-mcquistin- | <http://www.ietf.org/internet-drafts/draft-mcquistin- | |||
| augmented-ascii-diagrams-08.txt>. | augmented-ascii-diagrams-09.txt>. | |||
| [RFC793] Postel, J., "Transmission Control Protocol", RFC 793, | [RFC793] Postel, J., "Transmission Control Protocol", RFC 793, | |||
| September 1981, <https://www.rfc-editor.org/info/rfc793>. | September 1981, <https://www.rfc-editor.org/info/rfc793>. | |||
| [draft-ietf-tcpm-rfc793bis] | [draft-ietf-tcpm-rfc793bis] | |||
| Eddy, W., "Transmission Control Protocol (TCP) | Eddy, W., "Transmission Control Protocol (TCP) | |||
| Specification", Work in Progress, Internet-Draft, draft- | Specification", Work in Progress, Internet-Draft, draft- | |||
| ietf-tcpm-rfc793bis-21, 3 May 2021, <http://www.ietf.org/ | ietf-tcpm-rfc793bis-25, 7 September 2021, | |||
| internet-drafts/draft-ietf-tcpm-rfc793bis-21.txt>. | <http://www.ietf.org/internet-drafts/draft-ietf-tcpm- | |||
| rfc793bis-25.txt>. | ||||
| Appendix A. Source code repository | Appendix A. Source code repository | |||
| The source code for tooling that can be used to parse this document, | The source code for tooling that can be used to parse this document, | |||
| and generate parser code for the protocol it describes, is available | and generate parser code for the protocol it describes, is available | |||
| from https://github.com/glasgow-ipl/ips-protodesc-code. | from https://github.com/glasgow-ipl/ips-protodesc-code. | |||
| Authors' Addresses | Authors' Addresses | |||
| Stephen McQuistin | Stephen McQuistin | |||
| End of changes. 10 change blocks. | ||||
| 11 lines changed or deleted | 12 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||