⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cfgstr.c

📁 vt6528芯片交换机API函数和文档运行程序
💻 C
字号:
/*
 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
 * All rights reserved.
 *
 * This software is copyrighted by and is the sole property of
 * VIA Networking Technologies, Inc. This software may only be used
 * in accordance with the corresponding license agreement. Any unauthorized
 * use, duplication, transmission, distribution, or disclosure of this
 * software is expressly forbidden.
 *
 * This software is provided by VIA Networking Technologies, Inc. "as is"
 * and any express or implied warranties, including, but not limited to, the
 * implied warranties of merchantability and fitness for a particular purpose
 * are disclaimed. In no event shall VIA Networking Technologies, Inc.
 * be liable for any direct, indirect, incidental, special, exemplary, or
 * consequential damages.
 *
 *
 * File:    cfgstr.c
 *
 * Purpose: Configuration string definition for all pages
 *
 * Author:  Jenda Jao
 *
 * Date:    Jan 08, 2002
 *
 * Functions:
 *
 * Revision History:
 *
 */


#include "ttype.h"




/*---------------------  Static Definitions -------------------------*/

/*---------------------  Static Classes  ----------------------------*/

/*---------------------  Static Variables  --------------------------*/

/*---------------------  Static Functions  --------------------------*/

/*---------------------  Export Variables  --------------------------*/
PSTR g_aszEnDisCfg[] = {
    "Disable",
    "Enable ",
    "-------"
};

PSTR g_aszMbrNotCfg[] = {
    "------",
    "Member"
};

PSTR g_aszMonitorNotCfg[] = {
    "---------",
    "Monitored"
};

PSTR g_aszOnOffCfg[] = {
    "Off",
    "On ",
    "---"   // for port status only
};


PSTR g_aszSpdDpxCfg[] = {
    "Auto ",
    "100F ",
    "100H ",
    "10F  ",
    "10H  ",
    "1000F",
    "1000H",
    "-----"
};

PSTR g_aszStaticPortPriorCfg[] = {
    "Off",
    "0  ",
    "1  ",
    "2  ",
    "3  ",
    "4  ",
    "5  ",
    "6  ",
    "7  "
};

PSTR g_aszPortLinkDownUp[] = {
    "Down",
    "Up  ",
    "----"      // for port status only
};

PSTR g_aszVlanModeCfg[] = {
    "Disable      ",
    "PortBased    ",
    "802.1Q       ",
#ifdef __PRTCL_VLAN_REMOVE
#else
    "ProtocolBased"
#endif
};

PSTR g_aszVlanMbrCfg[] = {
    "--------",
    "Untagged",
    "Tagged  "
};

PSTR g_aszTagDropFwd[] = {
    "Forward",
    "Drop   "
};

PSTR g_aszSniffModeCfg[] = {
    "Disable",
    "RX     ",
    "TX     ",
    "RX & TX"
};

PSTR g_aszAutoAging[] = {
    "Disable",
    "150 sec",
    "300 sec",
    "600 sec",
};

PSTR g_aszQosMode[] = {
    "Disable QoS Priority                      ",
    "High Empty Then Low                       ",
    "Highest:SecHigh:SecLow:Lowest = 8:4:2:1   ",
    "Highest:SecHigh:SecLow:Lowest = 15:7:3:1  ",
    "Highest:SecHigh:SecLow:Lowest = 15:10:5:1 "
};

PSTR g_aszLoHiCfg[] = {
    "Lowest ",
    "SecLow ",
    "SecHigh",
    "Highest"
};

PSTR g_aszBSFMode[] = {
    "1/2 ",
    "1/4 ",
    "1/8 ",
    "1/16",
    "Off "
};

PSTR g_aszAutoLogoutTime[] = {
    "Never",
    "5 min",
    "10min",
    "20min",
};

PSTR g_aszMacHashMode[] = {
    "CRC Hash  ",
    "Direct Map",
};

PSTR g_aszTrkGrpSel[] =
{
    "--- --- --- ----",
    "v-- --- --- ----",
    "-v- --- --- ----",
    "--v --- --- ----",
    "--- v-- --- ----",
    "--- -v- --- ----",
    "--- --v --- ----",
    "--- --- v-- ----",
    "--- --- -v- ----",
    "--- --- --v ----",
    "--- --- --- v---",
    "--- --- --- -v--",
    "--- --- --- --v-",
    "--- --- --- ---v",
};

PSTR g_aszSTPPortStateSel[] =
{
    "DISABLED  ",
    "BLOCKING  ",
    "LEARNING  ",
    "FORWARDING",
    "LISTENING "
};

PSTR g_aszStpMstpSel[] =
{
    "Disable ",
    "STP     ",
    "MSTP    "
};

//protocol vlan - frame format
PSTR g_aszPRVTBFrameSel[] =
{
    "Ethernet or LLC others",
    "RFC 1042              ",
    "SNAP 802.1H           ",
    "SNAP others           "
};

//protocol vlan - protocol index
PSTR g_aszPRVTBProIndexSel[] =
{
    "None                                 ",
    "IP                                   ",
    "ARP                                  ",
    "AppleTalk/NetBIOS                    ",
    "AppleTalk AARP/IOS Network Layer PDU ",
    "Novell IPX                           ",
    "Banyan VINES/Novell IPX(Raw Ethernet)",
    "Banyan VINES/STP BPDU                ",
    "Banyan VINES/Null SAP                ",
    "DECnet MOP                           ",
    "DECnet MOP                           ",
    "DECnet DPR                           ",
    "DECnet LAT                           ",
    "DECnet LAVC                          ",
    "IBM SNA                              ",
    "X.75 Internet                        ",
    "X.25 Layer3                          "
};

PSTR g_aszModulePortName[] = {
    "M1    ",
    "M1-GTX",
    "M1-GFX",
    "M1-GFX",
    "M1-TX ",
    "M1-FX ",
    "M1-FX ",
    "M1-MII",
    "M1-COB",

    "M2    ",
    "M2-GTX",
    "M2-GFX",
    "M2-GFX",
    "M2-TX ",
    "M2-FX ",
    "M2-FX ",
    "M2-MII",
    "M2-COB",
};


//Added by timfeng
//For ACL group configuration
PSTR g_aszACLIfAnySel[] = {
    "Any    ",
    "Specify"
};
PSTR g_aszACLEntryAction[] = {
    "Permit",
    "Deny  "    
};
PSTR g_aszACLEntryFrag[] = {
    "Uncheck",
    "Check  "
};
PSTR g_aszL4Proto[] = {
    "Any     ",	
    "ICMP(1) ",
    "IGMP(2) ",
    "TCP(6)  ",
    "UDP(17) "
};
PSTR g_aszTCPPort[] = {
    "Any     ",	
    "FTP(21) ",
    "HTTP(80)"
};

PSTR g_aszUDPPort[] = {
    "Any     ",	
    "TFTP(69)"
};

PSTR g_aszEthType[]={
    "Any        ",
    "ARP(0x0806)",    
    "IPX(0x8137)"    
};

PSTR g_aszSMACFltModeSel[] = {
    "Disable",
    "Permit ",
    "Deny   "
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -