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

📄 fnsrip.h

📁 用于嵌入式系统的TCP/IP协议栈及若干服务
💻 H
字号:
/**            Copyright (c) 1998-2001 by NETsilicon Inc.**  This software is copyrighted by and is the sole property of*  NETsilicon.  All rights, title, ownership, or other interests*  in the software remain the property of NETsilicon.  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 Copyright notice may not be removed or modified without prior*  written consent of NETsilicon.**  NETsilicon, reserves the right to modify this software*  without notice.**  NETsilicon*  411 Waverley Oaks Road                  USA 781.647.1234*  Suite 227                               http://www.netsilicon.com*  Waltham, MA 02452                       AmericaSales@netsilicon.com***************************************************************************  $Name: Fusion 6.52 Fusion 6.51 $*  $Date: 2001/11/27 09:03:35 $                                        *  $Source: M:/psisrc/routing/incl/rcs/fnsrip.h $                                      *  $Revision: 1.13 $                                    ****************************************************************************  File Description: Include file for Fusion RIP API.***************************************************************************/#ifndef __FNSRIP_H__#define __FNSRIP_H__/* Per-Interface configuration possibilities for talk and listen */typedef struct _rip_if_config{    u8 talk_version;    u8 talk_state;    u8 listen_version;    u8 listen_state;	u8 auth_type; /* New in Fusion 6 */	u8 auth_key[16]; /* "" */ }rip_if_config;#define RIP_TALK_STATE_ENABLED        1#define RIP_TALK_STATE_DISABLED       2#define RIP_TALK_STATE_NOCHANGE       3#define RIP_TALK_VERSION_1            4#define RIP_TALK_VERSION_2            5#define RIP_TALK_VERSION_1_COMPAT     6#define RIP_TALK_VERSION_NOCHANGE     7#define RIP_LISTEN_STATE_ENABLED      8#define RIP_LISTEN_STATE_DISABLED     9#define RIP_LISTEN_STATE_NOCHANGE     10#define RIP_LISTEN_VERSION_1          11#define RIP_LISTEN_VERSION_2          12#define RIP_LISTEN_VERSION_NOCHANGE   13#define RIP_AUTHTYPE_NONE			  14 #define RIP_AUTHTYPE_SIMPLE			  15#define RIP_AUTHTYPE_NOCHANGE		  0 /* For backward compatability we hope *//* Command to configure RIP on a particular interface.  See rip_if_config   structure above and manifest constants below it.*/export int rip_configure_interface(char *devname, rip_if_config *rinfo );/* Command to get the RIP configuration of an interface.  See rip_if_config   structure above and manifest constants below it.*/export int rip_get_interface_info(char *devname, rip_if_config *rinfo, int len);/* Command to globally (all interfaces) enable/disable RIP */export int rip_admin_enable(int adminstate);export int rip_do_configure_interface( int cid, rip_if_config *rinfo );export int rip_do_get_interface_info( int cid, rip_if_config *rinfo );/* Called with one of :                 */#define RIP_ADMIN_ENABLE        15#define RIP_ADMIN_DISABLE       16/* Command to get the global admin state of RIP */extern int rip_get_admin_state(void);/* Returns one of                     */#define RIP_IS_ENABLED          17#define RIP_IS_DISABLED         18#endif

⌨️ 快捷键说明

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