30 auto mark = this->getTag<lp::CongestionMarkTag>();
32 if (mark ==
nullptr) {
44 auto tag = make_shared<lp::CongestionMarkTag>(mark);
45 this->
setTag(std::move(tag));
48 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(shared_ptr< T > tag) const
set a tag item