CongestionMarkLite represents the congestion mark header field in an NDNLPv2 packet. More...
#include <congestion-mark-lite.hpp>
Public Member Functions | |
| CongestionMarkLite () | |
| Create a CongestionMarkLite where all the values are unspecified. | |
| uint64_t | getCongestionMark () const |
| Get the congestion mark value. More... | |
| void | setCongestionMark (uint64_t congestionMark) |
| Set the congestion mark value. More... | |
Static Public Member Functions | |
| static const CongestionMarkLite * | getFirstHeader (const LpPacketLite &lpPacket) |
| Get the first header field in lpPacket which is a CongestionMarkLite. More... | |
| static CongestionMarkLite & | downCast (ndn_CongestionMark &congestionMark) |
| Downcast the reference to the ndn_CongestionMark struct to an CongestionMarkLite. More... | |
| static const CongestionMarkLite & | downCast (const ndn_CongestionMark &congestionMark) |
CongestionMarkLite represents the congestion mark header field in an NDNLPv2 packet.
|
inlinestatic |
Downcast the reference to the ndn_CongestionMark struct to an CongestionMarkLite.
| congestionMark | A reference to the ndn_CongestionMark struct. |
|
inline |
Get the congestion mark value.
|
static |
Get the first header field in lpPacket which is a CongestionMarkLite.
| lpPacket | The ndn_LpPacket struct with the header fields to search. |
|
inline |
Set the congestion mark value.
| congestionMark | The congestion mark value. |
1.8.6