30 auto mark = this->getTag<lp::CongestionMarkTag>();
32 if (mark ==
nullptr) {
44 auto tag = make_shared<lp::CongestionMarkTag>(mark);
48 this->removeTag<lp::CongestionMarkTag>();
void setTag(shared_ptr< T > tag) const
set a tag item
uint64_t getCongestionMark() const
get the value of the CongestionMark tag
void setCongestionMark(uint64_t mark)
set the CongestionMark tag to the specified value