Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refer to all header octets by number #651

Merged
merged 4 commits into from Jun 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 13 additions & 14 deletions draft-ietf-quic-transport.md
Expand Up @@ -380,14 +380,14 @@ header contains the following fields:

Header Form:

: The most significant bit (0x80) of the first octet is set to 1 for long
headers and 0 for short headers.
: The most significant bit (0x80) of octet 0 (the first octet) is set to 1 for
long headers.

Long Packet Type:

: The remaining seven bits of first octet of a long packet is the packet type.
This field can indicate one of 128 packet types. The types specified for this
version are listed in {{long-packet-types}}.
: The remaining seven bits of octet 0 contain the packet type. This field can
indicate one of 128 packet types. The types specified for this version are
listed in {{long-packet-types}}.

Connection ID:

Expand Down Expand Up @@ -461,27 +461,26 @@ This header form has the following fields:

Header Form:

: The most significant bit (0x80) of the first octet of a packet is the header
form. This bit is set to 0 for the short header.
: The most significant bit (0x80) of octet 0 is set to 0 for the short header.

Connection ID Flag:

: The second bit (0x40) of the first octet indicates whether the Connection ID
field is present. If set to 1, then the Connection ID field is present; if
set to 0, the Connection ID field is omitted. The Connection ID field can
: The second bit (0x40) of octet 0 indicates whether the Connection ID field is
present. If set to 1, then the Connection ID field is present; if set to 0,
the Connection ID field is omitted. The Connection ID field can
only be omitted if the omit_connection_id transport parameter
({{transport-parameter-definitions}}) is specified by the intended recipient
of the packet.

Key Phase Bit:

: The third bit (0x20) of the first octet indicates the key phase, which allows
a recipient of a packet to identify the packet protection keys that are used
to protect the packet. See {{QUIC-TLS}} for details.
: The third bit (0x20) of octet 0 indicates the key phase, which allows a
recipient of a packet to identify the packet protection keys that are used to
protect the packet. See {{QUIC-TLS}} for details.

Short Packet Type:

: The remaining 5 bits of the first octet include one of 32 packet types.
: The remaining 5 bits of octet 0 include one of 32 packet types.
{{short-packet-types}} lists the types that are defined for short packets.

Connection ID:
Expand Down