ns-3
|
Classes | |
struct | TagData |
Public Member Functions | |
PacketTagList (PacketTagList const &o) | |
PacketTagList & | operator= (PacketTagList const &o) |
void | Add (Tag const &tag) const |
bool | Remove (Tag &tag) |
bool | Peek (Tag &tag) const |
void | RemoveAll (void) |
struct PacketTagList::TagData * | Head (void) const |
bool ns3::PacketTagList::Remove | ( | Tag & | tag | ) |
XXX Note: I believe that we could optimize this to avoid copying each TagData located after the target id and just link the already-copied list to the next tag.
References ns3::Tag::Deserialize(), ns3::ObjectBase::GetInstanceTypeId(), NS_LOG_FUNCTION, and PACKET_TAG_MAX_SIZE.
Referenced by ns3::Packet::RemovePacketTag().