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

What about zero Integer or Numeric values? #1443

Merged
merged 3 commits into from Nov 9, 2023
Merged
Changes from 2 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
25 changes: 12 additions & 13 deletions draft-ietf-taps-interface.md
Expand Up @@ -214,8 +214,8 @@ implementing platform.
We also make use of the following basic types:

- Boolean: Instances take the value `true` or `false`.
- Integer: Instances take positive or negative integer values.
- Numeric: Instances take positive or negative real number values.
- Integer: Instances take positive or negative integer values, or the value 0.
- Numeric: Instances take positive or negative real number values, or the value 0.
tfpauly marked this conversation as resolved.
Show resolved Hide resolved
- String: Instances are represented in UTF-8.
- IP Address: An IPv4 or IPv6 address {{?RFC5952}}.
- Enumeration: A family of types in which each instance takes one of a fixed,
Expand Down Expand Up @@ -2143,7 +2143,7 @@ Name:
: connTimeout

Type:
: Numeric (non-negative) or `Disabled`
: Numeric (positive) or `Disabled`

Default:
: `Disabled`
Expand All @@ -2160,7 +2160,7 @@ Name:
: keepAliveTimeout

Type:
: Numeric (non-negative) or `Disabled`
: Numeric (positive) or `Disabled`

Default:
: `Disabled`
Expand Down Expand Up @@ -2303,7 +2303,7 @@ Name:
: minSendRate / minRecvRate / maxSendRate / maxRecvRate

Type:
: Numeric (non-negative) or `Unlimited` / Numeric (non-negative) or `Unlimited` / Numeric (non-negative) or `Unlimited` / Numeric (non-negative) or `Unlimited`
: Numeric (positive) or `Unlimited` / Numeric (positive) or `Unlimited` / Numeric (positive) or `Unlimited` / Numeric (positive) or `Unlimited`

Default:
: `Unlimited` / `Unlimited` / `Unlimited` / `Unlimited`
Expand All @@ -2324,7 +2324,7 @@ Name:
: groupConnLimit

Type:
: Numeric (non-negative) or `Unlimited`
: Numeric (positive) or `Unlimited`

Default:
: `Unlimited`
Expand Down Expand Up @@ -2379,7 +2379,7 @@ This value allows a sending stack to avoid unwanted fragmentation at the
network-layer or segmentation by the transport layer before
choosing the message size and/or after a `SendError` occurs indicating
an attempt to send a Message that is too large. A Transport Services API
could express `Not applicable` in an environment-typical way, e.g., as a Union type or special value.
could express `Not applicable` in an environment-typical way, e.g., as a Union type or special value (e.g., 0).

#### Maximum Message Size on Send {#conn-max-msg-send}

Expand All @@ -2390,7 +2390,7 @@ Type:
: Integer (non-negative)

This property represents the maximum Message size that an application can send.
It is specified as the number of bytes.
It is specified as the number of bytes. A value of 0 indicates that sending is not possible.

#### Maximum Message Size on Receive {#conn-max-msg-recv}

Expand All @@ -2401,7 +2401,7 @@ Type:
: Integer (non-negative)

This property represents the maximum Message size that an application can receive.
It is specified as the number of bytes.
It is specified as the number of bytes. A value of 0 indicates that receiving is not possible.

## TCP-specific Properties: User Timeout Option (UTO) {#tcp-uto}

Expand Down Expand Up @@ -2429,13 +2429,12 @@ Name:
: tcp.userTimeoutValue

Type:
: Integer (non-negative)
: Integer (positive)

Default:
: the TCP default

This time value is advertised via the TCP User Timeout Option (UTO) {{?RFC5482}} at the Remote Endpoint
to adapt its own `Timeout for aborting Connection` (see {{conn-timeout}}) value.
This time value is advertised via the TCP User Timeout Option (UTO) {{?RFC5482}} to the Remote Endpoint which can use it to adapt its own `Timeout for aborting Connection` (see {{conn-timeout}}) value.

### User Timeout Enabled

Expand Down Expand Up @@ -2704,7 +2703,7 @@ Name:
: msgLifetime

Type:
: Numeric (non-negative)
: Numeric (positive)

Default:
: infinite
Expand Down