2.1. Traffic Classification Data Item
This page preserves the original RFC text for the section and adds navigation metadata for the documentation site.
Original RFC Text
2.1. Traffic Classification Data Item
This section defines the Traffic Classification Data Item. This Data
Item is used by a modem to provide a router with traffic
classification information. When an extension requires the use of
any Data Item, the Data Items, including this Traffic Classification
Data Item, SHOULD be included by a modem in any Session
Initialization Response Message (e.g., see [RFC9893]). Updates to
previously provided traffic classifications or new traffic
classifications MAY be sent by a modem by including the Data Item in
Session Update Messages. More than one Data Item MAY be included in
a message to provide information on multiple traffic classifiers.
The set of traffic classification information provided in the Data
Item is identified using a TID. The actual information related to
data planes that is used in traffic classification is provided in a
variable list of Traffic Classification Sub-Data Items.
The format of the Traffic Classification Data Item is as follows:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Data Item Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Traffic Class. Identifier (TID)| Num SDIs | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ Traffic Classification Sub-Data Item 1 ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ ... ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ Traffic Classification Sub-Data Item n ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Data Item Type:
29
Length:
Variable
Per Section 11.3 of [RFC8175], Length is the number of octets in
the Data Item, excluding the Data Item Type and Length fields.
The length here is limited by the packet data unit (PDU) length
supported. For example, if the packet is limited to 1400 bytes,
then the length MUST NOT exceed this value. If larger packets are
supported, the maximum MUST be adjusted to be smaller than or
equal to the maximum PDU. Multiple messages can be used if there
is more data than will fit in a single TLV.
Traffic Classification Identifier (TID):
A 16-bit unsigned integer identifying a traffic classification
set. There is no restriction on values used by a modem, and there
is no requirement for sequential or ordered values.
Num SDIs:
An 8-bit unsigned integer indicating the number of Traffic
Classification Sub-Data Items included in the Data Item. A value
of zero (0) is allowed and indicates that no traffic should be
matched against this TID.
Reserved:
For the Traffic Classification Data Item, this reserved field is
currently unused. It MUST be set to all zeros for this version of
the Data Item and is currently ignored on reception. This allows
for future extensions of the Data Item if needed.
Traffic Classification Sub-Data Item:
Zero or more Traffic Classification Sub-Data Items of the format
defined in Section 2.1.1 MAY be included. The number MUST match
the value carried in the Num SDIs field.
A router receiving the Traffic Classification Data Item MUST locate
the traffic classification information that is associated with the
TID indicated in each received Data Item. If no associated traffic
classification information is found, the router MUST initialize a new
information set using the values carried in the Data Item. If the
associated traffic classification information is found, the router
MUST replace the corresponding information using the values carried
in the Data Item. In both cases, a router MUST also ensure that any
data plane state (e.g., see [RFC9893]) that is associated with the
TID is updated as needed.