22 #ifndef NDN_CONGESTION_MARK_LITE_HPP
23 #define NDN_CONGESTION_MARK_LITE_HPP
25 #include "../../c/lp/congestion-mark-types.h"
uint64_t getCongestionMark() const
Get the congestion mark value.
Definition: congestion-mark-lite.hpp:48
Definition: lp-packet-lite.hpp:95
Copyright (C) 2018 Regents of the University of California.
Definition: congestion-mark-types.h:33
static CongestionMarkLite & downCast(ndn_CongestionMark &congestionMark)
Downcast the reference to the ndn_CongestionMark struct to an CongestionMarkLite. ...
Definition: congestion-mark-lite.hpp:73
void setCongestionMark(uint64_t congestionMark)
Set the congestion mark value.
Definition: congestion-mark-lite.hpp:55
uint64_t congestionMark
0 if not specified.
Definition: congestion-mark-types.h:34
CongestionMarkLite represents the congestion mark header field in an NDNLPv2 packet.
Definition: congestion-mark-lite.hpp:36
CongestionMarkLite()
Create a CongestionMarkLite where all the values are unspecified.
Definition: congestion-mark-lite.cpp:28
static const CongestionMarkLite * getFirstHeader(const LpPacketLite &lpPacket)
Get the first header field in lpPacket which is a CongestionMarkLite.
Definition: congestion-mark-lite.cpp:34