Project

General

Profile

Actions

Feature #4527

closed

Decode v0.3 Interest format and interpret as v0.2

Added by Junxiao Shi over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
4.50 h

Description

NDN Packet Format v0.3 is introducing a new Interest packet format.
Compared to v0.2.1 packet format, the differences are:

  • Optional CanBePrefix and MustBeFresh elements are added after Name.
  • Nonce becomes optional.
  • ForwardingHint is moved before Nonce and InterestLifetime.
  • Optional HopLimit and Parameters elements are added after InterestLifetime.

This issue changes ndn::Interest class to recognize v0.3 format, and interpret it as v0.2 semantics.
Encoder continues to emit v0.2 format, and remains unchanged under this issue.
As part of Packet03Transition, this is an interim step for a forwarder or application to receive Interest v0.3 without any changes.


Related issues 2 (0 open2 closed)

Blocked by NDN Specifications - Feature #4441: Replace MinSuffixComponents and MaxSuffixComponents with CanBePrefix flagClosedAlex Afanasyev

Actions
Blocks NFD - Task #4564: Release 0.6.2ClosedAlex Afanasyev05/04/2018

Actions
Actions

Also available in: Atom PDF