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

📄 swmsg.h

📁 VIA VT6524 8口网管交换机源码
💻 H
字号:
/*
 * 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:    swmsg.h
 *
 * Purpose: Encode of switch API reported messages
 *
 * Author:  Tevin Chen
 *
 * Date:    Jan 08, 2002
 *
 */


#ifndef __SWMSG_H__
#define __SWMSG_H__




/*---------------------  Export Definitions  ------------------------*/
enum {
    // Operation completed successfully
    OP_OK,
    PORT_OP_WRONG_AUTO_ABY,

    // Trunk module error code
    TRK_OP_MBR_NUM_INVALID,
    TRK_OP_MBR_DIFF_VLAN_CFG,
    TRK_OP_MBR_DIFF_8021Q_INGS,
    TRK_OP_MBR_IS_MONITORING,
    TRK_OP_MBR_DIFF_MONITORED,
    TRK_OP_MBR_DIFF_PORT_CFG,
    TRK_OP_MBR_DIFF_RATE_CFG,

    // Sniffer module error code
    SNIFF_OP_DEST_AND_SRC_OVERLAP,
    SNIFF_OP_ALL_PORT_TRUNKED,

    // Administrator module error code
    ADMIN_OP_DIFF_AGAIN_PASSWORD,

#ifdef __MODULE_WEB_SMART
    IPCONF_OP_INVALID_IP,
    IPCONF_OP_INVALID_SUBNET,
    IPCONF_OP_INVALID_GATEWAY,
#endif

    // VLAN module error code
    VLAN_OP_VID_INVALID,
    VLAN_OP_GRP_EXIST,
    VLAN_OP_GRP_NOT_EXIST,
    VLAN_OP_NO_EMPTY_GRP,
    VLAN_OP_DEFAULT_GRP_CANNOT_DEL,
    VLAN_OP_UNTAG_BELONG_OTHER_GRP,
    VLAN_OP_NOT_8021Q_MODE,
    VLAN_OP_FOUND_ISO_PORT
};

/*---------------------  Export Types  ------------------------------*/

/*---------------------  Export Macros  -----------------------------*/

/*---------------------  Export Classes  ----------------------------*/

/*---------------------  Export Variables  --------------------------*/

/*---------------------  Export Functions  --------------------------*/




#endif /* __SWMSG_H__ */

⌨️ 快捷键说明

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