Class IPRoutingDecision

File: src/networklayer/contract/IPControlInfo.msg

Control info attached to packets sent from IP to ARP.

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. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Fields:

Name Type Description
interfaceId int

interface on which dgram should be sent (see InterfaceTable)

nextHopAddr IPAddress

Source code:

//
// Control info attached to packets sent from IP to ARP.
//
// 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 IPRoutingDecision
{
    int interfaceId = -1; // interface on which dgram should be sent (see InterfaceTable)
    IPAddress nextHopAddr;
}