📄 cfgstr.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 --------------------------*/
DIRECT_MEMTYPE_CODE PSTR g_aszEnDisCfg[] = {
"Disable",
"Enable ",
#ifndef __ASIC_VT6524
"-------"
#endif
};
DIRECT_MEMTYPE_CODE PSTR g_aszMbrNotCfg[] = {
"------",
"Member"
};
DIRECT_MEMTYPE_CODE PSTR g_aszMonitorNotCfg[] = {
"---------",
"Monitored"
};
DIRECT_MEMTYPE_CODE PSTR g_aszOnOffCfg[] = {
"Off",
"On ",
"---" // for port status only
};
#ifndef __ASIC_VT6524
DIRECT_MEMTYPE_CODE PSTR g_aszSpdDpxCfg[] = {
"Auto ",
"100F ",
"100H ",
"10F ",
"10H ",
"1000F",
"1000H",
"-----"
};
#else
DIRECT_MEMTYPE_CODE PSTR g_aszSpdDpxCfg[] = {
"Auto",
"100F",
"100H",
"10F ",
"10H ",
"----" // for port status only
};
#endif
DIRECT_MEMTYPE_CODE PSTR g_aszStaticPortPriorCfg[] = {
"Off ",
"Low ",
"High"
};
DIRECT_MEMTYPE_CODE PSTR g_aszPortLinkDownUp[] = {
"Down",
"Up ",
"----" // for port status only
};
DIRECT_MEMTYPE_CODE PSTR g_aszVlanModeCfg[] = {
"Disable ",
"PortBased",
"802.1Q "
};
DIRECT_MEMTYPE_CODE PSTR g_aszVlanMbrCfg[] = {
"--------",
"Tagged ",
"Untagged"
};
DIRECT_MEMTYPE_CODE PSTR g_aszTagDropFwd[] = {
"Forward",
"Drop "
};
DIRECT_MEMTYPE_CODE PSTR g_aszSniffModeCfg[] = {
"Disable",
"RX ",
"TX ",
"RX & TX"
};
DIRECT_MEMTYPE_CODE PSTR g_aszAutoAging[] = {
"Disable",
"150 sec",
"300 sec",
"600 sec",
};
DIRECT_MEMTYPE_CODE PSTR g_aszQosMode[] = {
"Disable QoS Priority",
"High Empty Then Low ",
"High : Low = 3 : 1 ",
"High : Low = 5 : 1 ",
"High : Low = 7 : 1 "
};
DIRECT_MEMTYPE_CODE PSTR g_aszLoHiCfg[] = {
"Low ",
"High"
};
DIRECT_MEMTYPE_CODE PSTR g_aszBSFMode[] = {
"Off",
"5% ",
"10%",
"20%",
};
DIRECT_MEMTYPE_CODE PSTR g_aszAutoLogoutTime[] = {
"Never",
"5 min",
"10min",
"20min",
};
DIRECT_MEMTYPE_CODE PSTR g_aszMacHashMode[] = {
"CRC Hash ",
"Direct Map",
};
DIRECT_MEMTYPE_CODE PSTR g_aszTrkGrpSel[] =
{
"- - - - - - -",
"v - - - - - -",
"- v - - - - -",
"- - v - - - -",
"- - - v - - -",
"- - - - v - -",
"- - - - - v -",
"- - - - - - v"
};
#ifndef __ASIC_VT6524
DIRECT_MEMTYPE_CODE PSTR g_aszModulePortName[] = {
"M1 ",
"M1-GTX",
"M1-GFX",
"M1-GFX",
"M1-TX ",
"M1-FX ",
"M1-FX ",
"M2 ",
"M2-GTX",
"M2-GFX",
"M2-GFX",
"M2-TX ",
"M2-FX ",
"M2-FX ",
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -