Class GenericRoutingDecision

File: src/inet/networklayer/contract/generic/GenericNetworkProtocolControlInfo.msg

C++ definition

Control info attached to packets sent from GenericNetworkProtocol to GenericARP.

Next hop address is used on a LAN to determine the MAC destination address (and it may be used on other multicast networks for similar addressing purpose).

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Fields:

Name Type Description
interfaceId int
nextHop L3Address

Source code:

//
// Control info attached to packets sent from ~GenericNetworkProtocol to ~GenericARP.
//
// Next hop address is used on a LAN to determine the MAC destination
// address (and it may be used on other multicast networks for similar
// addressing purpose).
//
class GenericRoutingDecision
{
    int interfaceId = -1;
    L3Address nextHop;
}