Skip to content

Commit

Permalink
Merge pull request #1443 from ietf-tapswg/mw-api-zero
Browse files Browse the repository at this point in the history
What about zero Integer or Numeric values?
  • Loading branch information
tfpauly committed Nov 9, 2023
2 parents c92a658 + 86f3084 commit 19d105e
Showing 1 changed file with 12 additions and 13 deletions.
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 integer values.
- Numeric: Instances take real number values.
- 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 @@ -2189,7 +2189,7 @@ Name:
: connTimeout

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

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

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

Default:
: `Disabled`
Expand Down Expand Up @@ -2349,7 +2349,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 @@ -2370,7 +2370,7 @@ Name:
: groupConnLimit

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

Default:
: `Unlimited`
Expand Down Expand Up @@ -2458,7 +2458,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 @@ -2469,7 +2469,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 @@ -2480,7 +2480,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 @@ -2508,13 +2508,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 @@ -2783,7 +2782,7 @@ Name:
: msgLifetime

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

Default:
: infinite
Expand Down

0 comments on commit 19d105e

Please sign in to comment.