IdentityTag

Namespace inet

IdentityTag

class

This tag provides a bit level identity for binary data. It must attached to a packet or chunk as a region tag. The identity of a bit in the region can be calculated by adding the offset of said bit to the identityStart field of the tag.

The tag is split and merged automatically when the data is split or merged. This allows one to have an effective globally unique identity for each bit in the simulation. This tag allows following the bits in the network through the whole lifetime of the simulation.

Extends

Name Type Description
TagBase (unknown -- not in documented files)

Fields

Name Type Description
identityStart uint64_t

Region Tagging operations (observed)

tagActionmodule
addTagActivePacketSource, PassivePacketSource

Source code

//
// This tag provides a bit level identity for binary data. It must attached to
// a packet or chunk as a region tag. The identity of a bit in the region can be
// calculated by adding the offset of said bit to the identityStart field of the
// tag.
//
// The tag is split and merged automatically when the data is split or merged.
// This allows one to have an effective globally unique identity for each bit
// in the simulation. This tag allows following the bits in the network through
// the whole lifetime of the simulation.
//
class IdentityTag extends TagBase
{
    uint64_t identityStart = -1;
}

File: src/inet/common/IdentityTag.msg