CongestionMark represents the congestion mark header field in an NDNLPv2 packet. More...
#include <congestion-mark.hpp>
Public Member Functions | |
| CongestionMark () | |
| Create a CongestionMark where all the values are unspecified. | |
| virtual | ~CongestionMark () |
| Override the virtual destructor. | |
| uint64_t | getCongestionMark () const |
| Get the congestion mark value. More... | |
| void | set (const CongestionMarkLite &congestionMarkLite) |
| Clear this CongestionMark, and set the values by copying from congestionMarkLite. More... | |
Public Member Functions inherited from ndn::LpPacketHeaderField | |
| virtual | ~LpPacketHeaderField () |
| The virtual destructor for the base class. | |
Static Public Member Functions | |
| static ptr_lib::shared_ptr < CongestionMark > | getFirstHeader (LpPacket &lpPacket) |
| Get the first header field in lpPacket which is an CongestionMark. More... | |
CongestionMark represents the congestion mark header field in an NDNLPv2 packet.
|
inline |
Get the congestion mark value.
|
static |
Get the first header field in lpPacket which is an CongestionMark.
This is an internal method which the application normally would not use.
| lpPacket | The LpPacket with the header fields to search. |
| void ndn::CongestionMark::set | ( | const CongestionMarkLite & | congestionMarkLite | ) |
Clear this CongestionMark, and set the values by copying from congestionMarkLite.
| congestionMarkLite | An CongestionMarkLite object. |
1.8.6