MSG File src/inet/networklayer/common/HopLimitTag.msg¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
|
class |
Determines the initial hop count (time to live, ttl) for an outgoing packet. |
|
class |
Specifies the remainder hop count (time to live, ttl) for an incoming packet. |
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 HopLimitTagBase extends TagBase
{
int hopLimit = -1;
}
//
// Determines the initial hop count (time to live, ttl) for an outgoing packet.
//
class HopLimitReq extends HopLimitTagBase
{
}
//
// Specifies the remainder hop count (time to live, ttl) for an incoming packet.
//
class HopLimitInd extends HopLimitTagBase
{
}