L4PortTag.msg

Msg File src/inet/transportlayer/common/L4PortTag.msg

Name Type Description
L4PortTagBase class (no description)
L4PortReq class

Determines the source and destination L4 ports for an outgoing packet.

L4PortInd class

Specifies the source and destination L4 ports 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 L4PortTagBase extends TagBase
{
    int srcPort = -1;      // may be unspecified
    int destPort = -1;     // may be unspecified
}

//
// Determines the source and destination L4 ports for an outgoing packet.
//
class L4PortReq extends L4PortTagBase
{
}

//
// Specifies the source and destination L4 ports for an incoming packet.
//
class L4PortInd extends L4PortTagBase
{
}