piipmmod.h

来自「vt6528芯片交换机API函数和文档运行程序」· C头文件 代码 · 共 63 行

H
63
字号
/*
 * 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:    piipmmod.h
 *
 * Purpose: IGMP mode setting UI callback functions
 *
 * Author:  Freeya Lin
 *
 * Date:    Dec 17, 2003
 *
 */


#ifndef _PIIPMMOD_H
#define _PIIPMMOD_H

#include "ttype.h"
#include "pieeprom.h"


/*---------------------  Export Definitions -------------------------*/

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

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

/*---------------------  Export Macros ------------------------------*/
// Get igmp mode function
#define PIIGMP_vGetIGMPMode(pbyMode)    PIEEP_vGetCfgFromEep(EEP_ADDR_PROV_IGMP_CFG, EEP_SIZE_IGMP_MODE, pbyMode)

/*---------------------  Export Functions  --------------------------*/
// Get config from EEPROM and set into page buf
void PIIGMP_vInitPage (SIGMPPageCfg *pSPageBuf);

// Get config from EEPROM and set into hardware
void PIIGMP_vSetHwFromEep (SIGMPPageCfg *pSPageBuf);
// Set default igmp mode into EEPROM
void PIIGMP_vSetEepDefault (SIGMPPageCfg *pSPageBuf, BOOL bWriteDefault);

// Set igmp mode function
void PIIGMP_vSetIGMPMode (SIGMPPageCfg *pSPageBuf);

void PIIGMP_vClrAllEepGrp (SIGMPPageCfg *pSPageBuf, BOOL bWriteDefault);

#endif /* _PIIPMMOD_H */

⌨️ 快捷键说明

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