InterfaceTag.msg

Msg File src/inet/linklayer/common/InterfaceTag.msg

Name Type Description
InterfaceTagBase class (no description)
InterfaceReq class

Determines the outgoing interface where the packet should leave the network node.

InterfaceInd class

Specifies the incoming interface where the packet has arrived at the network node.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//

import inet.common.INETDefs;
import inet.common.TagBase;

namespace inet;

class InterfaceTagBase extends TagBase
{
    int interfaceId = -1; // a locally unique (network node) identifier that determines the interface registered in the ~InterfaceTable
}

//
// Determines the outgoing interface where the packet should leave the network node.
//
class InterfaceReq extends InterfaceTagBase
{
}

//
// Specifies the incoming interface where the packet has arrived at the network node.
//
class InterfaceInd extends InterfaceTagBase
{
}