Project

General

Profile

Actions

Task #4449

closed

Add getCongestionMark to Data class

Added by Anonymous over 6 years ago. Updated about 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

Also available in: Atom PDF