Davide Pesavento | 23e340c | 2021-12-03 04:52:22 -0500 | [diff] [blame] | 1 | .. _Link: |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 2 | |
| 3 | Link Object |
Davide Pesavento | ec288fe | 2022-11-26 18:28:01 -0500 | [diff] [blame] | 4 | =========== |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 5 | |
Davide Pesavento | 23e340c | 2021-12-03 04:52:22 -0500 | [diff] [blame] | 6 | The Link Object is a specialized form of a :ref:`Data packet <Data>`, defined as follows:: |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 7 | |
Junxiao Shi | 78ce295 | 2019-05-07 15:34:00 -0400 | [diff] [blame] | 8 | LinkObject = DATA-TYPE TLV-LENGTH |
| 9 | Name |
| 10 | MetaInfo ; ContentType == LINK |
| 11 | LinkContent |
| 12 | Signature |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 13 | |
Alexander Afanasyev | 9fba5f4 | 2021-12-21 12:40:17 -0500 | [diff] [blame] | 14 | LinkContent = CONTENT-TYPE TLV-LENGTH 1*Name |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 15 | |
| 16 | |
Alexander Afanasyev | 9fba5f4 | 2021-12-21 12:40:17 -0500 | [diff] [blame] | 17 | Link Object is a data packet, whose content is a list of one or more names (formerly known as "delegations"). |
| 18 | The LinkObject can be used to derive the ``ForwardingHint`` of an Interest packet. |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 19 | |
Alexander Afanasyev | 9fba5f4 | 2021-12-21 12:40:17 -0500 | [diff] [blame] | 20 | The list of Names in ``LinkContent`` SHOULD be ordered by the producer's preference, with the most preferred by the producer listed first. |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 21 | |
Alexander Afanasyev | 9fba5f4 | 2021-12-21 12:40:17 -0500 | [diff] [blame] | 22 | In a LinkContent, each listed Name SHOULD be distinct. |