Project

General

Profile

Actions

Task #4449

closed

Add getCongestionMark to Data class

Added by Anonymous almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
01/10/2018
Due date:
% Done:

100%

Estimated time:

Description

Add a method getCongestionMark() to the Data class to expose the congestion mark from the LP header. In C++

uint64_t getCongestionMark() const;

If the LP header doesn't have a congestion mark, return 0 (for no congestion).

LP header details: https://redmine.named-data.net/projects/nfd/wiki/NDNLPv2

Actions #1

Updated by Davide Pesavento almost 7 years ago

CongestionMark can appear in all types of packet, not just Data.

Actions #2

Updated by Anonymous almost 7 years ago

Does NFD add a congestion mark to a network Nack?

Actions #3

Updated by Anonymous almost 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

In NDN-CPP pushed changes to master for Data::getCongestionMark().

Actions #4

Updated by Davide Pesavento almost 7 years ago

Jeff Thompson wrote:

Does NFD add a congestion mark to a network Nack?

Potentially, yes. The algorithm that will be added in #4362 works with LpPackets, so it can mark any packet.

Actions #5

Updated by Anonymous over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Changes merged to master in all libraries.

Actions

Also available in: Atom PDF