new CongestionMark()
CongestionMark represents the congestion mark header field in an NDNLPv2
packet.
http://redmine.named-data.net/projects/nfd/wiki/NDNLPv2
- Source:
Methods
(static) getFirstHeader(lpPacket) → {CongestionMark}
Get the first header field in lpPacket which is a CongestionMark. This is
an internal method which the application normally would not use.
Parameters:
Name | Type | Description |
---|---|---|
lpPacket |
LpPacket | The LpPacket with the header fields to search. |
- Source:
Returns:
The first CongestionMark header field, or null if
not found.
- Type
- CongestionMark
getCongestionMark() → {number}
Get the congestion mark value.
- Source:
Returns:
The congestion mark value.
- Type
- number
setCongestionMark(congestionMark)
Set the congestion mark value.
Parameters:
Name | Type | Description |
---|---|---|
congestionMark |
number | The congestion mark ID value. |
- Source: