rfc9510v2.txt   rfc9510.txt 
skipping to change at line 319 skipping to change at line 319
* The alternative of assigning new TLV registry values does not * The alternative of assigning new TLV registry values does not
substantially mitigate the interoperability problems anyway. substantially mitigate the interoperability problems anyway.
5.1. Interest Lifetime 5.1. Interest Lifetime
The Interest Lifetime definition in [RFC8609] allows for a variable- The Interest Lifetime definition in [RFC8609] allows for a variable-
length lifetime representation, where a length of 1 encodes the length lifetime representation, where a length of 1 encodes the
linear range [0,255] in milliseconds. This document changes the linear range [0,255] in milliseconds. This document changes the
definition to always encode 1-byte Interest Lifetime values in the definition to always encode 1-byte Interest Lifetime values in the
compact time value representation (see Figure 4). compact time value representation (see Figure 4). For any other
length, Interest Lifetimes are encoded as described in Section 3.4.1
of [RFC8609].
1 2 3 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
+---------------+---------------+---------------+---------------+ +---------------+---------------+---------------+---------------+
| T_INTLIFE | Length = 1 | | T_INTLIFE | Length = 1 |
+---------------+---------------+---------------+---------------+ +---------------+---------------+---------------+---------------+
| COMPACT_TIME | | COMPACT_TIME |
+---------------+ +---------------+
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
+---------------+---------------+---------------+---------------+
| T_INTLIFE | Length > 1 |
+---------------+---------------+---------------+---------------+
/ /
/ Lifetime (Length octets) /
/ /
+---------------+---------------+---------------+---------------+
Figure 4: New definition of the Interest Lifetime TLV. Figure 4: Changes to the definition of the Interest Lifetime TLV.
5.2. Recommended Cache Time 5.2. Recommended Cache Time
The Recommended Cache Time definition in [RFC8609] specifies an The Recommended Cache Time definition in [RFC8609] specifies an
absolute time representation that is of a length fixed to 8 bytes. absolute time representation that is of a length fixed to 8 bytes.
This document changes the definition to always encode 1-byte This document changes the definition to always encode 1-byte
Recommended Cache Time values in the compact relative time value Recommended Cache Time values in the compact relative time value
representation (see Figure 5). representation (see Figure 5). For any other length, Recommended
Cache Times are encoded as described in Section 3.4.2 of [RFC8609].
1 2 3 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
+---------------+---------------+---------------+---------------+ +---------------+---------------+---------------+---------------+
| T_CACHETIME | Length = 1 | | T_CACHETIME | Length = 1 |
+---------------+---------------+---------------+---------------+ +---------------+---------------+---------------+---------------+
| COMPACT_TIME | | COMPACT_TIME |
+---------------+ +---------------+
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
+---------------+---------------+---------------+---------------+
| T_CACHETIME | Length = 8 |
+---------------+---------------+---------------+---------------+
/ /
/ Recommended Cache Time /
/ /
+---------------+---------------+---------------+---------------+
Figure 5: New definition of the Recommended Cache Time TLV. Figure 5: Changes to the definition of the Recommended Cache Time
TLV.
The packet processing is adapted to calculate an absolute time from The packet processing is adapted to calculate an absolute time from
the relative time code based on the absolute reception time. On the relative time code based on the absolute reception time. On
transmission, a new relative time code is calculated based on the transmission, a new relative time code is calculated based on the
current system time. current system time.
6. IANA Considerations 6. IANA Considerations
This document has no IANA actions. This document has no IANA actions.
 End of changes. 6 change blocks. 
22 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.48.