Ieee802SapTag.msg

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

Name Type Description
SapCode enum

Some 8-bit SAP values for IEEE 802.x LLC headers.

Ieee802SapTagBase class (no description)
Ieee802SapReq class (no description)
Ieee802SapInd class (no description)

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;

//
// Some 8-bit SAP values for IEEE 802.x LLC headers.
//
enum SapCode
{
    SAP_IBM_SNA = 0x04;
    SAP_IP = 0x06;
    SAP_3COM = 0x80;
    SAP_SNAP = 0xAA;
    SAP_BANYAN = 0xBC;
    SAP_NOVELL_IPX = 0xE0;
    SAP_LAN_MANAGER = 0xF4;
    SAP_CLNS = 0xFE;
    SAP_STP = 0x42;
}

class Ieee802SapTagBase extends TagBase
{
    int ssap = -1;        // used with IEEE 802 LLC (see ~EtherFrameWithLlc)
    int dsap = -1;        // used with IEEE 802 LLC (see ~EtherFrameWithLlc)
}

class Ieee802SapReq extends Ieee802SapTagBase
{
}

class Ieee802SapInd extends Ieee802SapTagBase
{
}