blob: 65444a313ba38564e4f062ee94b0c7556ea2dfd8 [file] [log] [blame]
Davide Pesavento23e340c2021-12-03 04:52:22 -05001.. _Link:
spirosmastorakis988e7412016-10-27 14:01:59 -07002
3Link Object
Davide Pesaventoec288fe2022-11-26 18:28:01 -05004===========
spirosmastorakis988e7412016-10-27 14:01:59 -07005
Davide Pesavento23e340c2021-12-03 04:52:22 -05006The Link Object is a specialized form of a :ref:`Data packet <Data>`, defined as follows::
spirosmastorakis988e7412016-10-27 14:01:59 -07007
Junxiao Shi78ce2952019-05-07 15:34:00 -04008 LinkObject = DATA-TYPE TLV-LENGTH
9 Name
10 MetaInfo ; ContentType == LINK
11 LinkContent
12 Signature
spirosmastorakis988e7412016-10-27 14:01:59 -070013
Alexander Afanasyev9fba5f42021-12-21 12:40:17 -050014 LinkContent = CONTENT-TYPE TLV-LENGTH 1*Name
spirosmastorakis988e7412016-10-27 14:01:59 -070015
16
Alexander Afanasyev9fba5f42021-12-21 12:40:17 -050017Link Object is a data packet, whose content is a list of one or more names (formerly known as "delegations").
18The LinkObject can be used to derive the ``ForwardingHint`` of an Interest packet.
spirosmastorakis988e7412016-10-27 14:01:59 -070019
Alexander Afanasyev9fba5f42021-12-21 12:40:17 -050020The list of Names in ``LinkContent`` SHOULD be ordered by the producer's preference, with the most preferred by the producer listed first.
spirosmastorakis988e7412016-10-27 14:01:59 -070021
Alexander Afanasyev9fba5f42021-12-21 12:40:17 -050022In a LinkContent, each listed Name SHOULD be distinct.