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>();
Copyright (c) 2013-2017 Regents of the University of California.
uint64_t getCongestionMark() const
get the value of the CongestionMark tag
void setTag(shared_ptr< T > tag) const
set a tag item
void setCongestionMark(uint64_t mark)
set the CongestionMark tag to the specified value