📄 swigmp.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: swigmp.h
*
* Purpose: IGMP functions
*
* Author: Tevin Chen
*
* Date: Jan 08, 2002
*
*/
#ifndef __SWIGMP_H__
#define __SWIGMP_H__
#if !defined(__TTYPE_H__)
#include "ttype.h"
#endif
/*--------------------- Export Definitions ------------------------*/
#define PTN_FWD_IP_MCAST_ENABLE 0x01
#define PTN_FWD_IP_CAPTURE_ICMP 0x0003
#define PTN_FWD_IP_CAPTURE_IGMP 0x0008
#define PTN_FWD_IP_CAPTURE_TCP 0x0030
#define PTN_FWD_IP_CAPTURE_CBT 0x00C0
#define PTN_FWD_IP_CAPTURE_UDP 0x0300
#define PTN_FWD_IP_CAPTURE_OSPF 0x0C00
#define PTN_FWD_IP_CAPTURE_PIM2 0x3000
#define PTN_FWD_IP_CAPTURE_OTHERS 0xC000
//#define FWD_IP_CAPTURE_IGMP_FWD_CPU 0x0004
// Modify for CPU only receipt
#define FWD_IP_CAPTURE_IGMP_FWD_CPU 0x0008
#define FWD_IP_CAPTURE_OSPF_FWD_CPU 0x0400
#define FWD_IP_CAPTURE_PIM2_FWD_CPU 0x1000
/*--------------------- Export Types ------------------------------*/
/*--------------------- Export Macros -----------------------------*/
/*--------------------- Export Classes ----------------------------*/
/*--------------------- Export Variables --------------------------*/
/*--------------------- Export Functions --------------------------*/
#ifdef __cplusplus
extern "C" { /* Assume C declarations for C++ */
#endif /* __cplusplus */
BOOL SWIGMP_bInit(void);
BOOL SWIGMP_bSetIgmpEbl(BOOL bIgmpEbl);
BOOL SWIGMP_bGetIgmpEbl(BOOL* pbIgmpEbl);
#ifdef __cplusplus
} /* End of extern "C" { */
#endif /* __cplusplus */
#endif // __SWIGMP_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -