30 auto mark = this->getTag<lp::CongestionMarkTag>();
31 return mark ? *mark : 0;
38 this->
setTag(make_shared<lp::CongestionMarkTag>(mark));
41 this->removeTag<lp::CongestionMarkTag>();
void setCongestionMark(uint64_t mark)
Set the CongestionMark tag to the specified value.
uint64_t getCongestionMark() const
Get the value of the CongestionMark tag.
void setTag(std::shared_ptr< T > tag) const
Set (add or replace) a tag item.