MSG File src/inet/linklayer/common/InterfaceTag.msg¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
|
class |
Determines the outgoing interface where the packet should leave the network node. |
|
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
{
}