ProbabilisticBroadcastHeader

Namespace inet

ProbabilisticBroadcastHeader

class

(no description)

Extends

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

Fields

Name Type Description
srcAddr L3Address
destAddr L3Address
id long

Unique message ID ~ f(node address, unique number in node scope).

nbHops int
protocolId IpProtocolId
appTtl simtime_t

Message time-to-live set by application.

initialSrcAddr L3Address
finalDestAddr L3Address
payloadLengthField B

Packet operations (observed)

actionmodule
insertAtFrontAdaptiveProbabilisticBroadcast, ProbabilisticBroadcast
peekAtFrontAdaptiveProbabilisticBroadcast, ProbabilisticBroadcast
popAtFrontAdaptiveProbabilisticBroadcast, ProbabilisticBroadcast
removeAtFrontAdaptiveProbabilisticBroadcast, ProbabilisticBroadcast

Source code

class ProbabilisticBroadcastHeader extends NetworkHeaderBase
{
    L3Address srcAddr;
    L3Address destAddr;
    long id;    // Unique message ID ~ f(node address, unique number in node scope).
    int nbHops;
    IpProtocolId protocolId;
    simtime_t appTtl;   // Message time-to-live set by application.
    L3Address initialSrcAddr;
    L3Address finalDestAddr;
    B payloadLengthField;
}

File: src/inet/networklayer/probabilistic/ProbabilisticBroadcastHeader.msg