//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: gsmpport.h
//
//Version: $Revision: 1.12 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/12/10 10:27:00 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Harri Sunila
//
//Description:
//      Definition for a port in a GSMP Switch.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __GSMP_GSMPPORT_H__
#define __GSMP_GSMPPORT_H__

#include "gsmpdefs.h"

class gsmpPort
{
    public:
        // Definitions for different port statuses.
        static const pfByte GSMP_PORT_AVAILABLE = 1;
        static const pfByte GSMP_PORT_UNAVAILABLE = 2;
        static const pfByte GSMP_PORT_INTERNAL_LOOPBACK = 3;
        static const pfByte GSMP_PORT_EXTERNAL_LOOPBACK = 4;
        static const pfByte GSMP_PORT_BOTHWAY_LOOPBACK = 5;

        // Definitions for different line statuses
        static const pfByte GSMP_LINE_UP = 1;
        static const pfByte GSMP_LINE_DOWN = 2;
        static const pfByte GSMP_LINE_TEST = 3;

        // Definitions for different physical port types. Defined in RFC 1573.

        static const pfByte GSMP_IF_OTHER = 1;
        static const pfByte GSMP_IF_E1 = 18; // 2 Mbs twisted pair (E1/DS-1)
        static const pfByte GSMP_IF_E3 = 30; // 34 Mbs coaxial cable (E3/DS-3)
        static const pfByte GSMP_IF_SDH = 39; // 155 Mbs optical fiber (STM-1)
        //static const pfByte GSMP_IF_TAXI =  // 100 Mbs optical fiber (TAXI)

};

#endif // __GSMP_GSMPPORT_H__
